Data Source: awsEc2TransitGatewayConnect
Get information on an EC2 Transit Gateway Connect.
Example Usage
By Filter
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsEc2TransitGatewayConnect.DataAwsEc2TransitGatewayConnect(
this,
"example",
{
filter: [
{
name: "transport-transit-gateway-attachment-id",
values: ["tgw-attach-12345678"],
},
],
}
);
By Identifier
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsEc2TransitGatewayConnect.DataAwsEc2TransitGatewayConnect(
this,
"example",
{
transitGatewayConnectId: "tgw-attach-12345678",
}
);
Argument Reference
The following arguments are supported:
filter
- (Optional) One or more configuration blocks containing name-values filters. Detailed below.transitGatewayConnectId
- (Optional) Identifier of the EC2 Transit Gateway Connect.
filter Argument Reference
name
- (Required) Name of the filter.values
- (Required) List of one or more values for the filter.
Attribute Reference
In addition to all arguments above, the following attributes are exported:
protocol
- Tunnel protocoltags
- Key-value tags for the EC2 Transit Gateway ConnecttransitGatewayId
- EC2 Transit Gateway identifiertransportAttachmentId
- The underlaying VPC attachment
Timeouts
read
- (Default20M
)