Enum DefaultInstanceClass

java.lang.Object
java.lang.Enum<DefaultInstanceClass>
software.amazon.awscdk.services.batch.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:
  • Enum Constant Details

    • X86_64

      @Stability(Stable) public static final DefaultInstanceClass X86_64
      x86 based instance types (from the m6i, c6i, r6i, and c7i instance families).
    • ARM64

      @Stability(Stable) public static final DefaultInstanceClass ARM64
      ARM64 based instance types (from the m6g, c6g, r6g, and c7g instance families).
  • Method Details

    • values

      public static DefaultInstanceClass[] 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

      public static DefaultInstanceClass valueOf(String name)
      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 name
      NullPointerException - if the argument is null