Skip to content

Associate Transit Gateway Multicast Domain

ec2_associate_transit_gateway_multicast_domain R Documentation

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

Description

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.

Usage

ec2_associate_transit_gateway_multicast_domain(
  TransitGatewayMulticastDomainId, TransitGatewayAttachmentId, SubnetIds,
  DryRun)

Arguments

TransitGatewayMulticastDomainId

[required] The ID of the transit gateway multicast domain.

TransitGatewayAttachmentId

[required] The ID of the transit gateway attachment to associate with the transit gateway multicast domain.

SubnetIds

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

DryRun

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.

Value

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"
      )
    )
  )
)

Request syntax

svc$associate_transit_gateway_multicast_domain(
  TransitGatewayMulticastDomainId = "string",
  TransitGatewayAttachmentId = "string",
  SubnetIds = list(
    "string"
  ),
  DryRun = TRUE|FALSE
)