aws.directconnect.describe_direct_connect_gateway_associations
Example SQL Queries
SELECT * FROMaws.directconnect.describe_direct_connect_gateway_associations;Description
Lists the associations between your Direct Connect gateways and virtual private gateways and transit gateways. You must specify one of the following:
A Direct Connect gateway
The response contains all virtual private gateways and transit gateways associated with the Direct Connect gateway.
A virtual private gateway
The response contains the Direct Connect gateway.
A transit gateway
The response contains the Direct Connect gateway.
A Direct Connect gateway and a virtual private gateway
The response contains the association between the Direct Connect gateway and virtual private gateway.
A Direct Connect gateway and a transit gateway
The response contains the association between the Direct Connect gateway and transit gateway.
Table Definition
| Column Name | Column Data Type |
|---|---|
| associated_gateway_id Input Column The ID of the associated gateway. | VARCHAR |
| association_id Input Column The ID of the Direct Connect gateway association. | VARCHAR |
| direct_connect_gateway_id Input Column The ID of the Direct Connect gateway. | VARCHAR |
| virtual_gateway_id Input Column The ID of the virtual private gateway. Applies only to private virtual interfaces. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| allowed_prefixes_to_direct_connect_gateway The Amazon VPC prefixes to advertise to the Direct Connect gateway. | STRUCT( |
Show child fields
| |
| associated_gateway Information about the associated gateway. | STRUCT( |
Show child fields
| |
| association_state The state of the association. The following are the possible values:
| VARCHAR |
| direct_connect_gateway_owner_account The ID of the Amazon Web Services account that owns the associated gateway. | VARCHAR |
| state_change_error The error message if the state of an object failed to advance. | VARCHAR |
| virtual_gateway_owner_account The ID of the Amazon Web Services account that owns the virtual private gateway. | VARCHAR |
| virtual_gateway_region The Amazon Web Services Region where the virtual private gateway is located. | VARCHAR |