RecursiveLoop

class aws_cdk.aws_lambda.RecursiveLoop(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

ExampleMetadata:

infused

Example:

fn = lambda_.Function(self, "MyFunction",
    code=lambda_.Code.from_asset(path.join(__dirname, "handler.zip")),
    runtime=lambda_.Runtime.JAVA_11,
    handler="example.Handler::handleRequest",
    recursive_loop=lambda_.RecursiveLoop.TERMINATE
)

Attributes

ALLOW

Allows the recursive loop to happen and does not terminate it.

TERMINATE

Terminates the recursive loop.