awscdk-construct-hls-session-runner
Version:
AWS CDK construct for deploying a Lambda function and SFN state machines to fetch an HLS manifest
17 lines (16 loc) • 659 B
TypeScript
import { NodejsFunction } from 'aws-cdk-lib/aws-lambda-nodejs';
import { Construct } from 'constructs';
import { SessionRequirements } from './SessionRunner';
export interface FetchLambdaProps {
readonly hlsEndpointUrl: string;
readonly requestHeaders: Record<string, string>;
readonly indexOfRenditions: number;
readonly sessionRequirements: SessionRequirements;
readonly eventStartTime: Date;
readonly requestSegments?: boolean;
readonly timeoutInSeconds?: number;
}
export declare class FetchLambda extends Construct {
readonly func: NodejsFunction;
constructor(scope: Construct, id: string, props: FetchLambdaProps);
}