DistributionOrderedCacheBehaviorLambdaFunctionAssociation

data class DistributionOrderedCacheBehaviorLambdaFunctionAssociation(val eventType: String, val includeBody: Boolean? = null, val lambdaArn: String)

Constructors

constructor(eventType: String, includeBody: Boolean? = null, lambdaArn: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Specific event to trigger this function. Valid values: viewer-request, origin-request, viewer-response, origin-response.

Link copied to clipboard
val includeBody: Boolean? = null

When set to true it exposes the request body to the lambda function. Defaults to false. Valid values: true, false.

Link copied to clipboard

ARN of the Lambda function.