Interface LambdaFunctionAssociation

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:43.722Z") @Stability(Stable) public interface LambdaFunctionAssociation extends

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 Version version;
 LambdaFunctionAssociation lambdaFunctionAssociation = LambdaFunctionAssociation.builder()
         // the properties below are optional
  • Method Details

    • getEventType

      @Stability(Stable) @NotNull LambdaEdgeEventType getEventType()
      The lambda event type defines at which event the lambda is called during the request lifecycle.
    • getLambdaFunction

      @Stability(Stable) @NotNull IVersion getLambdaFunction()
      A version of the lambda to associate.
    • getIncludeBody

      @Stability(Stable) @Nullable default Boolean getIncludeBody()
      Allows a Lambda function to have read access to the body content.

      Only valid for "request" event types (ORIGIN_REQUEST or VIEWER_REQUEST). See

      Default: false

    • builder

      @Stability(Stable) static LambdaFunctionAssociation.Builder builder()
      a LambdaFunctionAssociation.Builder of LambdaFunctionAssociation