Enum Class RecursiveLoop

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

@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-29T22:54:21.129Z") @Stability(Stable) public enum RecursiveLoop extends Enum<RecursiveLoop>
Example:

 Function fn = Function.Builder.create(this, "MyFunction")
         .code(Code.fromAsset(join(__dirname, "handler.zip")))
         .runtime(Runtime.JAVA_11)
         .handler("example.Handler::handleRequest")
         .recursiveLoop(RecursiveLoop.TERMINATE)
         .build();
 
  • Enum Constant Details

    • ALLOW

      @Stability(Stable) public static final RecursiveLoop ALLOW
      Allows the recursive loop to happen and does not terminate it.
    • TERMINATE

      @Stability(Stable) public static final RecursiveLoop TERMINATE
      Terminates the recursive loop.
  • Method Details

    • values

      public static RecursiveLoop[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RecursiveLoop valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null