Skip to content

/AWS1/CL_EC2NATGATEWAYADDRESS

Describes the IP addresses and network interface associated with a NAT gateway.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_allocationid TYPE /AWS1/EC2STRING /AWS1/EC2STRING

[Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT gateway.

iv_networkinterfaceid TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The ID of the network interface associated with the NAT gateway.

iv_privateip TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The private IP address associated with the NAT gateway.

iv_publicip TYPE /AWS1/EC2STRING /AWS1/EC2STRING

[Public NAT gateway only] The Elastic IP address associated with the NAT gateway.

iv_associationid TYPE /AWS1/EC2STRING /AWS1/EC2STRING

[Public NAT gateway only] The association ID of the Elastic IP address that's associated with the NAT gateway.

iv_isprimary TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Defines if the IP address is the primary address.

iv_failuremessage TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The address failure message.

iv_status TYPE /AWS1/EC2NATGWADDRESSSTATUS /AWS1/EC2NATGWADDRESSSTATUS

The address status.

iv_availabilityzone TYPE /AWS1/EC2AVAILABILITYZONENAME /AWS1/EC2AVAILABILITYZONENAME

The Availability Zone where this Elastic IP address (EIP) is being used to handle outbound NAT traffic.

iv_availabilityzoneid TYPE /AWS1/EC2AVAILABILITYZONEID /AWS1/EC2AVAILABILITYZONEID

The ID of the Availability Zone where this Elastic IP address (EIP) is being used to handle outbound NAT traffic. Use this instead of AvailabilityZone for consistent identification of AZs across Amazon Web Services Regions.


Queryable Attributes

AllocationId

[Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT gateway.

Accessible with the following methods

Method Description
GET_ALLOCATIONID() Getter for ALLOCATIONID, with configurable default
ASK_ALLOCATIONID() Getter for ALLOCATIONID w/ exceptions if field has no value
HAS_ALLOCATIONID() Determine if ALLOCATIONID has a value

NetworkInterfaceId

The ID of the network interface associated with the NAT gateway.

Accessible with the following methods

Method Description
GET_NETWORKINTERFACEID() Getter for NETWORKINTERFACEID, with configurable default
ASK_NETWORKINTERFACEID() Getter for NETWORKINTERFACEID w/ exceptions if field has no
HAS_NETWORKINTERFACEID() Determine if NETWORKINTERFACEID has a value

PrivateIp

The private IP address associated with the NAT gateway.

Accessible with the following methods

Method Description
GET_PRIVATEIP() Getter for PRIVATEIP, with configurable default
ASK_PRIVATEIP() Getter for PRIVATEIP w/ exceptions if field has no value
HAS_PRIVATEIP() Determine if PRIVATEIP has a value

PublicIp

[Public NAT gateway only] The Elastic IP address associated with the NAT gateway.

Accessible with the following methods

Method Description
GET_PUBLICIP() Getter for PUBLICIP, with configurable default
ASK_PUBLICIP() Getter for PUBLICIP w/ exceptions if field has no value
HAS_PUBLICIP() Determine if PUBLICIP has a value

AssociationId

[Public NAT gateway only] The association ID of the Elastic IP address that's associated with the NAT gateway.

Accessible with the following methods

Method Description
GET_ASSOCIATIONID() Getter for ASSOCIATIONID, with configurable default
ASK_ASSOCIATIONID() Getter for ASSOCIATIONID w/ exceptions if field has no value
HAS_ASSOCIATIONID() Determine if ASSOCIATIONID has a value

IsPrimary

Defines if the IP address is the primary address.

Accessible with the following methods

Method Description
GET_ISPRIMARY() Getter for ISPRIMARY, with configurable default
ASK_ISPRIMARY() Getter for ISPRIMARY w/ exceptions if field has no value
HAS_ISPRIMARY() Determine if ISPRIMARY has a value

FailureMessage

The address failure message.

Accessible with the following methods

Method Description
GET_FAILUREMESSAGE() Getter for FAILUREMESSAGE, with configurable default
ASK_FAILUREMESSAGE() Getter for FAILUREMESSAGE w/ exceptions if field has no valu
HAS_FAILUREMESSAGE() Determine if FAILUREMESSAGE has a value

Status

The address status.

Accessible with the following methods

Method Description
GET_STATUS() Getter for STATUS, with configurable default
ASK_STATUS() Getter for STATUS w/ exceptions if field has no value
HAS_STATUS() Determine if STATUS has a value

AvailabilityZone

The Availability Zone where this Elastic IP address (EIP) is being used to handle outbound NAT traffic.

Accessible with the following methods

Method Description
GET_AVAILABILITYZONE() Getter for AVAILABILITYZONE, with configurable default
ASK_AVAILABILITYZONE() Getter for AVAILABILITYZONE w/ exceptions if field has no va
HAS_AVAILABILITYZONE() Determine if AVAILABILITYZONE has a value

AvailabilityZoneId

The ID of the Availability Zone where this Elastic IP address (EIP) is being used to handle outbound NAT traffic. Use this instead of AvailabilityZone for consistent identification of AZs across Amazon Web Services Regions.

Accessible with the following methods

Method Description
GET_AVAILABILITYZONEID() Getter for AVAILABILITYZONEID, with configurable default
ASK_AVAILABILITYZONEID() Getter for AVAILABILITYZONEID w/ exceptions if field has no
HAS_AVAILABILITYZONEID() Determine if AVAILABILITYZONEID 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_NATGATEWAYADDRESSLIST

TYPES TT_NATGATEWAYADDRESSLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2NATGATEWAYADDRESS WITH DEFAULT KEY
.