public static final class AliasOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AliasOptions
AliasOptions
AliasOptions.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.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.util.List<VersionWeight> |
getAdditionalVersions()
Additional versions with individual weights this alias points to.
|
java.lang.String |
getDescription()
Description for the alias.
|
Duration |
getMaxEventAge()
The maximum age of a request that Lambda sends to a function for processing.
|
IDestination |
getOnFailure()
The destination for failed invocations.
|
IDestination |
getOnSuccess()
The destination for successful invocations.
|
java.lang.Number |
getProvisionedConcurrentExecutions()
Specifies a provisioned concurrency configuration for a function's alias.
|
java.lang.Number |
getRetryAttempts()
The maximum number of times to retry when the function returns an error.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.util.List<VersionWeight> getAdditionalVersions()
AliasOptions
Individual 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 AliasOptions
public final java.lang.String getDescription()
AliasOptions
Default: No description
getDescription
in interface AliasOptions
public final java.lang.Number getProvisionedConcurrentExecutions()
AliasOptions
Default: No provisioned concurrency
getProvisionedConcurrentExecutions
in interface AliasOptions
public final Duration getMaxEventAge()
EventInvokeConfigOptions
Minimum: 60 seconds Maximum: 6 hours
Default: Duration.hours(6)
getMaxEventAge
in interface EventInvokeConfigOptions
public final IDestination getOnFailure()
EventInvokeConfigOptions
Default: - no destination
getOnFailure
in interface EventInvokeConfigOptions
public final IDestination getOnSuccess()
EventInvokeConfigOptions
Default: - no destination
getOnSuccess
in interface EventInvokeConfigOptions
public final java.lang.Number getRetryAttempts()
EventInvokeConfigOptions
Minimum: 0 Maximum: 2
Default: 2
getRetryAttempts
in interface EventInvokeConfigOptions
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()