class Aws::CloudFront::Types::S3Origin
A complex type that contains information about the Amazon S3 bucket from which you want CloudFront
to get your media files for distribution.
@note When making an API call, you may pass S3Origin
data as a hash: { domain_name: "string", # required origin_access_identity: "string", # required }
@!attribute [rw] domain_name
The DNS name of the Amazon S3 origin. @return [String]
@!attribute [rw] origin_access_identity
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 bucket through CloudFront. If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty `OriginAccessIdentity` element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty `OriginAccessIdentity` element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity. For more information, see [Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content][1] in the <i> Amazon CloudFront Developer Guide</i>. [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html @return [String]
@see docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/S3Origin AWS API Documentation
Constants
- SENSITIVE