Skip to content

/AWS1/CL_PISECSCONTAINEROVER00

The overrides that are sent to a container. An empty container override can be passed in. An example of an empty container override is {"containerOverrides": [ ] }. If a non-empty container override is specified, the name parameter must be included.

CONSTRUCTOR

IMPORTING

Optional arguments:

it_command TYPE /AWS1/CL_PISSTRINGLIST_W=>TT_STRINGLIST TT_STRINGLIST

The command to send to the container that overrides the default command from the Docker image or the task definition. You must also specify a container name.

iv_cpu TYPE /AWS1/PISINTEGER /AWS1/PISINTEGER

The number of cpu units reserved for the container, instead of the default value from the task definition. You must also specify a container name.

it_environment TYPE /AWS1/CL_PISECSENVIRONMENTVA00=>TT_ECSENVIRONMENTVARIABLELIST TT_ECSENVIRONMENTVARIABLELIST

The environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the task definition. You must also specify a container name.

it_environmentfiles TYPE /AWS1/CL_PISECSENVIRONMENTFILE=>TT_ECSENVIRONMENTFILELIST TT_ECSENVIRONMENTFILELIST

A list of files containing the environment variables to pass to a container, instead of the value from the container definition.

iv_memory TYPE /AWS1/PISINTEGER /AWS1/PISINTEGER

The hard limit (in MiB) of memory to present to the container, instead of the default value from the task definition. If your container attempts to exceed the memory specified here, the container is killed. You must also specify a container name.

iv_memoryreservation TYPE /AWS1/PISINTEGER /AWS1/PISINTEGER

The soft limit (in MiB) of memory to reserve for the container, instead of the default value from the task definition. You must also specify a container name.

iv_name TYPE /AWS1/PISSTRING /AWS1/PISSTRING

The name of the container that receives the override. This parameter is required if any override is specified.

it_resourcerequirements TYPE /AWS1/CL_PISECSRESRCREQUIREM00=>TT_ECSRESOURCEREQUIREMENTSLIST TT_ECSRESOURCEREQUIREMENTSLIST

The type and amount of a resource to assign to a container, instead of the default value from the task definition. The only supported resource is a GPU.


Queryable Attributes

Command

The command to send to the container that overrides the default command from the Docker image or the task definition. You must also specify a container name.

Accessible with the following methods

Method Description
GET_COMMAND() Getter for COMMAND, with configurable default
ASK_COMMAND() Getter for COMMAND w/ exceptions if field has no value
HAS_COMMAND() Determine if COMMAND has a value

Cpu

The number of cpu units reserved for the container, instead of the default value from the task definition. You must also specify a container name.

Accessible with the following methods

Method Description
GET_CPU() Getter for CPU, with configurable default
ASK_CPU() Getter for CPU w/ exceptions if field has no value
HAS_CPU() Determine if CPU has a value

Environment

The environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the task definition. You must also specify a container name.

Accessible with the following methods

Method Description
GET_ENVIRONMENT() Getter for ENVIRONMENT, with configurable default
ASK_ENVIRONMENT() Getter for ENVIRONMENT w/ exceptions if field has no value
HAS_ENVIRONMENT() Determine if ENVIRONMENT has a value

EnvironmentFiles

A list of files containing the environment variables to pass to a container, instead of the value from the container definition.

Accessible with the following methods

Method Description
GET_ENVIRONMENTFILES() Getter for ENVIRONMENTFILES, with configurable default
ASK_ENVIRONMENTFILES() Getter for ENVIRONMENTFILES w/ exceptions if field has no va
HAS_ENVIRONMENTFILES() Determine if ENVIRONMENTFILES has a value

Memory

The hard limit (in MiB) of memory to present to the container, instead of the default value from the task definition. If your container attempts to exceed the memory specified here, the container is killed. You must also specify a container name.

Accessible with the following methods

Method Description
GET_MEMORY() Getter for MEMORY, with configurable default
ASK_MEMORY() Getter for MEMORY w/ exceptions if field has no value
HAS_MEMORY() Determine if MEMORY has a value

MemoryReservation

The soft limit (in MiB) of memory to reserve for the container, instead of the default value from the task definition. You must also specify a container name.

Accessible with the following methods

Method Description
GET_MEMORYRESERVATION() Getter for MEMORYRESERVATION, with configurable default
ASK_MEMORYRESERVATION() Getter for MEMORYRESERVATION w/ exceptions if field has no v
HAS_MEMORYRESERVATION() Determine if MEMORYRESERVATION has a value

Name

The name of the container that receives the override. This parameter is required if any override is specified.

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

ResourceRequirements

The type and amount of a resource to assign to a container, instead of the default value from the task definition. The only supported resource is a GPU.

Accessible with the following methods

Method Description
GET_RESOURCEREQUIREMENTS() Getter for RESOURCEREQUIREMENTS, with configurable default
ASK_RESOURCEREQUIREMENTS() Getter for RESOURCEREQUIREMENTS w/ exceptions if field has n
HAS_RESOURCEREQUIREMENTS() Determine if RESOURCEREQUIREMENTS 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_ECSCONTAINEROVERRIDELIST

TYPES TT_ECSCONTAINEROVERRIDELIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_PISECSCONTAINEROVER00 WITH DEFAULT KEY
.