Enum LaunchType

java.lang.Object
java.lang.Enum<LaunchType>
software.amazon.awscdk.services.ecs.LaunchType
All Implemented Interfaces:
Serializable, Comparable<LaunchType>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:47.409Z") @Stability(Stable) public enum LaunchType extends Enum<LaunchType>
The launch type of an ECS service.
  • Enum Constant Details

    • EC2

      @Stability(Stable) public static final LaunchType EC2
      The service will be launched using the EC2 launch type.
    • FARGATE

      @Stability(Stable) public static final LaunchType FARGATE
      The service will be launched using the FARGATE launch type.
    • EXTERNAL

      @Stability(Stable) public static final LaunchType EXTERNAL
      The service will be launched using the EXTERNAL launch type.
  • Method Details

    • values

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