Class CfnJobDefinition.FargatePlatformConfigurationProperty
The platform configuration for jobs that are running on Fargate resources.
Inherited Members
Namespace: Amazon.CDK.AWS.Batch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnJobDefinition.FargatePlatformConfigurationProperty : CfnJobDefinition.IFargatePlatformConfigurationProperty
Syntax (vb)
Public Class CfnJobDefinition.FargatePlatformConfigurationProperty Implements CfnJobDefinition.IFargatePlatformConfigurationProperty
Remarks
Jobs that run on Amazon EC2 resources must not specify this parameter.
ExampleMetadata: fixture=_generated
Examples
// 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"
};
Synopsis
Constructors
FargatePlatformConfigurationProperty() | The platform configuration for jobs that are running on Fargate resources. |
Properties
PlatformVersion | The AWS Fargate platform version where the jobs are running. |
Constructors
FargatePlatformConfigurationProperty()
The platform configuration for jobs that are running on Fargate resources.
public FargatePlatformConfigurationProperty()
Remarks
Jobs that run on Amazon EC2 resources must not specify this parameter.
ExampleMetadata: fixture=_generated
Examples
// 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"
};
Properties
PlatformVersion
The AWS Fargate platform version where the jobs are running.
public string? PlatformVersion { get; set; }
Property Value
Remarks
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 .