Options for configuring the SubMinuteLambdaScheduler.

interface SubMinuteLambdaSchedulerOptions {
    interval: number;
    lambdaFunction: Function;
    enabled: boolean;
}

Properties

interval: number

Interval in seconds to invoke the Lambda function.

Note: The interval must evenly divide one minute (60 seconds).

lambdaFunction: Function

The Lambda function to be invoked at the specified interval.

enabled: boolean

Indicates whether the scheduler should be enabled.