Data Source: awsEc2TransitGatewayMulticastDomain
Get information on an EC2 Transit Gateway Multicast Domain.
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.dataAwsEc2TransitGatewayMulticastDomain.DataAwsEc2TransitGatewayMulticastDomain(
this,
"example",
{
filter: [
{
name: "transit-gateway-multicast-domain-id",
values: ["tgw-mcast-domain-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.dataAwsEc2TransitGatewayMulticastDomain.DataAwsEc2TransitGatewayMulticastDomain(
this,
"example",
{
transitGatewayMulticastDomainId: "tgw-mcast-domain-12345678",
}
);
Argument Reference
The following arguments are supported:
filter
- (Optional) One or more configuration blocks containing name-values filters. Detailed below.transitGatewayMulticastDomainId
- (Optional) Identifier of the EC2 Transit Gateway Multicast Domain.
filter Argument Reference
This block allows for complex filters. You can use one or more filter
blocks.
The following arguments are required:
name
- (Required) Name of the field to filter by, as defined by the underlying AWS API.values
- (Required) Set of values that are accepted for the given field. A multicast domain will be selected if any one of the given values matches.
Attribute Reference
In addition to all arguments above, the following attributes are exported:
id
- EC2 Transit Gateway Multicast Domain identifier.arn
- EC2 Transit Gateway Multicast Domain ARN.associations
- EC2 Transit Gateway Multicast Domain AssociationssubnetId
- The ID of the subnet associated with the transit gateway multicast domain.transitGatewayAttachmentId
- The ID of the transit gateway attachment.autoAcceptSharedAssociations
- Whether to automatically accept cross-account subnet associations that are associated with the EC2 Transit Gateway Multicast Domain.igmpv2Support
- Whether to enable Internet Group Management Protocol (IGMP) version 2 for the EC2 Transit Gateway Multicast Domain.members
- EC2 Multicast Domain Group MembersgroupIpAddress
- The IP address assigned to the transit gateway multicast group.networkInterfaceId
- The group members' network interface ID.ownerId
- Identifier of the AWS account that owns the EC2 Transit Gateway Multicast Domain.sources
- EC2 Multicast Domain Group SourcesgroupIpAddress
- The IP address assigned to the transit gateway multicast group.networkInterfaceId
- The group members' network interface ID.staticSourcesSupport
- Whether to enable support for statically configuring multicast group sources for the EC2 Transit Gateway Multicast Domain.tags
- Key-value tags for the EC2 Transit Gateway Multicast Domain.transitGatewayId
- EC2 Transit Gateway identifier.
Timeouts
read
- (Default20M
)