MultitenantDistributionDefaultCacheBehaviorLambdaFunctionAssociation constructor

const MultitenantDistributionDefaultCacheBehaviorLambdaFunctionAssociation({
  1. required Input<String> eventType,
  2. Input<bool?>? includeBody,
  3. required Input<String> lambdaFunctionArn,
})

Creates a new MultitenantDistributionDefaultCacheBehaviorLambdaFunctionAssociation. eventType Specific event to trigger this function. Valid values: viewer-request, origin-request, viewer-response, origin-response. includeBody When set to true, the request body is exposed to the Lambda function. Default: false. lambdaFunctionArn ARN of the Lambda function.

Implementation

const MultitenantDistributionDefaultCacheBehaviorLambdaFunctionAssociation({
  required this.eventType,
  this.includeBody,
  required this.lambdaFunctionArn,
});