DistributionLambdaFunctionAssociationArgs

data class DistributionLambdaFunctionAssociationArgs(val eventType: Output<String>? = null, val includeBody: Output<Boolean>? = null, val lambdaFunctionArn: Output<String>? = null) : ConvertibleToJava<DistributionLambdaFunctionAssociationArgs>

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

Constructors

constructor(eventType: Output<String>? = null, includeBody: Output<Boolean>? = null, lambdaFunctionArn: Output<String>? = null)

Properties

Link copied to clipboard
val eventType: Output<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: Output<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
val lambdaFunctionArn: Output<String>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): DistributionLambdaFunctionAssociationArgs