aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
14 lines (13 loc) • 587 B
TypeScript
import type { ScheduleTargetBaseProps } from './target';
import { ScheduleTargetBase } from './target';
import type { IRole } from '../../aws-iam';
import type * as lambda from '../../aws-lambda';
import type { IScheduleTarget } from '../../aws-scheduler';
/**
* Use an AWS Lambda function as a target for AWS EventBridge Scheduler.
*/
export declare class LambdaInvoke extends ScheduleTargetBase implements IScheduleTarget {
private readonly func;
constructor(func: lambda.IFunction, props?: ScheduleTargetBaseProps);
protected addTargetActionToRole(role: IRole): void;
}