get Origin Access Control
suspend fun getOriginAccessControl(argument: GetOriginAccessControlPlainArgs): GetOriginAccessControlResult
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 origin in the Amazon CloudFront Developer Guide.
Return
null
Parameters
argument
null
Return
null
Parameters
id
The unique identifier of the origin access control.
See also
suspend fun getOriginAccessControl(argument: suspend GetOriginAccessControlPlainArgsBuilder.() -> Unit): GetOriginAccessControlResult
Return
null
Parameters
argument
Builder for com.pulumi.awsnative.cloudfront.kotlin.inputs.GetOriginAccessControlPlainArgs.