/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.batch.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* An object that represents the compute environment architecture for Batch jobs on Fargate. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class RuntimePlatform implements Serializable, Cloneable, StructuredPojo { /** *
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*