@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:07.416Z") @Stability(value=Experimental) 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();
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html| Enum Constant and Description |
|---|
LATEST
(experimental) The latest, recommended platform version.
|
VERSION1_0
(experimental) Initial release.
|
VERSION1_1
(experimental) Version 1.1.0.
|
VERSION1_2
(experimental) Version 1.2.0.
|
VERSION1_3
(experimental) Version 1.3.0.
|
VERSION1_4
(experimental) 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=Experimental) public static final FargatePlatformVersion LATEST
@Stability(value=Experimental) 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=Experimental) public static final FargatePlatformVersion VERSION1_3
Supports secrets, task recycling.
@Stability(value=Experimental) public static final FargatePlatformVersion VERSION1_2
Supports private registries.
@Stability(value=Experimental) public static final FargatePlatformVersion VERSION1_1
Supports task metadata, health checks, service discovery.
@Stability(value=Experimental) 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.