Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
aws
GitHub Repository: aws/aws-cli
Path: blob/develop/awscli/examples/directconnect/associate-hosted-connection.rst
1567 views
**To associate a hosted connection with a LAG**

The following example associates the specified hosted connection with the specified LAG.

Command::

  aws directconnect associate-hosted-connection --parent-connection-id dxlag-fhccu14t --connection-id dxcon-fg9607vm

Output::

  {
    "partnerName": "TIVIT", 
    "vlan": 101, 
    "ownerAccount": "123456789012", 
    "connectionId": "dxcon-fg9607vm", 
    "lagId": "dxlag-fhccu14t", 
    "connectionState": "ordering", 
    "bandwidth": "500Mbps", 
    "location": "TIVIT", 
    "connectionName": "mydcinterconnect", 
    "region": "sa-east-1"
  }