/AWS1/CL_BTCRUNTIMEPLATFORM¶
An object that represents the compute environment architecture for Batch jobs on Fargate.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_operatingsystemfamily TYPE /AWS1/BTCSTRING /AWS1/BTCSTRING¶
The operating system for the compute environment. Valid values are:
LINUX(default),WINDOWS_SERVER_2019_CORE,WINDOWS_SERVER_2019_FULL,WINDOWS_SERVER_2022_CORE, andWINDOWS_SERVER_2022_FULL.The following parameters can’t be set for Windows containers:
linuxParameters,privileged,user,ulimits,readonlyRootFilesystem, andefsVolumeConfiguration.The Batch Scheduler checks the compute environments that are attached to the job queue before registering a task definition with Fargate. In this scenario, the job queue is where the job is submitted. If the job requires a Windows container and the first compute environment is
LINUX, the compute environment is skipped and the next compute environment is checked until a Windows-based compute environment is found.Fargate Spot is not supported on Windows-based containers on Fargate. A job queue will be blocked if a Windows job is submitted to a job queue with only Fargate Spot compute environments. However, you can attach both
FARGATEandFARGATE_SPOTcompute environments to the same job queue.
iv_cpuarchitecture TYPE /AWS1/BTCSTRING /AWS1/BTCSTRING¶
The vCPU architecture. The default value is
X86_64. Valid values areX86_64andARM64.This parameter must be set to
X86_64for Windows containers.Fargate Spot is not supported on Windows-based containers on Fargate. A job queue will be blocked if a Windows job is submitted to a job queue with only Fargate Spot compute environments. However, you can attach both
FARGATEandFARGATE_SPOTcompute environments to the same job queue.
Queryable Attributes¶
operatingSystemFamily¶
The operating system for the compute environment. Valid values are:
LINUX(default),WINDOWS_SERVER_2019_CORE,WINDOWS_SERVER_2019_FULL,WINDOWS_SERVER_2022_CORE, andWINDOWS_SERVER_2022_FULL.The following parameters can’t be set for Windows containers:
linuxParameters,privileged,user,ulimits,readonlyRootFilesystem, andefsVolumeConfiguration.The Batch Scheduler checks the compute environments that are attached to the job queue before registering a task definition with Fargate. In this scenario, the job queue is where the job is submitted. If the job requires a Windows container and the first compute environment is
LINUX, the compute environment is skipped and the next compute environment is checked until a Windows-based compute environment is found.Fargate Spot is not supported on Windows-based containers on Fargate. A job queue will be blocked if a Windows job is submitted to a job queue with only Fargate Spot compute environments. However, you can attach both
FARGATEandFARGATE_SPOTcompute environments to the same job queue.
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 |
cpuArchitecture¶
The vCPU architecture. The default value is
X86_64. Valid values areX86_64andARM64.This parameter must be set to
X86_64for Windows containers.Fargate Spot is not supported on Windows-based containers on Fargate. A job queue will be blocked if a Windows job is submitted to a job queue with only Fargate Spot compute environments. However, you can attach both
FARGATEandFARGATE_SPOTcompute environments to the same job queue.
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 |