Interface SingletonFunctionProps
- All Superinterfaces:
EventInvokeConfigOptions,FunctionOptions,FunctionProps,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SingletonFunctionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-12-01T16:02:23.746Z")
@Stability(Stable)
public interface SingletonFunctionProps
extends software.amazon.jsii.JsiiSerializable, FunctionProps
Properties for a newly created singleton Lambda.
Example:
SingletonFunction fn = new SingletonFunction(this, "MyProvider", functionProps);
CustomResource.Builder.create(this, "MyResource")
.serviceToken(fn.getFunctionArn())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forSingletonFunctionPropsstatic final classAn implementation forSingletonFunctionProps -
Method Summary
Methods inherited from interface software.amazon.awscdk.services.lambda.EventInvokeConfigOptions
getMaxEventAge, getOnFailure, getOnSuccess, getRetryAttemptsMethods inherited from interface software.amazon.awscdk.services.lambda.FunctionOptions
getAdotInstrumentation, getAllowAllIpv6Outbound, getAllowAllOutbound, getAllowPublicSubnet, getApplicationLogLevel, getApplicationLogLevelV2, getArchitecture, getCodeSigningConfig, getCurrentVersionOptions, getDeadLetterQueue, getDeadLetterQueueEnabled, getDeadLetterTopic, getDescription, getEnvironment, getEnvironmentEncryption, getEphemeralStorageSize, getEvents, getFilesystem, getFunctionName, getInitialPolicy, getInsightsVersion, getIpv6AllowedForDualStack, getLayers, getLogFormat, getLoggingFormat, getLogGroup, getLogRemovalPolicy, getLogRetention, getLogRetentionRetryOptions, getLogRetentionRole, getMemorySize, getParamsAndSecrets, getProfiling, getProfilingGroup, getRecursiveLoop, getReservedConcurrentExecutions, getRole, getRuntimeManagementMode, getSecurityGroups, getSnapStart, getSystemLogLevel, getSystemLogLevelV2, getTenancyConfig, getTimeout, getTracing, getVpc, getVpcSubnetsMethods inherited from interface software.amazon.awscdk.services.lambda.FunctionProps
getCode, getHandler, getRuntimeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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
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
- Returns:
- a
SingletonFunctionProps.BuilderofSingletonFunctionProps
-