@Generated(value="software.amazon.awssdk:codegen") public final class RuntimePlatform extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RuntimePlatform.Builder,RuntimePlatform>
An object that represents the compute environment architecture for Batch jobs on Fargate.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RuntimePlatform.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RuntimePlatform.Builder |
builder() |
String |
cpuArchitecture()
The vCPU architecture.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
operatingSystemFamily()
The operating system for the compute environment.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RuntimePlatform.Builder> |
serializableBuilderClass() |
RuntimePlatform.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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 before registering a task definition with Fargate. If the job requires a Windows
container and the first compute environment is LINUX, the compute environment is skipped and the
next is checked until a Windows-based compute environment is found.
Fargate Spot is not supported for Windows-based containers on Fargate. A job queue will be blocked if a Fargate
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 before registering a task definition with Fargate. If the job requires a
Windows container and the first compute environment is LINUX, the compute environment is
skipped and the next is checked until a Windows-based compute environment is found.
Fargate Spot is not supported for Windows-based containers on Fargate. A job queue will be blocked if a
Fargate 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 final 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.
X86_64. Valid values are X86_64 and
ARM64.
This parameter must be set to X86_64 for Windows containers.
public RuntimePlatform.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RuntimePlatform.Builder,RuntimePlatform>public static RuntimePlatform.Builder builder()
public static Class<? extends RuntimePlatform.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.