Interface RuntimePlatform.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RuntimePlatform.Builder,RuntimePlatform>,SdkBuilder<RuntimePlatform.Builder,RuntimePlatform>,SdkPojo
- Enclosing class:
- RuntimePlatform
public static interface RuntimePlatform.Builder extends SdkPojo, CopyableBuilder<RuntimePlatform.Builder,RuntimePlatform>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RuntimePlatform.BuildercpuArchitecture(String cpuArchitecture)The vCPU architecture.RuntimePlatform.BuilderoperatingSystemFamily(String operatingSystemFamily)The operating system for the compute environment.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
operatingSystemFamily
RuntimePlatform.Builder operatingSystemFamily(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, 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 for
ARM64and Windows-based containers on Fargate. A job queue will be blocked if a FargateARM64or Windows job is submitted to a job queue with only Fargate Spot compute environments. However, you can attach bothFARGATEandFARGATE_SPOTcompute environments to the same job queue.- Parameters:
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 for
ARM64and Windows-based containers on Fargate. A job queue will be blocked if a FargateARM64or Windows job is submitted to a job queue with only Fargate Spot compute environments. However, you can attach bothFARGATEandFARGATE_SPOTcompute environments to the same job queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cpuArchitecture
RuntimePlatform.Builder cpuArchitecture(String 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 for
ARM64and Windows-based containers on Fargate. A job queue will be blocked if a FargateARM64or Windows job is submitted to a job queue with only Fargate Spot compute environments. However, you can attach bothFARGATEandFARGATE_SPOTcompute environments to the same job queue.- Parameters:
cpuArchitecture- The vCPU architecture. The default value isX86_64. Valid values areX86_64andARM64.This parameter must be set to
X86_64for Windows containers.Fargate Spot is not supported for
ARM64and Windows-based containers on Fargate. A job queue will be blocked if a FargateARM64or Windows job is submitted to a job queue with only Fargate Spot compute environments. However, you can attach bothFARGATEandFARGATE_SPOTcompute environments to the same job queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-