Interface SingletonFunctionProps
- All Superinterfaces:
EventInvokeConfigOptions
,FunctionOptions
,FunctionProps
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SingletonFunctionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:17.729Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forSingletonFunctionProps
static final class
An implementation forSingletonFunctionProps
-
Method Summary
Methods inherited from interface software.amazon.awscdk.services.lambda.EventInvokeConfigOptions
getMaxEventAge, getOnFailure, getOnSuccess, getRetryAttempts
Methods 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, getLogRetention, getLogRetentionRetryOptions, getLogRetentionRole, getMemorySize, getParamsAndSecrets, getProfiling, getProfilingGroup, getRecursiveLoop, getReservedConcurrentExecutions, getRole, getRuntimeManagementMode, getSecurityGroups, getSnapStart, getSystemLogLevel, getSystemLogLevelV2, getTimeout, getTracing, getVpc, getVpcSubnets
Methods inherited from interface software.amazon.awscdk.services.lambda.FunctionProps
getCode, getHandler, getRuntime
Methods 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.Builder
ofSingletonFunctionProps
-