AWS::CloudFront::Distribution LegacyS3Origin - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::CloudFront::Distribution LegacyS3Origin

The origin as an Amazon S3 bucket.

Note

This property is legacy. We recommend that you use Origin instead.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "DNSName" : String, "OriginAccessIdentity" : String }

YAML

DNSName: String OriginAccessIdentity: String

Properties

DNSName

The domain name assigned to your CloudFront distribution.

Required: Yes

Type: String

Update requires: No interruption

OriginAccessIdentity

The CloudFront origin access identity to associate with the distribution. Use an origin access identity to configure the distribution so that end users can only access objects in an Amazon S3 through CloudFront.

Note

This property is legacy. We recommend that you use OriginAccessControl instead.

Required: No

Type: String

Update requires: No interruption