FunctionAssociationArgs

data class FunctionAssociationArgs(val eventType: Output<String>? = null, val functionARN: Output<String>? = null) : ConvertibleToJava<FunctionAssociationArgs>

Definition of FunctionAssociation

Constructors

Link copied to clipboard
constructor(eventType: Output<String>? = null, functionARN: Output<String>? = null)

Properties

Link copied to clipboard
val eventType: Output<String>? = null

The event type of the function, either `viewer-request` or `viewer-response`. You cannot use origin-facing event types (`origin-request` and `origin-response`) with a CloudFront function.

Link copied to clipboard
val functionARN: Output<String>? = null

The Amazon Resource Name (ARN) of the function.

Functions

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