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

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:04.119Z") @Stability(Stable) public enum OpsItemCategory extends Enum<OpsItemCategory>
Types of OpsItem category available.

Example:

 Alarm alarm;
 // Create an OpsItem with specific severity and category when alarm triggers
 alarm.addAlarmAction(
 new SsmAction(OpsItemSeverity.CRITICAL, OpsItemCategory.PERFORMANCE));
 
  • Enum Constant Details

    • AVAILABILITY

      @Stability(Stable) public static final OpsItemCategory AVAILABILITY
      Set the category to availability.
    • COST

      @Stability(Stable) public static final OpsItemCategory COST
      Set the category to cost.
    • PERFORMANCE

      @Stability(Stable) public static final OpsItemCategory PERFORMANCE
      Set the category to performance.
    • RECOVERY

      @Stability(Stable) public static final OpsItemCategory RECOVERY
      Set the category to recovery.
    • SECURITY

      @Stability(Stable) public static final OpsItemCategory SECURITY
      Set the category to security.
  • Method Details

    • values

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