Data Source: aws_ec2_transit_gateway_dx_gateway_attachment

Get information on an EC2 Transit Gateway's attachment to a Direct Connect Gateway.

Example Usage

By Transit Gateway and Direct Connect Gateway Identifiers

data "aws_ec2_transit_gateway_dx_gateway_attachment" "example" {
  transit_gateway_id = aws_ec2_transit_gateway.example.id
  dx_gateway_id      = aws_dx_gateway.example.id
}

Argument Reference

This data source supports the following arguments:

filter Configuration Block

The filter configuration block supports the following arguments:

Attribute Reference

This data source exports the following attributes in addition to the arguments above:

Timeouts

Configuration options: