Show / Hide Table of Contents

Class CfnJobDefinitionPropsMixin.RuntimePlatformProperty

An object that represents the compute environment architecture for AWS Batch jobs on Fargate.

Inheritance
object
CfnJobDefinitionPropsMixin.RuntimePlatformProperty
Implements
CfnJobDefinitionPropsMixin.IRuntimePlatformProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Batch
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnJobDefinitionPropsMixin.RuntimePlatformProperty : CfnJobDefinitionPropsMixin.IRuntimePlatformProperty
Syntax (vb)
Public Class CfnJobDefinitionPropsMixin.RuntimePlatformProperty Implements CfnJobDefinitionPropsMixin.IRuntimePlatformProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-runtimeplatform.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.CfnPropertyMixins.AWS.Batch;

             var runtimePlatformProperty = new RuntimePlatformProperty {
                 CpuArchitecture = "cpuArchitecture",
                 OperatingSystemFamily = "operatingSystemFamily"
             };

Synopsis

Constructors

RuntimePlatformProperty()

An object that represents the compute environment architecture for AWS Batch jobs on Fargate.

Properties

CpuArchitecture

The vCPU architecture. The default value is X86_64 . Valid values are X86_64 and ARM64 .

OperatingSystemFamily

The operating system for the compute environment.

Constructors

RuntimePlatformProperty()

An object that represents the compute environment architecture for AWS Batch jobs on Fargate.

public RuntimePlatformProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-runtimeplatform.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.CfnPropertyMixins.AWS.Batch;

             var runtimePlatformProperty = new RuntimePlatformProperty {
                 CpuArchitecture = "cpuArchitecture",
                 OperatingSystemFamily = "operatingSystemFamily"
             };

Properties

CpuArchitecture

The vCPU architecture. The default value is X86_64 . Valid values are X86_64 and ARM64 .

public string? CpuArchitecture { get; set; }
Property Value

string

Remarks
This parameter must be set to <code>X86_64</code> for 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 <code>FARGATE</code> and <code>FARGATE_SPOT</code> compute environments to the same job queue.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-runtimeplatform.html#cfn-batch-jobdefinition-runtimeplatform-cpuarchitecture

OperatingSystemFamily

The operating system for the compute environment.

public string? OperatingSystemFamily { get; set; }
Property Value

string

Remarks

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: <code>linuxParameters</code> , <code>privileged</code> , <code>user</code> , <code>ulimits</code> , <code>readonlyRootFilesystem</code> , and <code>efsVolumeConfiguration</code> . > 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 is <code>LINUX</code> , 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 <code>FARGATE</code> and <code>FARGATE_SPOT</code> compute environments to the same job queue.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-runtimeplatform.html#cfn-batch-jobdefinition-runtimeplatform-operatingsystemfamily

Implements

CfnJobDefinitionPropsMixin.IRuntimePlatformProperty
Back to top Generated by DocFX