Skip to content

/AWS1/CL_EC2MODTGWVPCATTACHM01

Describes the options for a VPC attachment.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_DNSSUPPORT TYPE /AWS1/EC2DNSSUPPORTVALUE /AWS1/EC2DNSSUPPORTVALUE

Enable or disable DNS support. The default is enable.

IV_SECGROUPREFERENCINGSUPP TYPE /AWS1/EC2SECGRREFERENCINGSUP00 /AWS1/EC2SECGRREFERENCINGSUP00

This parameter is in preview and may not be available for your account.

Enables you to reference a security group across VPCs attached to a transit gateway. Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.

IV_IPV6SUPPORT TYPE /AWS1/EC2IPV6SUPPORTVALUE /AWS1/EC2IPV6SUPPORTVALUE

Enable or disable IPv6 support. The default is enable.

IV_APPLIANCEMODESUPPORT TYPE /AWS1/EC2APPLIANCEMODESUPPVAL /AWS1/EC2APPLIANCEMODESUPPVAL

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 disable.


Queryable Attributes

DnsSupport

Enable or disable DNS support. The default is enable.

Accessible with the following methods

Method Description
GET_DNSSUPPORT() Getter for DNSSUPPORT, with configurable default
ASK_DNSSUPPORT() Getter for DNSSUPPORT w/ exceptions if field has no value
HAS_DNSSUPPORT() Determine if DNSSUPPORT has a value

SecurityGroupReferencingSupport

This parameter is in preview and may not be available for your account.

Enables you to reference a security group across VPCs attached to a transit gateway. Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.

Accessible with the following methods

Method Description
GET_SECGROUPREFERENCINGSUPP() Getter for SECGROUPREFERENCINGSUPPORT, with configurable def
ASK_SECGROUPREFERENCINGSUPP() Getter for SECGROUPREFERENCINGSUPPORT w/ exceptions if field
HAS_SECGROUPREFERENCINGSUPP() Determine if SECGROUPREFERENCINGSUPPORT has a value

Ipv6Support

Enable or disable IPv6 support. The default is enable.

Accessible with the following methods

Method Description
GET_IPV6SUPPORT() Getter for IPV6SUPPORT, with configurable default
ASK_IPV6SUPPORT() Getter for IPV6SUPPORT w/ exceptions if field has no value
HAS_IPV6SUPPORT() Determine if IPV6SUPPORT has a value

ApplianceModeSupport

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 disable.

Accessible with the following methods

Method Description
GET_APPLIANCEMODESUPPORT() Getter for APPLIANCEMODESUPPORT, with configurable default
ASK_APPLIANCEMODESUPPORT() Getter for APPLIANCEMODESUPPORT w/ exceptions if field has n
HAS_APPLIANCEMODESUPPORT() Determine if APPLIANCEMODESUPPORT has a value