@Stability(value=Experimental) @Internal public static final class VersionProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements VersionProps
VersionPropssoftware.amazon.jsii.JsiiObject.InitializationModeVersionProps.Builder, VersionProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(IFunction lambda,
String codeSha256,
String description,
Number provisionedConcurrentExecutions,
RemovalPolicy removalPolicy,
Duration maxEventAge,
IDestination onFailure,
IDestination onSuccess,
Number retryAttempts)
Constructor that initializes the object based on literal property values passed by the
VersionProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getCodeSha256()
(experimental) SHA256 of the version of the Lambda source code.
|
String |
getDescription()
(experimental) Description of the version.
|
IFunction |
getLambda()
(experimental) Function to get the value of.
|
Duration |
getMaxEventAge()
(experimental) The maximum age of a request that Lambda sends to a function for processing.
|
IDestination |
getOnFailure()
(experimental) The destination for failed invocations.
|
IDestination |
getOnSuccess()
(experimental) The destination for successful invocations.
|
Number |
getProvisionedConcurrentExecutions()
(experimental) Specifies a provisioned concurrency configuration for a function's version.
|
RemovalPolicy |
getRemovalPolicy()
(experimental) Whether to retain old versions of this function when a new version is created.
|
Number |
getRetryAttempts()
(experimental) The maximum number of times to retry when the function returns an error.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(IFunction lambda, String codeSha256, String description, Number provisionedConcurrentExecutions, RemovalPolicy removalPolicy, Duration maxEventAge, IDestination onFailure, IDestination onSuccess, Number retryAttempts)
VersionProps.Builder.public final IFunction getLambda()
VersionPropsgetLambda in interface VersionPropspublic final String getCodeSha256()
VersionOptionsSpecify to validate that you're deploying the right version.
Default: No validation is performed
getCodeSha256 in interface VersionOptionspublic final String getDescription()
VersionOptionsDefault: Description of the Lambda
getDescription in interface VersionOptionspublic final Number getProvisionedConcurrentExecutions()
VersionOptionsDefault: No provisioned concurrency
getProvisionedConcurrentExecutions in interface VersionOptionspublic final RemovalPolicy getRemovalPolicy()
VersionOptionsDefault: RemovalPolicy.DESTROY
getRemovalPolicy in interface VersionOptionspublic final Duration getMaxEventAge()
EventInvokeConfigOptionsMinimum: 60 seconds Maximum: 6 hours
Default: Duration.hours(6)
getMaxEventAge in interface EventInvokeConfigOptionspublic final IDestination getOnFailure()
EventInvokeConfigOptionsDefault: - no destination
getOnFailure in interface EventInvokeConfigOptionspublic final IDestination getOnSuccess()
EventInvokeConfigOptionsDefault: - no destination
getOnSuccess in interface EventInvokeConfigOptionspublic final Number getRetryAttempts()
EventInvokeConfigOptionsMinimum: 0 Maximum: 2
Default: 2
getRetryAttempts in interface EventInvokeConfigOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.