Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

AWS::EC2::TransitGatewayMulticastDomainAssociation

Focus mode
AWS::EC2::TransitGatewayMulticastDomainAssociation - AWS CloudFormation
Filter View

Associates the specified subnets and transit gateway attachments with the specified transit gateway multicast domain.

The transit gateway attachment must be in the available state before you can add a resource.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::EC2::TransitGatewayMulticastDomainAssociation", "Properties" : { "SubnetId" : String, "TransitGatewayAttachmentId" : String, "TransitGatewayMulticastDomainId" : String } }

YAML

Type: AWS::EC2::TransitGatewayMulticastDomainAssociation Properties: SubnetId: String TransitGatewayAttachmentId: String TransitGatewayMulticastDomainId: String

Properties

SubnetId

The IDs of the subnets to associate with the transit gateway multicast domain.

Required: Yes

Type: String

Update requires: Replacement

TransitGatewayAttachmentId

The ID of the transit gateway attachment.

Required: Yes

Type: String

Update requires: Replacement

TransitGatewayMulticastDomainId

The ID of the transit gateway multicast domain.

Required: Yes

Type: String

Update requires: Replacement

Return values

Ref

When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the transit gateway multicast domain ID. For example: tgw-mcast-domain-000fb24d04EXAMPLE.

Fn::GetAtt

The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.

ResourceId

The ID of the resource.

ResourceType

The type of resource, for example a VPC attachment.

State

The state of the resource.

See also

On this page

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.