Enum TriggerInvalidation

java.lang.Object
java.lang.Enum<TriggerInvalidation>
software.amazon.awscdk.triggers.TriggerInvalidation
All Implemented Interfaces:
Serializable, Comparable<TriggerInvalidation>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-22T02:24:11.188Z") @Stability(Stable) public enum TriggerInvalidation extends Enum<TriggerInvalidation>
Determines.
  • Enum Constant Details

    • HANDLER_CHANGE

      @Stability(Stable) public static final TriggerInvalidation HANDLER_CHANGE
      The trigger will be executed every time the handler (or its configuration) changes.

      This is implemented by associated the trigger with the currentVersion of the AWS Lambda function, which gets recreated every time the handler changes.

  • Method Details

    • values

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