@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.703Z") @Stability(value=Stable) public enum FargatePlatformVersion extends 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(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.
|
@Stability(value=Stable) public static final FargatePlatformVersion LATEST
@Stability(value=Stable) 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.
@Stability(value=Stable) public static final FargatePlatformVersion VERSION1_3
Supports secrets, task recycling.
@Stability(value=Stable) public static final FargatePlatformVersion VERSION1_2
Supports private registries.
@Stability(value=Stable) public static final FargatePlatformVersion VERSION1_1
Supports task metadata, health checks, service discovery.
@Stability(value=Stable) 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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.