Skip to content

Get Key Group

cloudfront_get_key_group R Documentation

Gets a key group, including the date and time when the key group was last modified

Description

Gets a key group, including the date and time when the key group was last modified.

To get a key group, 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(Id)

Arguments

Id

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

Value

A list with the following syntax:

list(
  KeyGroup = list(
    Id = "string",
    LastModifiedTime = as.POSIXct(
      "2015-01-01"
    ),
    KeyGroupConfig = list(
      Name = "string",
      Items = list(
        "string"
      ),
      Comment = "string"
    )
  ),
  ETag = "string"
)

Request syntax

svc$get_key_group(
  Id = "string"
)