@Stability(value=Stable)
public static interface CfnJobDefinition.FargatePlatformConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Jobs that run on EC2 resources must not specify this parameter.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.batch.*;
FargatePlatformConfigurationProperty fargatePlatformConfigurationProperty = FargatePlatformConfigurationProperty.builder()
.platformVersion("platformVersion")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnJobDefinition.FargatePlatformConfigurationProperty.Builder
A builder for
CfnJobDefinition.FargatePlatformConfigurationProperty |
static class |
CfnJobDefinition.FargatePlatformConfigurationProperty.Jsii$Proxy
An implementation for
CfnJobDefinition.FargatePlatformConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnJobDefinition.FargatePlatformConfigurationProperty.Builder |
builder() |
default String |
getPlatformVersion()
The AWS Fargate platform version where the jobs are running.
|
@Stability(value=Stable) @Nullable default String getPlatformVersion()
A platform version is specified only for jobs that are running on Fargate resources. If one isn't specified, the LATEST platform version is used by default. This uses a recent, approved version of the AWS Fargate platform for compute resources. For more information, see AWS Fargate platform versions in the Amazon Elastic Container Service Developer Guide .
@Stability(value=Stable) static CfnJobDefinition.FargatePlatformConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.