Skip to content

Get Key Group Config

cloudfront_get_key_group_config R Documentation

Gets a key group configuration

Description

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 list_distributions or get_distribution. If the key group is not referenced in a cache behavior, you can get the identifier using list_key_groups.

Usage

cloudfront_get_key_group_config(Id)

Arguments

Id

[required] The identifier of the key group whose configuration you are getting. To get the identifier, use list_key_groups.

Value

A list with the following syntax:

list(
  KeyGroupConfig = list(
    Name = "string",
    Items = list(
      "string"
    ),
    Comment = "string"
  ),
  ETag = "string"
)

Request syntax

svc$get_key_group_config(
  Id = "string"
)