v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-171,1822,9897.4 MB

Modifies the specified VPC attachment.

get/#Action=ModifyTransitGatewayVpcAttachment

Query parameters

TransitGatewayAttachmentIdstring required

The ID of the attachment.

AddSubnetIdsstring[]

The IDs of one or more subnets to add. You can specify at most one subnet per Availability Zone.

RemoveSubnetIdsstring[]

The IDs of one or more subnets to remove.

DnsSupport'enable' | 'disable'

Enable or disable DNS support. The default is <code>enable</code>.

Ipv6Support'enable' | 'disable'

Enable or disable IPv6 support. The default is <code>enable</code>.

ApplianceModeSupport'enable' | 'disable'

Enable or disable support for appliance mode. If enabled, a traffic flow between a source and destination uses the same Availability Zone for the VPC attachment for the lifetime of that flow. The default is <code>disable</code>.

The new VPC attachment options.

DryRunboolean

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 <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.

Action'ModifyTransitGatewayVpcAttachment' required
Version'2016-11-15' required

Response

Success