Uses of Class
software.amazon.awscdk.services.lambda.SingletonFunction.Builder
-
Uses of SingletonFunction.Builder in software.amazon.awscdk.services.lambda
Modifier and TypeMethodDescriptionSingletonFunction.Builder.adotInstrumentation
(AdotInstrumentationConfig adotInstrumentation) Specify the configuration of AWS Distro for OpenTelemetry (ADOT) instrumentation.SingletonFunction.Builder.allowAllIpv6Outbound
(Boolean allowAllIpv6Outbound) Whether to allow the Lambda to send all ipv6 network traffic.SingletonFunction.Builder.allowAllOutbound
(Boolean allowAllOutbound) Whether to allow the Lambda to send all network traffic (except ipv6).SingletonFunction.Builder.allowPublicSubnet
(Boolean allowPublicSubnet) Lambda Functions in a public subnet can NOT access the internet.SingletonFunction.Builder.applicationLogLevel
(String applicationLogLevel) Deprecated.SingletonFunction.Builder.applicationLogLevelV2
(ApplicationLogLevel applicationLogLevelV2) Sets the application log level for the function.SingletonFunction.Builder.architecture
(Architecture architecture) The system architectures compatible with this lambda function.The source code of your Lambda function.SingletonFunction.Builder.codeSigningConfig
(ICodeSigningConfig codeSigningConfig) Code signing config associated with this function.static SingletonFunction.Builder
SingletonFunction.Builder.currentVersionOptions
(VersionOptions currentVersionOptions) Options for thelambda.Version
resource automatically created by thefn.currentVersion
method.SingletonFunction.Builder.deadLetterQueue
(IQueue deadLetterQueue) The SQS queue to use if DLQ is enabled.SingletonFunction.Builder.deadLetterQueueEnabled
(Boolean deadLetterQueueEnabled) Enabled DLQ.SingletonFunction.Builder.deadLetterTopic
(ITopic deadLetterTopic) The SNS topic to use as a DLQ.SingletonFunction.Builder.description
(String description) A description of the function.SingletonFunction.Builder.environment
(Map<String, String> environment) Key-value pairs that Lambda caches and makes available for your Lambda functions.SingletonFunction.Builder.environmentEncryption
(IKey environmentEncryption) The AWS KMS key that's used to encrypt your function's environment variables.SingletonFunction.Builder.ephemeralStorageSize
(Size ephemeralStorageSize) The size of the function’s /tmp directory in MiB.SingletonFunction.Builder.events
(List<? extends IEventSource> events) Event sources for this function.SingletonFunction.Builder.filesystem
(FileSystem filesystem) The filesystem configuration for the lambda function.SingletonFunction.Builder.functionName
(String functionName) A name for the function.The name of the method within your code that Lambda calls to execute your function.SingletonFunction.Builder.initialPolicy
(List<? extends PolicyStatement> initialPolicy) Initial policy statements to add to the created Lambda Role.SingletonFunction.Builder.insightsVersion
(LambdaInsightsVersion insightsVersion) Specify the version of CloudWatch Lambda insights to use for monitoring.SingletonFunction.Builder.ipv6AllowedForDualStack
(Boolean ipv6AllowedForDualStack) Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.SingletonFunction.Builder.lambdaPurpose
(String lambdaPurpose) A descriptive name for the purpose of this Lambda.SingletonFunction.Builder.layers
(List<? extends ILayerVersion> layers) A list of layers to add to the function's execution environment.Deprecated.UseloggingFormat
as a property instead.SingletonFunction.Builder.loggingFormat
(LoggingFormat loggingFormat) Sets the loggingFormat for the function.The log group the function sends logs to.SingletonFunction.Builder.logRetention
(RetentionDays logRetention) The number of days log events are kept in CloudWatch Logs.SingletonFunction.Builder.logRetentionRetryOptions
(LogRetentionRetryOptions logRetentionRetryOptions) When log retention is specified, a custom resource attempts to create the CloudWatch log group.SingletonFunction.Builder.logRetentionRole
(IRole logRetentionRole) The IAM role for the Lambda function associated with the custom resource that sets the retention policy.SingletonFunction.Builder.maxEventAge
(Duration maxEventAge) The maximum age of a request that Lambda sends to a function for processing.SingletonFunction.Builder.memorySize
(Number memorySize) The amount of memory, in MB, that is allocated to your Lambda function.SingletonFunction.Builder.onFailure
(IDestination onFailure) The destination for failed invocations.SingletonFunction.Builder.onSuccess
(IDestination onSuccess) The destination for successful invocations.SingletonFunction.Builder.paramsAndSecrets
(ParamsAndSecretsLayerVersion paramsAndSecrets) Specify the configuration of Parameters and Secrets Extension.Enable profiling.SingletonFunction.Builder.profilingGroup
(IProfilingGroup profilingGroup) Profiling Group.SingletonFunction.Builder.recursiveLoop
(RecursiveLoop recursiveLoop) Sets the Recursive Loop Protection for Lambda Function.SingletonFunction.Builder.reservedConcurrentExecutions
(Number reservedConcurrentExecutions) The maximum of concurrent executions you want to reserve for the function.SingletonFunction.Builder.retryAttempts
(Number retryAttempts) The maximum number of times to retry when the function returns an error.Lambda execution role.The runtime environment for the Lambda function that you are uploading.SingletonFunction.Builder.runtimeManagementMode
(RuntimeManagementMode runtimeManagementMode) Sets the runtime management configuration for a function's version.SingletonFunction.Builder.securityGroups
(List<? extends ISecurityGroup> securityGroups) The list of security groups to associate with the Lambda's network interfaces.SingletonFunction.Builder.snapStart
(SnapStartConf snapStart) Enable SnapStart for Lambda Function.SingletonFunction.Builder.systemLogLevel
(String systemLogLevel) Deprecated.UsesystemLogLevelV2
as a property instead.SingletonFunction.Builder.systemLogLevelV2
(SystemLogLevel systemLogLevelV2) Sets the system log level for the function.The function execution time (in seconds) after which Lambda terminates the function.Enable AWS X-Ray Tracing for Lambda Function.A unique identifier to identify this lambda.VPC network to place Lambda network interfaces.SingletonFunction.Builder.vpcSubnets
(SubnetSelection vpcSubnets) Where to place the network interfaces within the VPC.
applicationLogLevelV2
as a property instead.