DistributionLambdaFunctionAssociation

data class DistributionLambdaFunctionAssociation(val eventType: String? = null, val includeBody: Boolean? = null, val lambdaFunctionArn: String? = null)

A complex type that contains a Lambda@Edge function association.

Constructors

Link copied to clipboard
constructor(eventType: String? = null, includeBody: Boolean? = null, lambdaFunctionArn: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val eventType: String? = null

Specifies the event type that triggers a Lambda@Edge function invocation. You can specify the following values:

Link copied to clipboard
val includeBody: Boolean? = null

A flag that allows a Lambda@Edge function to have read access to the body content. For more information, see Accessing the Request Body by Choosing the Include Body Option in the Amazon CloudFront Developer Guide.

Link copied to clipboard

The ARN of the Lambda@Edge function. You must specify the ARN of a function version; you can't specify an alias or $LATEST.