origin_access_controls_list_only
Lists origin_access_controls
in a region or regions, for all properties use origin_access_controls
Overview
Name | origin_access_controls_list_only |
Type | Resource |
Description | 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](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-origin.html) in the *Amazon CloudFront Developer Guide*. |
Id | aws.cloudfront.origin_access_controls_list_only |
Fields
Name | Datatype | Description |
---|---|---|
id | string | |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
list_resources | SELECT | region |
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