AWS::CloudFront::DistributionA distribution tells CloudFront where you want content to be delivered from, and the details about how to track and manage content delivery.
2 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
DistributionConfig | DistributionConfig | Required |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
DomainName | string | - |
Id | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::CloudFront::Distribution
Resources:
MyResource:
Type: AWS::CloudFront::Distribution
Properties:
DistributionConfig: "value"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
cloudfront:CreateConnectionGroupcloudfront:CreateDistributioncloudfront:CreateDistributionWithTagscloudfront:GetConnectionGroupcloudfront:GetDistributioncloudfront:GetDistributionConfigcloudfront:GetVpcOrigincloudfront:TagResourcecloudfront:DeleteDistributioncloudfront:GetDistributioncloudfront:GetDistributionConfigcloudfront:ListTagsForResourcecloudfront:ListDistributionscloudfront:GetDistributioncloudfront:GetDistributionConfigcloudfront:CreateConnectionGroupcloudfront:GetConnectionGroupcloudfront:GetDistributioncloudfront:GetDistributionConfigcloudfront:GetVpcOrigincloudfront:UpdateDistributioncloudfront:UpdateDistributionWithStagingConfigcloudfront:ListTagsForResourceEverything you need to know about CloudFront on one page. HD quality, print-friendly.
Download Free InfographicId