34 lines
1.1 KiB
TypeScript
34 lines
1.1 KiB
TypeScript
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;
|
|
}
|