Skip to content

/AWS1/CL_EC2SUBNETCONF

Describes the configuration of a subnet for a VPC endpoint.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_SUBNETID TYPE /AWS1/EC2SUBNETID /AWS1/EC2SUBNETID

The ID of the subnet.

IV_IPV4 TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The IPv4 address to assign to the endpoint network interface in the subnet. You must provide an IPv4 address if the VPC endpoint supports IPv4.

If you specify an IPv4 address when modifying a VPC endpoint, we replace the existing endpoint network interface with a new endpoint network interface with this IP address. This process temporarily disconnects the subnet and the VPC endpoint.

IV_IPV6 TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The IPv6 address to assign to the endpoint network interface in the subnet. You must provide an IPv6 address if the VPC endpoint supports IPv6.

If you specify an IPv6 address when modifying a VPC endpoint, we replace the existing endpoint network interface with a new endpoint network interface with this IP address. This process temporarily disconnects the subnet and the VPC endpoint.


Queryable Attributes

SubnetId

The ID of the subnet.

Accessible with the following methods

Method Description
GET_SUBNETID() Getter for SUBNETID, with configurable default
ASK_SUBNETID() Getter for SUBNETID w/ exceptions if field has no value
HAS_SUBNETID() Determine if SUBNETID has a value

Ipv4

The IPv4 address to assign to the endpoint network interface in the subnet. You must provide an IPv4 address if the VPC endpoint supports IPv4.

If you specify an IPv4 address when modifying a VPC endpoint, we replace the existing endpoint network interface with a new endpoint network interface with this IP address. This process temporarily disconnects the subnet and the VPC endpoint.

Accessible with the following methods

Method Description
GET_IPV4() Getter for IPV4, with configurable default
ASK_IPV4() Getter for IPV4 w/ exceptions if field has no value
HAS_IPV4() Determine if IPV4 has a value

Ipv6

The IPv6 address to assign to the endpoint network interface in the subnet. You must provide an IPv6 address if the VPC endpoint supports IPv6.

If you specify an IPv6 address when modifying a VPC endpoint, we replace the existing endpoint network interface with a new endpoint network interface with this IP address. This process temporarily disconnects the subnet and the VPC endpoint.

Accessible with the following methods

Method Description
GET_IPV6() Getter for IPV6, with configurable default
ASK_IPV6() Getter for IPV6 w/ exceptions if field has no value
HAS_IPV6() Determine if IPV6 has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_SUBNETCONFIGURATIONSLIST

TYPES TT_SUBNETCONFIGURATIONSLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2SUBNETCONF WITH DEFAULT KEY
.