public_key_configs
Creates, updates, deletes, gets or lists a public_key_configs resource.
Overview
| Name | public_key_configs |
| Type | Resource |
| Id | aws.cloudfront.public_key_configs |
Fields
The following fields are returned by SELECT queries:
- get_public_key_config
| Name | Datatype | Description |
|---|---|---|
caller_reference | string | A string included in the request to help make sure that the request can't be replayed. |
comment | string | A comment to describe the public key. The comment cannot be longer than 128 characters. |
encoded_key | string | The public key that you can use with signed URLs and signed cookies, or with field-level encryption. |
name | string | A name to help identify the public key. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_public_key_config | select | id, region | Gets a public key configuration. |
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 identifier of the public key whose configuration you are getting. |
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_public_key_config
Gets a public key configuration.
SELECT
caller_reference,
comment,
encoded_key,
name
FROM aws.cloudfront.public_key_configs
WHERE id = '{{ id }}' -- required
AND region = '{{ region }}' -- required
;