| « PreviousNext » | |
![]() ![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
Describes an Amazon CloudFront distribution origin. This is an embedded property of the DistributionConfig type.
{
"DomainName" : String,
"Id" : String,
"S3OriginConfig" : S3 Origin,
"CustomOriginConfig" : CustomOrigin,
} The DNS name of the Amazon S3 bucket or the HTTP server from which you want CloudFront to get objects for this origin.
Required: Yes
Type: String
An identifier for the origin. The value of Id must be unique within the distribution.
Required: Yes
Type: String
Origin information to specify an Amazon S3 origin.
Required: Conditional. You cannot use S3Origin and CustomOrigin in the same distribution, but you must specify one or the other.
Type: S3Origin type
Origin information to specify a custom origin.
Required: Conditional. You cannot use CustomOrigin and S3 Origin in the same distribution, but you must specify one or the other.
Type: CustomOrigin type
To view AWS::CloudFront::Distribution snippets, see Amazon CloudFront Template Snippets.