@Stability(value=Experimental) @Internal public static final class AliasOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AliasOptions
AliasOptionssoftware.amazon.jsii.JsiiObject.InitializationModeAliasOptions.Builder, AliasOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(List<? extends VersionWeight> additionalVersions,
String description,
Number provisionedConcurrentExecutions,
Duration maxEventAge,
IDestination onFailure,
IDestination onSuccess,
Number retryAttempts)
Constructor that initializes the object based on literal property values passed by the
AliasOptions.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
List<VersionWeight> |
getAdditionalVersions()
(experimental) Additional versions with individual weights this alias points to.
|
String |
getDescription()
(experimental) Description for the alias.
|
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 alias.
|
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(List<? extends VersionWeight> additionalVersions, String description, Number provisionedConcurrentExecutions, Duration maxEventAge, IDestination onFailure, IDestination onSuccess, Number retryAttempts)
AliasOptions.Builder.public final List<VersionWeight> getAdditionalVersions()
AliasOptionsIndividual additional version weights specified here should add up to (less than) one. All remaining weight is routed to the default version.
For example, the config is
version: "1"
additionalVersions: [{ version: "2", weight: 0.05 }]
Then 5% of traffic will be routed to function version 2, while the remaining 95% of traffic will be routed to function version 1.
Default: No additional versions
getAdditionalVersions in interface AliasOptionspublic final String getDescription()
AliasOptionsDefault: No description
getDescription in interface AliasOptionspublic final Number getProvisionedConcurrentExecutions()
AliasOptionsDefault: No provisioned concurrency
getProvisionedConcurrentExecutions in interface AliasOptionspublic 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.