AWS CloudFormation
User Guide (API Version 2010-05-15)
Did this page help you?  Yes | No |  Tell us about it...
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Go to the Kindle Store to download this guide in Kindle format.


Creates an Amazon CloudFront web distribution. For general information about CloudFront distributions, see the Introduction to Amazon CloudFront in the Amazon CloudFront Developer Guide. For specific information about creating CloudFront web distributions, see POST Distribution in the Amazon CloudFront API Reference.


   "Type" : "AWS::CloudFront::Distribution",
   "Properties" : {
      "DistributionConfig" : DistributionConfig



The distribution's configuration information.

Required: Yes

Type: DistributionConfig type

Update requires: No interruption

Return Values


Returns: The CloudFront distribution ID. For example: E27LVI50CSW06W.

For more information about using the Ref function, see Ref.


Fn::GetAtt returns a value for a specified attribute of this type. This section lists the available attributes and corresponding return values.


Returns: The domain name of the resource. For example:

For more information about using Fn:GetAtt, see Fn::GetAtt.

Template Examples

To view AWS::CloudFront::Distribution snippets, see Amazon CloudFront Template Snippets.