![]() |
![]()
| ![]() |
![]()
NAMEPaws::CloudFront::S3Origin USAGEThis class represents one of two things: Arguments in a call to a service Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object. As an example, if Att1 is expected to be a Paws::CloudFront::S3Origin object: $service_obj->Method(Att1 => { DomainName => $value, ..., OriginAccessIdentity => $value }); Results returned from an API call Use accessors for each attribute. If Att1 is expected to be an Paws::CloudFront::S3Origin object: $result = $service_obj->Method(...); $result->Att1->DomainName DESCRIPTIONA complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution. ATTRIBUTESREQUIRED DomainName => StrThe DNS name of the Amazon S3 origin. REQUIRED OriginAccessIdentity => StrThe 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 (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html) in the Amazon CloudFront Developer Guide. SEE ALSOThis class forms part of Paws, describing an object used in Paws::CloudFront BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|