Skip to main content

transit_gateway_multicast_domain_associations

Creates, updates, deletes or gets a transit_gateway_multicast_domain_association resource or lists transit_gateway_multicast_domain_associations in a region

Overview

Nametransit_gateway_multicast_domain_associations
TypeResource
DescriptionThe AWS::EC2::TransitGatewayMulticastDomainAssociation type
Idawscc.ec2.transit_gateway_multicast_domain_associations

Fields

NameDatatypeDescription
transit_gateway_multicast_domain_idstringThe ID of the transit gateway multicast domain.
transit_gateway_attachment_idstringThe ID of the transit gateway attachment.
resource_idstringThe ID of the resource.
resource_typestringThe type of resource, for example a VPC attachment.
statestringThe state of the subnet association.
subnet_idstringThe IDs of the subnets to associate with the transit gateway multicast domain.
regionstringAWS region.

For more information, see AWS::EC2::TransitGatewayMulticastDomainAssociation.

Methods

NameResourceAccessible byRequired Params
create_resourcetransit_gateway_multicast_domain_associationsINSERTTransitGatewayMulticastDomainId, TransitGatewayAttachmentId, SubnetId, region
delete_resourcetransit_gateway_multicast_domain_associationsDELETEIdentifier, region
list_resourcestransit_gateway_multicast_domain_associations_list_onlySELECTregion
get_resourcetransit_gateway_multicast_domain_associationsSELECTIdentifier, region

SELECT examples

Gets all properties from an individual transit_gateway_multicast_domain_association.

SELECT
region,
transit_gateway_multicast_domain_id,
transit_gateway_attachment_id,
resource_id,
resource_type,
state,
subnet_id
FROM awscc.ec2.transit_gateway_multicast_domain_associations
WHERE
region = 'us-east-1' AND
Identifier = '{{ transit_gateway_multicast_domain_id }}|{{ transit_gateway_attachment_id }}|{{ subnet_id }}';

INSERT example

Use the following StackQL query and manifest file to create a new transit_gateway_multicast_domain_association resource, using stack-deploy.

/*+ create */
INSERT INTO awscc.ec2.transit_gateway_multicast_domain_associations (
TransitGatewayMulticastDomainId,
TransitGatewayAttachmentId,
SubnetId,
region
)
SELECT
'{{ transit_gateway_multicast_domain_id }}',
'{{ transit_gateway_attachment_id }}',
'{{ subnet_id }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM awscc.ec2.transit_gateway_multicast_domain_associations
WHERE
Identifier = '{{ transit_gateway_multicast_domain_id }}|{{ transit_gateway_attachment_id }}|{{ subnet_id }}' AND
region = 'us-east-1';

Permissions

To operate on the transit_gateway_multicast_domain_associations resource, the following permissions are required:

ec2:AssociateTransitGatewayMulticastDomain,
ec2:GetTransitGatewayMulticastDomainAssociations