Enum InstanceMonitoring

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

@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)", date="2025-10-01T17:46:52.992Z") @Stability(Stable) public enum InstanceMonitoring extends Enum<InstanceMonitoring>
The monitoring configuration for EC2 instances.
  • Enum Constant Details

    • BASIC

      @Stability(Stable) public static final InstanceMonitoring BASIC
      Basic monitoring (5-minute intervals).
    • DETAILED

      @Stability(Stable) public static final InstanceMonitoring DETAILED
      Detailed monitoring (1-minute intervals).
  • Method Details

    • values

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