Skip to content

/AWS1/CL_ECSRUNTIMEPLATFORM

Information about the platform for the Amazon ECS service or task.

For more information about RuntimePlatform, see RuntimePlatform in the Amazon Elastic Container Service Developer Guide.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_cpuarchitecture TYPE /AWS1/ECSCPUARCHITECTURE /AWS1/ECSCPUARCHITECTURE

The CPU architecture.

You can run your Linux tasks on an ARM-based platform by setting the value to ARM64. This option is available for tasks that run on Linux Amazon EC2 instance or Linux containers on Fargate.

iv_operatingsystemfamily TYPE /AWS1/ECSOSFAMILY /AWS1/ECSOSFAMILY

The operating system.


Queryable Attributes

cpuArchitecture

The CPU architecture.

You can run your Linux tasks on an ARM-based platform by setting the value to ARM64. This option is available for tasks that run on Linux Amazon EC2 instance or Linux containers on Fargate.

Accessible with the following methods

Method Description
GET_CPUARCHITECTURE() Getter for CPUARCHITECTURE, with configurable default
ASK_CPUARCHITECTURE() Getter for CPUARCHITECTURE w/ exceptions if field has no val
HAS_CPUARCHITECTURE() Determine if CPUARCHITECTURE has a value

operatingSystemFamily

The operating system.

Accessible with the following methods

Method Description
GET_OPERATINGSYSTEMFAMILY() Getter for OPERATINGSYSTEMFAMILY, with configurable default
ASK_OPERATINGSYSTEMFAMILY() Getter for OPERATINGSYSTEMFAMILY w/ exceptions if field has
HAS_OPERATINGSYSTEMFAMILY() Determine if OPERATINGSYSTEMFAMILY has a value