| Modifier and Type | Method and Description |
|---|---|
Version.Builder |
Version.Builder.codeSha256(String codeSha256)
SHA256 of the version of the Lambda source code.
|
static Version.Builder |
Version.Builder.create(software.constructs.Construct scope,
String id) |
Version.Builder |
Version.Builder.description(String description)
Description of the version.
|
Version.Builder |
Version.Builder.lambda(IFunction lambda)
Function to get the value of.
|
Version.Builder |
Version.Builder.maxEventAge(Duration maxEventAge)
The maximum age of a request that Lambda sends to a function for processing.
|
Version.Builder |
Version.Builder.onFailure(IDestination onFailure)
The destination for failed invocations.
|
Version.Builder |
Version.Builder.onSuccess(IDestination onSuccess)
The destination for successful invocations.
|
Version.Builder |
Version.Builder.provisionedConcurrentExecutions(Number provisionedConcurrentExecutions)
Specifies a provisioned concurrency configuration for a function's version.
|
Version.Builder |
Version.Builder.removalPolicy(RemovalPolicy removalPolicy)
Whether to retain old versions of this function when a new version is created.
|
Version.Builder |
Version.Builder.retryAttempts(Number retryAttempts)
The maximum number of times to retry when the function returns an error.
|
Copyright © 2021. All rights reserved.