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

Distribution

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

A distribution tells CloudFront where you want content to be delivered from, and the details about how to track and manage content delivery.

interface Distribution {
ActiveTrustedKeyGroups?: ActiveTrustedKeyGroups | null;
ActiveTrustedSigners?: ActiveTrustedSigners | null;
AliasICPRecordals: AliasICPRecordal[];
ARN: string;
DistributionConfig: DistributionConfig;
DomainName: string;
Id: string;
InProgressInvalidationBatches: number;
LastModifiedTime: Date | number;
Status: string;
}

§Properties

§
ActiveTrustedKeyGroups?: ActiveTrustedKeyGroups | null
[src]

CloudFront automatically adds this field to the response if you’ve configured a cache behavior in this distribution to serve private content using key groups. This field contains a list of key groups and the public keys in each key group that CloudFront can use to verify the signatures of signed URLs or signed cookies.

§
ActiveTrustedSigners?: ActiveTrustedSigners | null
[src]

! IMPORTANT: ! We recommend using TrustedKeyGroups instead of TrustedSigners.

CloudFront automatically adds this field to the response if you’ve configured a cache behavior in this distribution to serve private content using trusted signers. This field contains a list of Amazon Web Services account IDs and the active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs or signed cookies.

§
AliasICPRecordals: AliasICPRecordal[]
[src]

Amazon Web Services services in China customers must file for an Internet Content Provider (ICP) recordal if they want to serve content publicly on an alternate domain name, also known as a CNAME, that they've added to CloudFront. AliasICPRecordal provides the ICP recordal status for CNAMEs associated with distributions.

For more information about ICP recordals, see Signup, Accounts, and Credentials in Getting Started with Amazon Web Services services in China.

§
ARN: string
[src]

The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where 123456789012 is your Amazon Web Services account ID.

§
DistributionConfig: DistributionConfig
[src]

The current configuration information for the distribution. Send a GET request to the /_CloudFront API version_/distribution ID/config resource.

§
DomainName: string
[src]

The domain name corresponding to the distribution, for example, d111111abcdef8.cloudfront.net.

§
Id: string
[src]

The identifier for the distribution. For example: EDFDVBD632BHDS5.

§
InProgressInvalidationBatches: number
[src]

The number of invalidation batches currently in progress.

§
LastModifiedTime: Date | number
[src]

The date and time the distribution was last modified.

§
Status: string
[src]

This response element indicates the current status of the distribution. When the status is Deployed, the distribution's information is fully propagated to all CloudFront edge locations.