CmdID

CmdID / aws / aws ec2

aws ec2 disassociate-transit-gateway-multicast-domain

Disassociates the specified subnets from the transit gateway multicast domain. AWS CLI reference

1 example 4 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To disassociate subnets from a multicast domain

The following disassociate-transit-gateway-multicast-domain example disassociates a subnet from the specified multicast domain.

aws ec2 disassociate-transit-gateway-multicast-domain --transit-gateway-attachment-id tgw-attach-070e571cd1EXAMPLE --subnet-ids subnet-000de86e3bEXAMPLE --transit-gateway-multicast-domain-id tgw-mcast-domain-0c4905cef7EXAMPLEIdentify
--transit-gateway-attachment-idThe ID of the attachment.
--subnet-idsThe IDs of the subnets;
--transit-gateway-multicast-domain-idThe ID of the transit gateway multicast domain.
Its output
{
    "Associations": {
        "TransitGatewayMulticastDomainId": "tgw-mcast-domain-0c4905cef7EXAMPLE",
        "TransitGatewayAttachmentId": "tgw-attach-070e571cd1EXAMPLE",
        "ResourceId": "vpc-7EXAMPLE",
        "ResourceType": "vpc",
        "Subnets": [
            {
                "SubnetId": "subnet-000de86e3bEXAMPLE",
                "State": "disassociating"
            }
        ]
    }
}

For more information, see Multicast domains in the Transit Gateways Guide.

Options

4 in the AWS CLI reference
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.
--subnet-idsThe IDs of the subnets;
--transit-gateway-attachment-idThe ID of the attachment.
--transit-gateway-multicast-domain-idThe ID of the transit gateway multicast domain.