Class EdgeLambda.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class EdgeLambda.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements EdgeLambda
An implementation for EdgeLambda
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudfront.EdgeLambda

    EdgeLambda.Builder, EdgeLambda.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the EdgeLambda.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    The type of event in response to which should the function be invoked.
    final IVersion
    The version of the Lambda function that will be invoked.
    final Boolean
    Allows a Lambda function to have read access to the body content.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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(EdgeLambda.Builder builder)
      Constructor that initializes the object based on literal property values passed by the EdgeLambda.Builder.
  • Method Details

    • getEventType

      public final LambdaEdgeEventType getEventType()
      Description copied from interface: EdgeLambda
      The type of event in response to which should the function be invoked.
      Specified by:
      getEventType in interface EdgeLambda
    • getFunctionVersion

      public final IVersion getFunctionVersion()
      Description copied from interface: EdgeLambda
      The version of the Lambda function that will be invoked.

      Note: it's not possible to use the '$LATEST' function version for Lambda@Edge!

      Specified by:
      getFunctionVersion in interface EdgeLambda
    • getIncludeBody

      public final Boolean getIncludeBody()
      Description copied from interface: EdgeLambda
      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 EdgeLambda
    • $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