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
  • 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

      protected Jsii$Proxy(AliasOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the AliasOptions.Builder.
  • Method Details

    • getAdditionalVersions

      public final List<VersionWeight> 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 interface AliasOptions
    • getDescription

      public final String getDescription()
      Description copied from interface: AliasOptions
      Description for the alias.

      Default: No description

      Specified by:
      getDescription in interface AliasOptions
    • getProvisionedConcurrentExecutions

      public final Number getProvisionedConcurrentExecutions()
      Description copied from interface: AliasOptions
      Specifies a provisioned concurrency configuration for a function's alias.

      Default: No provisioned concurrency

      Specified by:
      getProvisionedConcurrentExecutions in interface AliasOptions
    • getMaxEventAge

      public final Duration 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 interface EventInvokeConfigOptions
    • getOnFailure

      public final IDestination getOnFailure()
      Description copied from interface: EventInvokeConfigOptions
      The destination for failed invocations.

      Default: - no destination

      Specified by:
      getOnFailure in interface EventInvokeConfigOptions
    • getOnSuccess

      public final IDestination getOnSuccess()
      Description copied from interface: EventInvokeConfigOptions
      The destination for successful invocations.

      Default: - no destination

      Specified by:
      getOnSuccess in interface EventInvokeConfigOptions
    • getRetryAttempts

      public final Number 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 interface EventInvokeConfigOptions
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object