# FargatePlatformConfigurationProperty

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

Jobs that run on Amazon EC2 resources must not specify this parameter.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// 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',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_batch as batch

fargate_platform_configuration_property = batch.CfnJobDefinition.FargatePlatformConfigurationProperty(
    platform_version="platformVersion"
)
```

Java:

```java
// 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();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Batch;

var fargatePlatformConfigurationProperty = new FargatePlatformConfigurationProperty {
    PlatformVersion = "platformVersion"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

fargatePlatformConfigurationProperty := &FargatePlatformConfigurationProperty{
	PlatformVersion: jsii.String("platformVersion"),
}
```

## Properties

- `platformVersion`: string — 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](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) in the *Amazon Elastic Container Service Developer Guide* .
