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. Use
describe_transit_gateway_attachments
to see the state of the attachment.
ec2_associate_transit_gateway_multicast_domain(
TransitGatewayMulticastDomainId, TransitGatewayAttachmentId, SubnetIds,
DryRun)
A list with the following syntax:
list(
Associations = list(
TransitGatewayMulticastDomainId = "string",
TransitGatewayAttachmentId = "string",
ResourceId = "string",
ResourceType = "vpc"|"vpn"|"direct-connect-gateway"|"connect"|"peering"|"tgw-peering",
ResourceOwnerId = "string",
Subnets = list(
list(
SubnetId = "string",
State = "pendingAcceptance"|"associating"|"associated"|"disassociating"|"disassociated"|"rejected"|"failed"
)
)
)
)
The ID of the transit gateway multicast domain.
The ID of the transit gateway attachment to associate with the transit gateway multicast domain.
The IDs of the subnets to associate with the transit gateway multicast domain.
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
svc$associate_transit_gateway_multicast_domain(
TransitGatewayMulticastDomainId = "string",
TransitGatewayAttachmentId = "string",
SubnetIds = list(
"string"
),
DryRun = TRUE|FALSE
)