UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

28 lines (27 loc) 964 B
import { Construct } from "constructs"; import * as lambda from "../../../aws-lambda"; export declare class AwsApiSingletonFunction extends lambda.SingletonFunction { constructor(scope: Construct, id: string, props: AwsApiSingletonFunctionProps); } /** * Initialization properties for AwsApiSingletonFunction */ export interface AwsApiSingletonFunctionProps extends lambda.FunctionOptions { /** * A unique identifier to identify this Lambda. * * The identifier should be unique across all custom resource providers. * We recommend generating a UUID per provider. */ readonly uuid: string; /** * A descriptive name for the purpose of this Lambda. * * If the Lambda does not have a physical name, this string will be * reflected in its generated name. The combination of lambdaPurpose * and uuid must be unique. * * @default SingletonLambda */ readonly lambdaPurpose?: string; }