

This is the new *Amazon CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [Amazon CloudFormation User Guide](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::Batch::JobDefinition FargatePlatformConfiguration
<a name="aws-properties-batch-jobdefinition-fargateplatformconfiguration"></a>

The platform configuration for jobs that are running on Fargate resources. Jobs that run on Amazon EC2 resources must not specify this parameter.

## Syntax
<a name="aws-properties-batch-jobdefinition-fargateplatformconfiguration-syntax"></a>

To declare this entity in your Amazon CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-batch-jobdefinition-fargateplatformconfiguration-syntax.json"></a>

```
{
  "[PlatformVersion](#cfn-batch-jobdefinition-fargateplatformconfiguration-platformversion)" : {{String}}
}
```

### YAML
<a name="aws-properties-batch-jobdefinition-fargateplatformconfiguration-syntax.yaml"></a>

```
  [PlatformVersion](#cfn-batch-jobdefinition-fargateplatformconfiguration-platformversion): {{String}}
```

## Properties
<a name="aws-properties-batch-jobdefinition-fargateplatformconfiguration-properties"></a>

`PlatformVersion`  <a name="cfn-batch-jobdefinition-fargateplatformconfiguration-platformversion"></a>
The Amazon 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 Amazon Fargate platform for compute resources. For more information, see [Amazon Fargate platform versions](https://docs.amazonaws.cn/AmazonECS/latest/developerguide/platform_versions.html) in the *Amazon Elastic Container Service Developer Guide*.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)