/AWS1/CL_FNT=>CREATEORIGINACCESSCONTROL()
¶
About CreateOriginAccessControl¶
Creates a new origin access control in CloudFront. After you create an origin access control, you can add it to an origin in a CloudFront distribution so that CloudFront sends authenticated (signed) requests to the origin.
This makes it possible to block public access to the origin, allowing viewers (users) to access the origin's content only through CloudFront.
For more information about using a CloudFront origin access control, see Restricting access to an Amazon Web Services origin in the Amazon CloudFront Developer Guide.
Method Signature¶
IMPORTING¶
Required arguments:¶
IO_ORIGINACCESSCONTROLCONFIG
TYPE REF TO /AWS1/CL_FNTORIGINACCCTLCONFIG
/AWS1/CL_FNTORIGINACCCTLCONFIG
¶
Contains the origin access control.