UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

34 lines (33 loc) 1.16 kB
import { Construct } from "constructs"; import * as lambda from "../../../aws-lambda"; export declare class EvalNodejsSingletonFunction extends lambda.SingletonFunction { constructor(scope: Construct, id: string, props: EvalNodejsSingletonFunctionProps); } /** * Initialization properties for EvalNodejsSingletonFunction */ export interface EvalNodejsSingletonFunctionProps 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; /** * The runtime that this Lambda will use. * * @default - the latest Lambda node runtime available in your region. */ readonly runtime?: lambda.Runtime; }