FunctionMetadata
import type { FunctionMetadata } from "https://aws-api.deno.dev/v0.3/services/cloudfront.ts?docs=full";
Contains metadata about a CloudFront function.
interface FunctionMetadata {
CreatedTime?: Date | number | null;
FunctionARN: string;
LastModifiedTime: Date | number;
Stage?: FunctionStage | null;
}§Properties
§
FunctionARN: string
[src]The Amazon Resource Name (ARN) of the function. The ARN uniquely identifies the function.
§
Stage?: FunctionStage | null
[src]The stage that the function is in, either DEVELOPMENT
or LIVE
.
When a function is in the DEVELOPMENT
stage, you can test the function with TestFunction
, and update it with UpdateFunction
.
When a function is in the LIVE
stage, you can attach the function to a distribution’s cache behavior, using the function’s ARN.