Enum DefaultInstanceClass
- All Implemented Interfaces:
Serializable
,Comparable<DefaultInstanceClass>
,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-10-14T12:28:05.903Z")
@Stability(Stable)
public enum DefaultInstanceClass
extends Enum<DefaultInstanceClass>
Batch default instances types.
Example:
Vpc vpc = new Vpc(this, "VPC"); ManagedEc2EcsComputeEnvironment.Builder.create(this, "myEc2ComputeEnv") .vpc(vpc) .defaultInstanceClasses(List.of(DefaultInstanceClass.ARM64)) .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 Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultInstanceClass
Returns the enum constant of this type with the specified name.static DefaultInstanceClass[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
X86_64
x86 based instance types (from the m6i, c6i, r6i, and c7i instance families). -
ARM64
ARM64 based instance types (from the m6g, c6g, r6g, and c7g instance families).
-
-
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
-