/** * Copyright (c) 2020-present, 247studios Inc. All rights reserved. * * This file is proprietary and confidential. * Unauthorized copying of this file via any medium is strictly prohibited. */ import * as cdk from "@aws-cdk/core"; import { FunctionProps } from "@aws-cdk/aws-lambda"; import { SourceConfiguration } from "@aws-cdk/aws-cloudfront"; /** * Properties to configure an HTTPS Lambda API */ export interface LambdaAPIProps { /** * Lambda Props */ readonly functionProps: FunctionProps; /** * Key value pairs that will be exposed as environment variables * during the function runtime. */ readonly functionEnvironment?: { [key: string]: string; }; } /** * Creates an AWS Lambda API with API Gateway. */ export declare class LambdaAPI extends cdk.Construct { private readonly lambdaRestAPI; constructor(scope: cdk.Construct, id: string, props: LambdaAPIProps); get hostname(): string; cloudFrontOriginConfig(sourceConfiguration: SourceConfiguration): SourceConfiguration; }