Options for configuring the LambdaScheduler.
Duration to invoke the Lambda function.
Note: Must be greater than 1 minute.
import * as cdk from 'aws-cdk-lib';const interval = cdk.Duration.minutes(20); // Invoke the lambda every 20 minutes Copy
import * as cdk from 'aws-cdk-lib';const interval = cdk.Duration.minutes(20); // Invoke the lambda every 20 minutes
The Lambda function to be invoked at the specified duration.
Indicates whether the scheduler should be enabled.
Options for configuring the LambdaScheduler.