Retrieve information about a Direct Connect Gateway.
data "aws_dx_gateway" "example" {
name = "example"
}
name
- (Required) Name of the gateway to retrieve.This data source exports the following attributes in addition to the arguments above:
amazon_side_asn
- ASN on the Amazon side of the connection.id
- ID of the gateway.owner_account_id
- AWS Account ID of the gateway.