key_group_configs
Creates, updates, deletes, gets or lists a key_group_configs resource.
Overview
| Name | key_group_configs |
| Type | Resource |
| Id | aws.cloudfront.key_group_configs |
Fields
The following fields are returned by SELECT queries:
- get_key_group_config
| Name | Datatype | Description |
|---|---|---|
comment | string | A comment to describe the key group. The comment cannot be longer than 128 characters. |
items | string | A list of the identifiers of the public keys in the key group. |
name | string | A name to identify the key group. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_key_group_config | select | id, region | Gets a key group configuration. To get a key group configuration, you must provide the key group's identifier. If the key group is referenced in a distribution's cache behavior, you can get the key group's identifier using ListDistributions or GetDistribution. If the key group is not referenced in a cache behavior, you can get the identifier using ListKeyGroups. |
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 key group whose configuration you are getting. To get the identifier, use ListKeyGroups. |
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_key_group_config
Gets a key group configuration. To get a key group configuration, you must provide the key group's identifier. If the key group is referenced in a distribution's cache behavior, you can get the key group's identifier using ListDistributions or GetDistribution. If the key group is not referenced in a cache behavior, you can get the identifier using ListKeyGroups.
SELECT
comment,
items,
name
FROM aws.cloudfront.key_group_configs
WHERE id = '{{ id }}' -- required
AND region = '{{ region }}' -- required
;