cloud_front_origin_access_identity_configs
Creates, updates, deletes, gets or lists a cloud_front_origin_access_identity_configs resource.
Overview
| Name | cloud_front_origin_access_identity_configs |
| Type | Resource |
| Id | aws.cloudfront.cloud_front_origin_access_identity_configs |
Fields
The following fields are returned by SELECT queries:
- get_cloud_front_origin_access_identity_config
| Name | Datatype | Description |
|---|---|---|
caller_reference | string | A unique value (for example, a date-time stamp) that ensures that the request can't be replayed. If the value of CallerReference is new (regardless of the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created. If the CallerReference is a value already sent in a previous identity request, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create an identity, but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error. |
comment | string | A comment to describe the origin access identity. The comment cannot be longer than 128 characters. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_cloud_front_origin_access_identity_config | select | id, region | Get the configuration information about an origin access identity. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
id | string | The identity's ID. |
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_cloud_front_origin_access_identity_config
Get the configuration information about an origin access identity.
SELECT
caller_reference,
comment
FROM aws.cloudfront.cloud_front_origin_access_identity_configs
WHERE id = '{{ id }}' -- required
AND region = '{{ region }}' -- required
;