CmdID

CmdID / aws / aws networkmanager

aws networkmanager get-customer-gateway-associations

Gets the association information for customer gateways that are associated with devices and links in your global network. AWS CLI reference

1 example 4 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To get your customer gateway associations

The following get-customer-gateway-associations example gets the customer gateway associations for the specified global network.

aws networkmanager get-customer-gateway-associations --global-network-id global-network-01231231231231231Identify
--global-network-idThe ID of the global network.
Its output
{
    "CustomerGatewayAssociations": [
        {
            "CustomerGatewayArn": "arn:aws:ec2:us-west-2:123456789012:customer-gateway/cgw-11223344556677889",
            "GlobalNetworkId": "global-network-01231231231231231",
            "DeviceId": "device-07f6fd08867abc123",
            "State": "AVAILABLE"
        }
    ]
}

For more information, see Associate a customer gateway using AWS Network Manager in the AWS Global Networks for Transit Gateways User Guide.

Options

4 in the AWS CLI reference
--customer-gateway-arnsOne or more customer gateway Amazon Resource Names (ARNs).
--global-network-idThe ID of the global network.
--max-resultsThe maximum number of results to return.
--next-tokenThe token for the next page of results.