CmdID / aws / aws networkmanager
aws networkmanager get-transit-gateway-registrations
Gets information about the transit gateway registrations in a specified global network. AWS CLI reference
1 example 4 options Its page in the AWS CLI reference
Examples
To get your transit gateway registrations
The following get-transit-gateway-registrations example gets the transit gateways that are registered to the specified global network.
aws networkmanager get-transit-gateway-registrations --global-network-id global-network-01231231231231231Identify--global-network-idThe ID of the global network.Its output
{
"TransitGatewayRegistrations": [
{
"GlobalNetworkId": "global-network-01231231231231231",
"TransitGatewayArn": "arn:aws:ec2:us-west-2:123456789012:transit-gateway/tgw-123abc05e04123abc",
"State": {
"Code": "AVAILABLE"
}
}
]
}For more information, see Transit gateway registrations in AWS Global Networks for Transit Gateways in the AWS Global Networks for Transit Gateways User Guide.
Options
--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.--transit-gateway-arnsThe Amazon Resource Names (ARNs) of one or more transit gateways.