CmdID

CmdID / aws / aws ec2

aws ec2 modify-transit-gateway

Modifies the specified transit gateway. 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 modify a transit gateway

The following modify-transit-gateway example modifies the specified transit gateway by enabling ECMP support for VPN attachments.

aws ec2 modify-transit-gateway --transit-gateway-id tgw-1111112222aaaaaaa --options VpnEcmpSupport=enableIdentify
--transit-gateway-idThe ID of the transit gateway.
--optionsThe options to modify.
Its output
{
    "TransitGateway": {
        "TransitGatewayId": "tgw-1111112222aaaaaaa",
        "TransitGatewayArn": "64512",
        "State": "modifying",
        "OwnerId": "123456789012",
        "CreationTime": "2020-04-30T08:41:37.000Z",
        "Options": {
            "AmazonSideAsn": 64512,
            "AutoAcceptSharedAttachments": "disable",
            "DefaultRouteTableAssociation": "enable",
            "AssociationDefaultRouteTableId": "tgw-rtb-0123456789abcd123",
            "DefaultRouteTablePropagation": "enable",
            "PropagationDefaultRouteTableId": "tgw-rtb-0123456789abcd123",
            "VpnEcmpSupport": "enable",
            "DnsSupport": "enable"
        }
    }
}

For more information, see Transit gateways in the Transit Gateways Guide.

Options

4 in the AWS CLI reference
--descriptionThe description for the transit gateway.
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.
--optionsThe options to modify.
--transit-gateway-idThe ID of the transit gateway.