Class LambdaFunctionAssociation.Jsii$Proxy

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

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

    • getEventType

      public final LambdaEdgeEventType getEventType()
      Description copied from interface: LambdaFunctionAssociation
      The lambda event type defines at which event the lambda is called during the request lifecycle.
      Specified by:
      getEventType in interface LambdaFunctionAssociation
    • getLambdaFunction

      public final IVersion getLambdaFunction()
      Description copied from interface: LambdaFunctionAssociation
      A version of the lambda to associate.
      Specified by:
      getLambdaFunction in interface LambdaFunctionAssociation
    • getIncludeBody

      public final Boolean getIncludeBody()
      Description copied from interface: LambdaFunctionAssociation
      Allows a Lambda function to have read access to the body content.

      Only valid for "request" event types (ORIGIN_REQUEST or VIEWER_REQUEST). See https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-include-body-access.html

      Default: false

      Specified by:
      getIncludeBody in interface LambdaFunctionAssociation
    • $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