Skip to main content

origin_access_controls_list_only

Lists origin_access_controls in a region or regions, for all properties use origin_access_controls

Overview

Nameorigin_access_controls_list_only
TypeResource
DescriptionCreates 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](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-origin.html) in the *Amazon CloudFront Developer Guide*.
Idaws.cloudfront.origin_access_controls_list_only

Fields

NameDatatypeDescription
idstring
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all origin_access_controls in a region.

SELECT
region,
id
FROM aws.cloudfront.origin_access_controls_list_only
;

Permissions

For permissions required to operate on the origin_access_controls_list_only resource, see origin_access_controls