Class AliasOptions.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.lambda.AliasOptions.Jsii$Proxy
- All Implemented Interfaces:
AliasOptions
,EventInvokeConfigOptions
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
AliasOptions
@Stability(Stable)
@Internal
public static final class AliasOptions.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements AliasOptions
An implementation for
AliasOptions
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.lambda.AliasOptions
AliasOptions.Builder, AliasOptions.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Jsii$Proxy
(AliasOptions.Builder builder) Constructor that initializes the object based on literal property values passed by theAliasOptions.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final List<VersionWeight>
Additional versions with individual weights this alias points to.final String
Description for the alias.final Duration
The maximum age of a request that Lambda sends to a function for processing.final IDestination
The destination for failed invocations.final IDestination
The destination for successful invocations.final Number
Specifies a provisioned concurrency configuration for a function's alias.final Number
The maximum number of times to retry when the function returns an error.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theAliasOptions.Builder
.
-
-
Method Details
-
getAdditionalVersions
Description copied from interface:AliasOptions
Additional versions with individual weights this alias points to.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
- Specified by:
getAdditionalVersions
in interfaceAliasOptions
-
getDescription
Description copied from interface:AliasOptions
Description for the alias.Default: No description
- Specified by:
getDescription
in interfaceAliasOptions
-
getProvisionedConcurrentExecutions
Description copied from interface:AliasOptions
Specifies a provisioned concurrency configuration for a function's alias.Default: No provisioned concurrency
- Specified by:
getProvisionedConcurrentExecutions
in interfaceAliasOptions
-
getMaxEventAge
Description copied from interface:EventInvokeConfigOptions
The maximum age of a request that Lambda sends to a function for processing.Minimum: 60 seconds Maximum: 6 hours
Default: Duration.hours(6)
- Specified by:
getMaxEventAge
in interfaceEventInvokeConfigOptions
-
getOnFailure
Description copied from interface:EventInvokeConfigOptions
The destination for failed invocations.Default: - no destination
- Specified by:
getOnFailure
in interfaceEventInvokeConfigOptions
-
getOnSuccess
Description copied from interface:EventInvokeConfigOptions
The destination for successful invocations.Default: - no destination
- Specified by:
getOnSuccess
in interfaceEventInvokeConfigOptions
-
getRetryAttempts
Description copied from interface:EventInvokeConfigOptions
The maximum number of times to retry when the function returns an error.Minimum: 0 Maximum: 2
Default: 2
- Specified by:
getRetryAttempts
in interfaceEventInvokeConfigOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-