Skip to main content

transit_gateway_multicast_domains

Creates, updates, deletes or gets a transit_gateway_multicast_domain resource or lists transit_gateway_multicast_domains in a region

Overview

Nametransit_gateway_multicast_domains
TypeResource
DescriptionThe AWS::EC2::TransitGatewayMulticastDomain type
Idaws.ec2.transit_gateway_multicast_domains

Fields

NameDatatypeDescription
transit_gateway_multicast_domain_idstringThe ID of the transit gateway multicast domain.
transit_gateway_multicast_domain_arnstringThe Amazon Resource Name (ARN) of the transit gateway multicast domain.
transit_gateway_idstringThe ID of the transit gateway.
statestringThe state of the transit gateway multicast domain.
creation_timestringThe time the transit gateway multicast domain was created.
tagsarrayThe tags for the transit gateway multicast domain.
optionsobjectThe options for the transit gateway multicast domain.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTTransitGatewayId, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all transit_gateway_multicast_domains in a region.

SELECT
region,
transit_gateway_multicast_domain_id,
transit_gateway_multicast_domain_arn,
transit_gateway_id,
state,
creation_time,
tags,
options
FROM aws.ec2.transit_gateway_multicast_domains
WHERE region = 'us-east-1';

Gets all properties from an individual transit_gateway_multicast_domain.

SELECT
region,
transit_gateway_multicast_domain_id,
transit_gateway_multicast_domain_arn,
transit_gateway_id,
state,
creation_time,
tags,
options
FROM aws.ec2.transit_gateway_multicast_domains
WHERE region = 'us-east-1' AND data__Identifier = '<TransitGatewayMulticastDomainId>';

INSERT example

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

/*+ create */
INSERT INTO aws.ec2.transit_gateway_multicast_domains (
TransitGatewayId,
region
)
SELECT
'{{ TransitGatewayId }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.ec2.transit_gateway_multicast_domains
WHERE data__Identifier = '<TransitGatewayMulticastDomainId>'
AND region = 'us-east-1';

Permissions

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

Create

ec2:DescribeTransitGatewayMulticastDomains,
ec2:CreateTransitGatewayMulticastDomain,
ec2:CreateTags

Read

ec2:DescribeTransitGatewayMulticastDomains

Update

ec2:DescribeTransitGatewayMulticastDomains,
ec2:DeleteTags,
ec2:CreateTags

Delete

ec2:DescribeTransitGatewayMulticastDomains,
ec2:DeleteTransitGatewayMulticastDomain,
ec2:DeleteTags

List

ec2:DescribeTransitGatewayMulticastDomains