Skip to content

/AWS1/CL_ECSULIMIT

The ulimit settings to pass to the container.

Amazon ECS tasks hosted on Fargate use the default resource limit values set by the operating system with the exception of the nofile resource limit parameter which Fargate overrides. The nofile resource limit sets a restriction on the number of open files that a container can use. The default nofile soft limit is 65535 and the default hard limit is 65535.

You can specify the ulimit settings for a container in a task definition.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_name TYPE /AWS1/ECSULIMITNAME /AWS1/ECSULIMITNAME

The type of the ulimit.

iv_softlimit TYPE /AWS1/ECSINTEGER /AWS1/ECSINTEGER

The soft limit for the ulimit type. The value can be specified in bytes, seconds, or as a count, depending on the type of the ulimit.

iv_hardlimit TYPE /AWS1/ECSINTEGER /AWS1/ECSINTEGER

The hard limit for the ulimit type. The value can be specified in bytes, seconds, or as a count, depending on the type of the ulimit.


Queryable Attributes

name

The type of the ulimit.

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

softLimit

The soft limit for the ulimit type. The value can be specified in bytes, seconds, or as a count, depending on the type of the ulimit.

Accessible with the following methods

Method Description
GET_SOFTLIMIT() Getter for SOFTLIMIT

hardLimit

The hard limit for the ulimit type. The value can be specified in bytes, seconds, or as a count, depending on the type of the ulimit.

Accessible with the following methods

Method Description
GET_HARDLIMIT() Getter for HARDLIMIT

Public Local Types In This Class

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

TT_ULIMITLIST

TYPES TT_ULIMITLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_ECSULIMIT WITH DEFAULT KEY
.