Enum 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.104.0 (build e79254c)", date="2024-11-06T23:25:12.198Z") @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 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 RecursiveLoop 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