@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuntimePlatform extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents the compute environment architecture for Batch jobs on Fargate.
| Constructor and Description |
|---|
RuntimePlatform() |
| Modifier and Type | Method and Description |
|---|---|
RuntimePlatform |
clone() |
boolean |
equals(Object obj) |
String |
getCpuArchitecture()
The vCPU architecture.
|
String |
getOperatingSystemFamily()
The operating system for the compute environment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCpuArchitecture(String cpuArchitecture)
The vCPU architecture.
|
void |
setOperatingSystemFamily(String operatingSystemFamily)
The operating system for the compute environment.
|
String |
toString()
Returns a string representation of this object.
|
RuntimePlatform |
withCpuArchitecture(String cpuArchitecture)
The vCPU architecture.
|
RuntimePlatform |
withOperatingSystemFamily(String operatingSystemFamily)
The operating system for the compute environment.
|
public void setOperatingSystemFamily(String 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, and WINDOWS_SERVER_2022_FULL.
The following parameters can’t be set for Windows containers: linuxParameters,
privileged, user, ulimits, readonlyRootFilesystem, and
efsVolumeConfiguration.
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 for ARM64 and Windows-based containers on Fargate. A job queue will be
blocked if a Fargate ARM64 or Windows job is submitted to a job queue with only Fargate Spot compute
environments. However, you can attach both FARGATE and FARGATE_SPOT compute
environments to the same job queue.
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, and WINDOWS_SERVER_2022_FULL.
The following parameters can’t be set for Windows containers: linuxParameters,
privileged, user, ulimits, readonlyRootFilesystem, and
efsVolumeConfiguration.
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 for ARM64 and Windows-based containers on Fargate. A job queue
will be blocked if a Fargate ARM64 or Windows job is submitted to a job queue with only
Fargate Spot compute environments. However, you can attach both FARGATE and
FARGATE_SPOT compute environments to the same job queue.
public String getOperatingSystemFamily()
The operating system for the compute environment. Valid values are: LINUX (default),
WINDOWS_SERVER_2019_CORE, WINDOWS_SERVER_2019_FULL,
WINDOWS_SERVER_2022_CORE, and WINDOWS_SERVER_2022_FULL.
The following parameters can’t be set for Windows containers: linuxParameters,
privileged, user, ulimits, readonlyRootFilesystem, and
efsVolumeConfiguration.
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 for ARM64 and Windows-based containers on Fargate. A job queue will be
blocked if a Fargate ARM64 or Windows job is submitted to a job queue with only Fargate Spot compute
environments. However, you can attach both FARGATE and FARGATE_SPOT compute
environments to the same job queue.
LINUX (default),
WINDOWS_SERVER_2019_CORE, WINDOWS_SERVER_2019_FULL,
WINDOWS_SERVER_2022_CORE, and WINDOWS_SERVER_2022_FULL.
The following parameters can’t be set for Windows containers: linuxParameters,
privileged, user, ulimits, readonlyRootFilesystem,
and efsVolumeConfiguration.
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 for ARM64 and Windows-based containers on Fargate. A job queue
will be blocked if a Fargate ARM64 or Windows job is submitted to a job queue with only
Fargate Spot compute environments. However, you can attach both FARGATE and
FARGATE_SPOT compute environments to the same job queue.
public RuntimePlatform withOperatingSystemFamily(String 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, and WINDOWS_SERVER_2022_FULL.
The following parameters can’t be set for Windows containers: linuxParameters,
privileged, user, ulimits, readonlyRootFilesystem, and
efsVolumeConfiguration.
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 for ARM64 and Windows-based containers on Fargate. A job queue will be
blocked if a Fargate ARM64 or Windows job is submitted to a job queue with only Fargate Spot compute
environments. However, you can attach both FARGATE and FARGATE_SPOT compute
environments to the same job queue.
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, and WINDOWS_SERVER_2022_FULL.
The following parameters can’t be set for Windows containers: linuxParameters,
privileged, user, ulimits, readonlyRootFilesystem, and
efsVolumeConfiguration.
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 for ARM64 and Windows-based containers on Fargate. A job queue
will be blocked if a Fargate ARM64 or Windows job is submitted to a job queue with only
Fargate Spot compute environments. However, you can attach both FARGATE and
FARGATE_SPOT compute environments to the same job queue.
public void setCpuArchitecture(String cpuArchitecture)
The vCPU architecture. The default value is X86_64. Valid values are X86_64 and
ARM64.
This parameter must be set to X86_64 for Windows containers.
Fargate Spot is not supported for ARM64 and Windows-based containers on Fargate. A job queue will be
blocked if a Fargate ARM64 or Windows job is submitted to a job queue with only Fargate Spot compute
environments. However, you can attach both FARGATE and FARGATE_SPOT compute
environments to the same job queue.
cpuArchitecture - The vCPU architecture. The default value is X86_64. Valid values are X86_64 and
ARM64.
This parameter must be set to X86_64 for Windows containers.
Fargate Spot is not supported for ARM64 and Windows-based containers on Fargate. A job queue
will be blocked if a Fargate ARM64 or Windows job is submitted to a job queue with only
Fargate Spot compute environments. However, you can attach both FARGATE and
FARGATE_SPOT compute environments to the same job queue.
public String getCpuArchitecture()
The vCPU architecture. The default value is X86_64. Valid values are X86_64 and
ARM64.
This parameter must be set to X86_64 for Windows containers.
Fargate Spot is not supported for ARM64 and Windows-based containers on Fargate. A job queue will be
blocked if a Fargate ARM64 or Windows job is submitted to a job queue with only Fargate Spot compute
environments. However, you can attach both FARGATE and FARGATE_SPOT compute
environments to the same job queue.
X86_64. Valid values are X86_64 and
ARM64.
This parameter must be set to X86_64 for Windows containers.
Fargate Spot is not supported for ARM64 and Windows-based containers on Fargate. A job queue
will be blocked if a Fargate ARM64 or Windows job is submitted to a job queue with only
Fargate Spot compute environments. However, you can attach both FARGATE and
FARGATE_SPOT compute environments to the same job queue.
public RuntimePlatform withCpuArchitecture(String cpuArchitecture)
The vCPU architecture. The default value is X86_64. Valid values are X86_64 and
ARM64.
This parameter must be set to X86_64 for Windows containers.
Fargate Spot is not supported for ARM64 and Windows-based containers on Fargate. A job queue will be
blocked if a Fargate ARM64 or Windows job is submitted to a job queue with only Fargate Spot compute
environments. However, you can attach both FARGATE and FARGATE_SPOT compute
environments to the same job queue.
cpuArchitecture - The vCPU architecture. The default value is X86_64. Valid values are X86_64 and
ARM64.
This parameter must be set to X86_64 for Windows containers.
Fargate Spot is not supported for ARM64 and Windows-based containers on Fargate. A job queue
will be blocked if a Fargate ARM64 or Windows job is submitted to a job queue with only
Fargate Spot compute environments. However, you can attach both FARGATE and
FARGATE_SPOT compute environments to the same job queue.
public String toString()
toString in class ObjectObject.toString()public RuntimePlatform clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.