DistributionOrderedCacheBehaviorLambdaFunctionAssociation constructor

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

Creates a new DistributionOrderedCacheBehaviorLambdaFunctionAssociation. eventType Specific event to trigger this function. Valid values: viewer-request, origin-request, viewer-response, origin-response. includeBody When set to true it exposes the request body to the lambda function. Defaults to false. Valid values: true, false. lambdaArn ARN of the Lambda function.

Implementation

const DistributionOrderedCacheBehaviorLambdaFunctionAssociation({
  required this.eventType,
  this.includeBody,
  required this.lambdaArn,
});