enum FargatePlatformVersion
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ECS.FargatePlatformVersion |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#FargatePlatformVersion |
![]() | software.amazon.awscdk.services.ecs.FargatePlatformVersion |
![]() | aws_cdk.aws_ecs.FargatePlatformVersion |
![]() | aws-cdk-lib » aws_ecs » FargatePlatformVersion |
The platform version on which to run your service.
Example
declare const cluster: ecs.Cluster;
const scheduledFargateTask = new ecsPatterns.ScheduledFargateTask(this, 'ScheduledFargateTask', {
cluster,
scheduledFargateTaskImageOptions: {
image: ecs.ContainerImage.fromRegistry('amazon/amazon-ecs-sample'),
memoryLimitMiB: 512,
},
schedule: appscaling.Schedule.expression('rate(1 minute)'),
platformVersion: ecs.FargatePlatformVersion.LATEST,
});
Members
Name | Description |
---|---|
LATEST | The latest, recommended platform version. |
VERSION1_4 | Version 1.4.0. |
VERSION1_3 | Version 1.3.0. |
VERSION1_2 | Version 1.2.0. |
VERSION1_1 | Version 1.1.0. |
VERSION1_0 | Initial release. |
LATEST
The latest, recommended platform version.
VERSION1_4
Version 1.4.0.
Supports EFS endpoints, CAP_SYS_PTRACE Linux capability, network performance metrics in CloudWatch Container Insights, consolidated 20 GB ephemeral volume.
VERSION1_3
Version 1.3.0.
Supports secrets, task recycling.
VERSION1_2
Version 1.2.0.
Supports private registries.
VERSION1_1
Version 1.1.0.
Supports task metadata, health checks, service discovery.
VERSION1_0
Initial release.
Based on Amazon Linux 2017.09.