Skip to main content

key_group_configs

Creates, updates, deletes, gets or lists a key_group_configs resource.

Overview

Namekey_group_configs
TypeResource
Idaws.cloudfront.key_group_configs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
commentstringA comment to describe the key group. The comment cannot be longer than 128 characters.
itemsstringA list of the identifiers of the public keys in the key group.
namestringA name to identify the key group.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_key_group_configselectid, regionGets 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.

NameDatatypeDescription
idstringThe identifier of the key group whose configuration you are getting. To get the identifier, use ListKeyGroups.
regionstringAWS region (default: us-east-1)

SELECT examples

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
;