@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-28T21:34:28.921Z") public enum FargatePlatformVersion extends java.lang.Enum<FargatePlatformVersion>
Example:
Cluster cluster; ScheduledFargateTask scheduledFargateTask = ScheduledFargateTask.Builder.create(this, "ScheduledFargateTask") .cluster(cluster) .scheduledFargateTaskImageOptions(ScheduledFargateTaskImageOptions.builder() .image(ContainerImage.fromRegistry("amazon/amazon-ecs-sample")) .memoryLimitMiB(512) .build()) .schedule(Schedule.expression("rate(1 minute)")) .platformVersion(FargatePlatformVersion.LATEST) .build();
Enum Constant and Description |
---|
LATEST
The latest, recommended platform version.
|
VERSION1_0
Initial release.
|
VERSION1_1
Version 1.1.0.
|
VERSION1_2
Version 1.2.0.
|
VERSION1_3
Version 1.3.0.
|
VERSION1_4
Version 1.4.0.
|
Modifier and Type | Method and Description |
---|---|
static FargatePlatformVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FargatePlatformVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FargatePlatformVersion LATEST
public static final FargatePlatformVersion VERSION1_4
Supports EFS endpoints, CAP_SYS_PTRACE Linux capability, network performance metrics in CloudWatch Container Insights, consolidated 20 GB ephemeral volume.
public static final FargatePlatformVersion VERSION1_3
Supports secrets, task recycling.
public static final FargatePlatformVersion VERSION1_2
Supports private registries.
public static final FargatePlatformVersion VERSION1_1
Supports task metadata, health checks, service discovery.
public static final FargatePlatformVersion VERSION1_0
Based on Amazon Linux 2017.09.
public static FargatePlatformVersion[] values()
for (FargatePlatformVersion c : FargatePlatformVersion.values()) System.out.println(c);
public static FargatePlatformVersion valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null