A source configuration is a wrapper for CloudFront origins and behaviors. An origin is what CloudFront will "be in front of" - that is, CloudFront will pull it's assets from an origin.
If you're using s3 as a source - pass the
s3Origin property, otherwise, pass the
One or the other must be passed, and it is invalid to pass both in the same SourceConfiguration.
|behaviors||The behaviors associated with this source. At least one (default) behavior must be included.|
|custom||A custom origin source - for all non-s3 sources.|
|origin||Any additional headers to pass to the origin.|
|origin||The relative path to the origin root to use for sources.|
|s3||An s3 origin source - if you're using s3 for your assets.|
The behaviors associated with this source. At least one (default) behavior must be included.
A custom origin source - for all non-s3 sources.
(optional, default: No additional headers are passed.)
Any additional headers to pass to the origin.
(optional, default: /)
The relative path to the origin root to use for sources.
An s3 origin source - if you're using s3 for your assets.