Class CfnJobDefinition.RuntimePlatformProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnJobDefinition.RuntimePlatformProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnJobDefinition.RuntimePlatformProperty
CfnJobDefinition.RuntimePlatformProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.batch.CfnJobDefinition.RuntimePlatformProperty
CfnJobDefinition.RuntimePlatformProperty.Builder, CfnJobDefinition.RuntimePlatformProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnJobDefinition.RuntimePlatformProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnJobDefinition.RuntimePlatformProperty.Builder
.
-
-
Method Details
-
getCpuArchitecture
Description copied from interface:CfnJobDefinition.RuntimePlatformProperty
The vCPU architecture. The default value isX86_64
. Valid values areX86_64
andARM64
.This parameter must be set to
X86_64
for Windows containers. > Fargate Spot is not supported forARM64
and Windows-based containers on Fargate. A job queue will be blocked if a FargateARM64
or Windows job is submitted to a job queue with only Fargate Spot compute environments. However, you can attach bothFARGATE
andFARGATE_SPOT
compute environments to the same job queue.- Specified by:
getCpuArchitecture
in interfaceCfnJobDefinition.RuntimePlatformProperty
- See Also:
-
getOperatingSystemFamily
Description copied from interface:CfnJobDefinition.RuntimePlatformProperty
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 AWS 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 isLINUX
, 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 forARM64
and Windows-based containers on Fargate. A job queue will be blocked if a FargateARM64
or Windows job is submitted to a job queue with only Fargate Spot compute environments. However, you can attach bothFARGATE
andFARGATE_SPOT
compute environments to the same job queue.- Specified by:
getOperatingSystemFamily
in interfaceCfnJobDefinition.RuntimePlatformProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-