Class VersionOptions.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.lambda.VersionOptions.Jsii$Proxy
All Implemented Interfaces:
EventInvokeConfigOptions, VersionOptions, software.amazon.jsii.JsiiSerializable
Enclosing interface:
VersionOptions

@Stability(Stable) @Internal public static final class VersionOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements VersionOptions
An implementation for VersionOptions
  • 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(VersionOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the VersionOptions.Builder.
  • Method Details

    • getCodeSha256

      public final String getCodeSha256()
      Description copied from interface: VersionOptions
      SHA256 of the version of the Lambda source code.

      Specify to validate that you're deploying the right version.

      Default: No validation is performed

      Specified by:
      getCodeSha256 in interface VersionOptions
    • getDescription

      public final String getDescription()
      Description copied from interface: VersionOptions
      Description of the version.

      Default: Description of the Lambda

      Specified by:
      getDescription in interface VersionOptions
    • getMaxExecutionEnvironments

      public final Number getMaxExecutionEnvironments()
      Description copied from interface: VersionOptions
      The maximum number of execution environments allowed for this version when published into a capacity provider.

      This setting limits the total number of execution environments that can be created to handle concurrent invocations of this specific version.

      Default: - No maximum specified

      Specified by:
      getMaxExecutionEnvironments in interface VersionOptions
    • getMinExecutionEnvironments

      public final Number getMinExecutionEnvironments()
      Description copied from interface: VersionOptions
      The minimum number of execution environments to maintain for this version when published into a capacity provider.

      This setting ensures that at least this many execution environments are always available to handle function invocations for this specific version, reducing cold start latency.

      Default: - 3 execution environments are set to be the minimum

      Specified by:
      getMinExecutionEnvironments in interface VersionOptions
    • getProvisionedConcurrentExecutions

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

      Default: No provisioned concurrency

      Specified by:
      getProvisionedConcurrentExecutions in interface VersionOptions
    • getRemovalPolicy

      public final RemovalPolicy getRemovalPolicy()
      Description copied from interface: VersionOptions
      Whether to retain old versions of this function when a new version is created.

      Default: RemovalPolicy.DESTROY

      Specified by:
      getRemovalPolicy in interface VersionOptions
    • 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