Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

FunctionAssociation

import type { FunctionAssociation } from "https://aws-api.deno.dev/v0.3/services/cloudfront.ts?docs=full";

A CloudFront function that is associated with a cache behavior in a CloudFront distribution.

interface FunctionAssociation {
EventType: EventType;
FunctionARN: string;
}

§Properties

§
EventType: EventType
[src]

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.

§
FunctionARN: string
[src]

The Amazon Resource Name (ARN) of the function.