Skip to content

/AWS1/CL_ECSHOSTENTRY

Hostnames and IP address entries that are added to the /etc/hosts file of a container via the extraHosts parameter of its ContainerDefinition.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_hostname TYPE /AWS1/ECSSTRING /AWS1/ECSSTRING

The hostname to use in the /etc/hosts entry.

iv_ipaddress TYPE /AWS1/ECSSTRING /AWS1/ECSSTRING

The IP address to use in the /etc/hosts entry.


Queryable Attributes

hostname

The hostname to use in the /etc/hosts entry.

Accessible with the following methods

Method Description
GET_HOSTNAME() Getter for HOSTNAME, with configurable default
ASK_HOSTNAME() Getter for HOSTNAME w/ exceptions if field has no value
HAS_HOSTNAME() Determine if HOSTNAME has a value

ipAddress

The IP address to use in the /etc/hosts entry.

Accessible with the following methods

Method Description
GET_IPADDRESS() Getter for IPADDRESS, with configurable default
ASK_IPADDRESS() Getter for IPADDRESS w/ exceptions if field has no value
HAS_IPADDRESS() Determine if IPADDRESS 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_HOSTENTRYLIST

TYPES TT_HOSTENTRYLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_ECSHOSTENTRY WITH DEFAULT KEY
.