Skip to content

EC2  >  Structures  >  ModifyTransitGatewayOptions

ModifyTransitGatewayOptions

Structure Class

ModifyTransitGatewayOptions dataclass

Bases: _SerdeShape

The transit gateway options.

Attributes

add_transit_gateway_cidr_blocks class-attribute instance-attribute
add_transit_gateway_cidr_blocks: list[str] | None = ...

Adds IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size /24 CIDR block or larger for IPv4, or a size /64 CIDR block or larger for IPv6.

amazon_side_asn class-attribute instance-attribute
amazon_side_asn: int | None = ...

A private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs.

The modify ASN operation is not allowed on a transit gateway if it has the following attachments:

  • Dynamic VPN

  • Static VPN

  • Direct Connect Gateway

  • Connect

  • VPN Concentrator

  • Client VPN

You must first delete all transit gateway attachments configured prior to modifying the ASN on the transit gateway.

association_default_route_table_id class-attribute instance-attribute
association_default_route_table_id: str | None = ...

The ID of the default association route table.

auto_accept_shared_attachments class-attribute instance-attribute
auto_accept_shared_attachments: str | None = ...

Enable or disable automatic acceptance of attachment requests.

default_route_table_association class-attribute instance-attribute
default_route_table_association: str | None = ...

Enable or disable automatic association with the default association route table.

default_route_table_propagation class-attribute instance-attribute
default_route_table_propagation: str | None = ...

Indicates whether resource attachments automatically propagate routes to the default propagation route table. Enabled by default. If defaultRouteTablePropagation is set to enable, Amazon Web Services Transit Gateway will create the default transit gateway route table.

dns_support class-attribute instance-attribute
dns_support: str | None = ...

Enable or disable DNS support.

encryption_support class-attribute instance-attribute
encryption_support: str | None = ...

Enable or disable encryption support for VPC Encryption Control.

propagation_default_route_table_id class-attribute instance-attribute
propagation_default_route_table_id: str | None = ...

The ID of the default propagation route table.

remove_transit_gateway_cidr_blocks class-attribute instance-attribute
remove_transit_gateway_cidr_blocks: list[str] | None = ...

Removes CIDR blocks for the transit gateway.

security_group_referencing_support class-attribute instance-attribute
security_group_referencing_support: str | None = ...

Enables you to reference a security group across VPCs attached to a transit gateway to simplify security group management.

This option is disabled by default.

For more information about security group referencing, see Security group referencing in the Amazon Web Services Transit Gateways Guide.

vpn_ecmp_support class-attribute instance-attribute
vpn_ecmp_support: str | None = ...

Enable or disable Equal Cost Multipath Protocol support.