Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

Amazon CloudFront StreamingDistribution S3Origin

The S3Origin property type specifies information about the Amazon S3 bucket from which you want Amazon CloudFront to get your media files for distribution. For more information, see S3Origin in the Amazon CloudFront API Reference.

S3Origin is a property of the CloudFront StreamingDistribution StreamingDistributionConfig property type.

Syntax

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

JSON

Copy
{ "DomainName" : String, "OriginAccessIdentity" : String }

YAML

Copy
DomainName: String OriginAccessIdentity: String

Properties

DomainName

The DNS name of the Amazon S3 origin.

Required: Yes

Type: String

Update requires: No interruption

OriginAccessIdentity

The CloudFront origin access identity to associate with the RTMP distribution. Use an origin access identity to configure the distribution so that end users can only access objects in an Amazon S3 bucket through CloudFront. For more information, see the OriginAccessIdentity property for S3Origin in Amazon CloudFront API Reference.

Required: Yes

Type: String

Update requires: No interruption

See Also

  • S3Origin in the Amazon CloudFront API Reference

On this page: