ec2:DisassociateTransitGatewayMulticastDomain

Write

ec2:DisassociateTransitGatewayMulticastDomain is a Write access-level action in the ec2 service. Grants permission to disassociate one or more subnets from a transit gateway multicast domain

Resource types

ARNs that ec2:DisassociateTransitGatewayMulticastDomain can be scoped to in an IAM policy.

arn:${Partition}:ec2:${Region}:${Account}:subnet/${SubnetId} required
subnet
arn:${Partition}:ec2:${Region}:${Account}:transit-gateway-attachment/${TransitGatewayAttachmentId} required
transit-gateway-attachment
arn:${Partition}:ec2:${Region}:${Account}:transit-gateway-multicast-domain/${TransitGatewayMulticastDomainId} required
transit-gateway-multicast-domain

Condition keys

Keys you can use in the Condition block of a policy that grants ec2:DisassociateTransitGatewayMulticastDomain.

ec2:Region String

Filters access by the name of the AWS Region

aws:ResourceTag/${TagKey} String

Filters access by a tag key and value pair of a resource

ec2:AvailabilityZone String

Filters access by the name of an Availability Zone in an AWS Region

ec2:AvailabilityZoneId String

Filters access by the ID of an Availability Zone in an AWS Region

ec2:ResourceTag/${TagKey} String

Filters access by a tag key and value pair of a resource

ec2:SubnetID String

Filters access by the ID of a subnet

ec2:Vpc ARN

Filters access by the ARN of the VPC

ec2:transitGatewayAttachmentId String

Filters access by the ID of a transit gateway attachment

ec2:transitGatewayMulticastDomainId String

Filters access by the ID of a transit gateway multicast domain

Example IAM policy

A minimal policy that allows ec2:DisassociateTransitGatewayMulticastDomain. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowEc2DisassociateTransitGatewayMulticastDomain",
      "Effect": "Allow",
      "Action": "ec2:DisassociateTransitGatewayMulticastDomain",
      "Resource": "*"
    }
  ]
}

Related actions in ec2

View all ec2 actions →