awscdk-construct-scte-scheduler
Version:
AWS CDK Construct for scheduling SCTE-35 events using the MediaLive schedule API
13 lines (12 loc) • 513 B
TypeScript
import { Rule, Schedule } from 'aws-cdk-lib/aws-events';
import { NodejsFunction } from 'aws-cdk-lib/aws-lambda-nodejs';
import { StateMachine } from 'aws-cdk-lib/aws-stepfunctions';
import { Construct } from 'constructs';
export interface EventBridgeScheduleProps {
readonly target: NodejsFunction | StateMachine;
readonly schedule: Schedule;
}
export declare class EventBridgeSchedule extends Construct {
rule: Rule;
constructor(scope: Construct, id: string, props: EventBridgeScheduleProps);
}