Class AliasProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.lambda.AliasProps.Jsii$Proxy
- All Implemented Interfaces:
AliasOptions
,AliasProps
,EventInvokeConfigOptions
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
AliasProps
@Stability(Stable)
@Internal
public static final class AliasProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements AliasProps
An implementation for
AliasProps
-
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.AliasProps
AliasProps.Builder, AliasProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(AliasProps.Builder builder) Constructor that initializes the object based on literal property values passed by theAliasProps.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
Name of this alias.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 IVersion
Function version this alias refers to.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 theAliasProps.Builder
.
-
-
Method Details
-
getAliasName
Description copied from interface:AliasProps
Name of this alias.- Specified by:
getAliasName
in interfaceAliasProps
-
getVersion
Description copied from interface:AliasProps
Function version this alias refers to.Use lambda.currentVersion to reference a version with your latest changes.
- Specified by:
getVersion
in interfaceAliasProps
-
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()
-