UNPKG

@faceteer/cdk

Version:

CDK 2.0 constructs and helpers that make composing a Lambda powered service easier.

11 lines (10 loc) 506 B
import * as events from 'aws-cdk-lib/aws-events'; import { Construct } from 'constructs'; import { CronHandlerDefinition } from '../handlers'; import { BaseFunction, BaseFunctionProps } from './base-function'; export interface ServiceCronFunctionProps extends BaseFunctionProps<CronHandlerDefinition> { } export declare class ServiceCronFunction extends BaseFunction<CronHandlerDefinition> { readonly rule: events.Rule; constructor(scope: Construct, id: string, props: ServiceCronFunctionProps); }