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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.lambda.AliasOptions
AliasOptions.Builder, AliasOptions.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(AliasOptions.Builder builder) Constructor that initializes the object based on literal property values passed by theAliasOptions.Builder.protectedJsii$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.JsonNodefinal booleanfinal List<VersionWeight> Additional versions with individual weights this alias points to.final StringDescription for the alias.final DurationThe maximum age of a request that Lambda sends to a function for processing.final IDestinationThe destination for failed invocations.final IDestinationThe destination for successful invocations.final NumberSpecifies a provisioned concurrency configuration for a function's alias.final NumberThe maximum number of times to retry when the function returns an error.final inthashCode()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:AliasOptionsAdditional 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:
getAdditionalVersionsin interfaceAliasOptions
-
getDescription
Description copied from interface:AliasOptionsDescription for the alias.Default: No description
- Specified by:
getDescriptionin interfaceAliasOptions
-
getProvisionedConcurrentExecutions
Description copied from interface:AliasOptionsSpecifies a provisioned concurrency configuration for a function's alias.Default: No provisioned concurrency
- Specified by:
getProvisionedConcurrentExecutionsin interfaceAliasOptions
-
getMaxEventAge
Description copied from interface:EventInvokeConfigOptionsThe 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:
getMaxEventAgein interfaceEventInvokeConfigOptions
-
getOnFailure
Description copied from interface:EventInvokeConfigOptionsThe destination for failed invocations.Default: - no destination
- Specified by:
getOnFailurein interfaceEventInvokeConfigOptions
-
getOnSuccess
Description copied from interface:EventInvokeConfigOptionsThe destination for successful invocations.Default: - no destination
- Specified by:
getOnSuccessin interfaceEventInvokeConfigOptions
-
getRetryAttempts
Description copied from interface:EventInvokeConfigOptionsThe maximum number of times to retry when the function returns an error.Minimum: 0 Maximum: 2
Default: 2
- Specified by:
getRetryAttemptsin interfaceEventInvokeConfigOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-