aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
28 lines (27 loc) • 972 B
TypeScript
import { Construct } from "constructs";
import * as lambda from "../../../aws-lambda";
export declare class DropSpamSingletonFunction extends lambda.SingletonFunction {
constructor(scope: Construct, id: string, props: DropSpamSingletonFunctionProps);
}
/**
* Initialization properties for DropSpamSingletonFunction
*/
export interface DropSpamSingletonFunctionProps 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;
}