Interface ISingletonFunctionProps
Properties for a newly created singleton Lambda.
Inherited Members
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ISingletonFunctionProps : IFunctionProps, IFunctionOptions, IEventInvokeConfigOptions
Syntax (vb)
Public Interface ISingletonFunctionProps
Inherits IFunctionProps, IFunctionOptions, IEventInvokeConfigOptions
Remarks
ExampleMetadata: infused
Examples
var fn = new SingletonFunction(this, "MyProvider", functionProps);
new CustomResource(this, "MyResource", new CustomResourceProps {
ServiceToken = fn.FunctionArn
});
Synopsis
Properties
LambdaPurpose | A descriptive name for the purpose of this Lambda. |
Uuid | A unique identifier to identify this lambda. |
Properties
LambdaPurpose
A descriptive name for the purpose of this Lambda.
virtual string LambdaPurpose { get; }
Property Value
System.String
Remarks
If the Lambda does not have a physical name, this string will be reflected its generated name. The combination of lambdaPurpose and uuid must be unique.
Default: SingletonLambda
Uuid
A unique identifier to identify this lambda.
string Uuid { get; }
Property Value
System.String
Remarks
The identifier should be unique across all custom resource providers. We recommend generating a UUID per provider.