Enum FargatePlatformVersion
- All Implemented Interfaces:
Serializable
,Comparable<FargatePlatformVersion>
,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:01.096Z")
@Stability(Stable)
public enum FargatePlatformVersion
extends Enum<FargatePlatformVersion>
The platform version on which to run your service.
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();
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe latest, recommended platform version.Initial release.Version 1.1.0.Version 1.2.0.Version 1.3.0.Version 1.4.0. -
Method Summary
Modifier and TypeMethodDescriptionstatic FargatePlatformVersion
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.
-
Enum Constant Details
-
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.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-