Skip to content

/AWS1/CL_ECSRESOURCE

Describes the resources available for a container instance.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_name TYPE /AWS1/ECSSTRING /AWS1/ECSSTRING

The name of the resource, such as CPU, MEMORY, PORTS, PORTS_UDP, or a user-defined resource.

iv_type TYPE /AWS1/ECSSTRING /AWS1/ECSSTRING

The type of the resource. Valid values: INTEGER, DOUBLE, LONG, or STRINGSET.

iv_doublevalue TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

When the doubleValue type is set, the value of the resource must be a double precision floating-point type.

iv_longvalue TYPE /AWS1/ECSLONG /AWS1/ECSLONG

When the longValue type is set, the value of the resource must be an extended precision floating-point type.

iv_integervalue TYPE /AWS1/ECSINTEGER /AWS1/ECSINTEGER

When the integerValue type is set, the value of the resource must be an integer.

it_stringsetvalue TYPE /AWS1/CL_ECSSTRINGLIST_W=>TT_STRINGLIST TT_STRINGLIST

When the stringSetValue type is set, the value of the resource must be a string type.


Queryable Attributes

name

The name of the resource, such as CPU, MEMORY, PORTS, PORTS_UDP, or a user-defined resource.

Accessible with the following methods

Method Description
GET_NAME() Getter for NAME, with configurable default
ASK_NAME() Getter for NAME w/ exceptions if field has no value
HAS_NAME() Determine if NAME has a value

type

The type of the resource. Valid values: INTEGER, DOUBLE, LONG, or STRINGSET.

Accessible with the following methods

Method Description
GET_TYPE() Getter for TYPE, with configurable default
ASK_TYPE() Getter for TYPE w/ exceptions if field has no value
HAS_TYPE() Determine if TYPE has a value

doubleValue

When the doubleValue type is set, the value of the resource must be a double precision floating-point type.

Accessible with the following methods

Method Description
GET_DOUBLEVALUE() Getter for DOUBLEVALUE
ASK_DOUBLEVALUE() Getter for DOUBLEVALUE w/ exceptions if field has no value
STR_DOUBLEVALUE() String format for DOUBLEVALUE

longValue

When the longValue type is set, the value of the resource must be an extended precision floating-point type.

Accessible with the following methods

Method Description
GET_LONGVALUE() Getter for LONGVALUE

integerValue

When the integerValue type is set, the value of the resource must be an integer.

Accessible with the following methods

Method Description
GET_INTEGERVALUE() Getter for INTEGERVALUE

stringSetValue

When the stringSetValue type is set, the value of the resource must be a string type.

Accessible with the following methods

Method Description
GET_STRINGSETVALUE() Getter for STRINGSETVALUE, with configurable default
ASK_STRINGSETVALUE() Getter for STRINGSETVALUE w/ exceptions if field has no valu
HAS_STRINGSETVALUE() Determine if STRINGSETVALUE 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_RESOURCES

TYPES TT_RESOURCES TYPE STANDARD TABLE OF REF TO /AWS1/CL_ECSRESOURCE WITH DEFAULT KEY
.