/AWS1/CL_FNTS3ORIGIN¶
A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.
CONSTRUCTOR
¶
IMPORTING¶
Required arguments:¶
iv_domainname
TYPE /AWS1/FNTSTRING
/AWS1/FNTSTRING
¶
The DNS name of the Amazon S3 origin.
iv_originaccessidentity
TYPE /AWS1/FNTSTRING
/AWS1/FNTSTRING
¶
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 in the Amazon CloudFront Developer Guide.
Queryable Attributes¶
DomainName¶
The DNS name of the Amazon S3 origin.
Accessible with the following methods¶
Method | Description |
---|---|
GET_DOMAINNAME() |
Getter for DOMAINNAME, with configurable default |
ASK_DOMAINNAME() |
Getter for DOMAINNAME w/ exceptions if field has no value |
HAS_DOMAINNAME() |
Determine if DOMAINNAME has a value |
OriginAccessIdentity¶
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 in the Amazon CloudFront Developer Guide.
Accessible with the following methods¶
Method | Description |
---|---|
GET_ORIGINACCESSIDENTITY() |
Getter for ORIGINACCESSIDENTITY, with configurable default |
ASK_ORIGINACCESSIDENTITY() |
Getter for ORIGINACCESSIDENTITY w/ exceptions if field has n |
HAS_ORIGINACCESSIDENTITY() |
Determine if ORIGINACCESSIDENTITY has a value |