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.
§Properties
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.
! 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.
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.
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.
The current configuration information for the distribution.
Send a GET
request to the /_CloudFront API version_/distribution ID/config
resource.
The domain name corresponding to the distribution, for example, d111111abcdef8.cloudfront.net
.