aws-cdk-lib.aws_batch.CfnJobDefinition.FargatePlatformConfigurationProperty

interface FargatePlatformConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.Batch.CfnJobDefinition.FargatePlatformConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsbatch#CfnJobDefinition_FargatePlatformConfigurationProperty
Javasoftware.amazon.awscdk.services.batch.CfnJobDefinition.FargatePlatformConfigurationProperty
Pythonaws_cdk.aws_batch.CfnJobDefinition.FargatePlatformConfigurationProperty
TypeScript aws-cdk-lib » aws_batch » CfnJobDefinition » FargatePlatformConfigurationProperty

The platform configuration for jobs that are running on Fargate resources.

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 { aws_batch as batch } from 'aws-cdk-lib';
const fargatePlatformConfigurationProperty: batch.CfnJobDefinition.FargatePlatformConfigurationProperty = {
  platformVersion: 'platformVersion',
};

Properties

NameTypeDescription
platformVersion?stringThe AWS Fargate platform version where the jobs are running.

platformVersion?

Type: string (optional)

The AWS Fargate platform version where the jobs are running.

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 .