Class LambdaDestinationOptions.Jsii$Proxy

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

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

    • getResponseOnly

      public final Boolean getResponseOnly()
      Description copied from interface: LambdaDestinationOptions
      Whether the destination function receives only the responsePayload of the source function.

      When set to true and used as onSuccess destination, the destination function will be invoked with the payload returned by the source function.

      When set to true and used as onFailure destination, the destination function will be invoked with the error object returned by source function.

      See the README of this module to see a full explanation of this option.

      Default: false The destination function receives the full invocation record.

      Specified by:
      getResponseOnly in interface LambdaDestinationOptions
    • $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