awscdk-construct-scte-scheduler
Version:
AWS CDK Construct for scheduling SCTE-35 events using the MediaLive schedule API
19 lines (18 loc) • 713 B
TypeScript
import { CronOptions } from 'aws-cdk-lib/aws-events';
import { IFunction } from 'aws-cdk-lib/aws-lambda';
import { Construct } from 'constructs';
import { EventBridgeSchedule } from './EventBridgeSchedule';
import { Lambda } from './Lambda';
export interface ScteSchedulerProps {
readonly channelId: string;
readonly scteDurationInSeconds: number;
readonly intervalInMinutes: number;
readonly cronOptions?: CronOptions;
readonly repeatCount?: number;
readonly callback?: IFunction;
}
export declare class ScteScheduler extends Construct {
readonly lambda: Lambda;
readonly schedule?: EventBridgeSchedule;
constructor(scope: Construct, id: string, props: ScteSchedulerProps);
}