Skip to content

CloudFront  >  Dictionaries  >  FunctionAssociationDict

FunctionAssociationDict

Dictionary Type

FunctionAssociationDict

Bases: TypedDict

Dictionary form of FunctionAssociation.

Attributes

event_type instance-attribute
event_type: Required[str]

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.

function_arn instance-attribute
function_arn: Required[str]

The Amazon Resource Name (ARN) of the function.