Interface SingletonFunctionProps

All Superinterfaces:
EventInvokeConfigOptions, FunctionOptions, FunctionProps,
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-18T17:54:19.290Z") @Stability(Stable) public interface SingletonFunctionProps extends, FunctionProps
Properties for a newly created singleton Lambda.


 SingletonFunction fn = new SingletonFunction(this, "MyProvider", functionProps);
 CustomResource.Builder.create(this, "MyResource")
  • Method Details

    • getUuid

      @Stability(Stable) @NotNull String getUuid()
      A unique identifier to identify this lambda.

      The identifier should be unique across all custom resource providers. We recommend generating a UUID per provider.

    • getLambdaPurpose

      @Stability(Stable) @Nullable default String getLambdaPurpose()
      A descriptive name for the purpose of this Lambda.

      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

    • builder

      @Stability(Stable) static SingletonFunctionProps.Builder builder()
      a SingletonFunctionProps.Builder of SingletonFunctionProps