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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.lambda.AliasProps
AliasProps.Builder, AliasProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(AliasProps.Builder builder) Constructor that initializes the object based on literal property values passed by theAliasProps.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 StringName of this alias.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 IVersionFunction version this alias refers to.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 theAliasProps.Builder.
-
-
Method Details
-
getAliasName
Description copied from interface:AliasPropsName of this alias.- Specified by:
getAliasNamein interfaceAliasProps
-
getVersion
Description copied from interface:AliasPropsFunction version this alias refers to.Use lambda.currentVersion to reference a version with your latest changes.
- Specified by:
getVersionin interfaceAliasProps
-
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()
-