Learn R Programming

paws.networking (version 0.1.10)

cloudfront_delete_key_group: Deletes a key group

Description

Deletes a key group.

You cannot delete a key group that is referenced in a cache behavior. First update your distributions to remove the key group from all cache behaviors, then delete the key group.

To delete a key group, you must provide the key group<U+2019>s identifier and version. To get these values, use ListKeyGroups followed by GetKeyGroup or GetKeyGroupConfig.

Usage

cloudfront_delete_key_group(Id, IfMatch)

Arguments

Id

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

IfMatch

The version of the key group that you are deleting. The version is the key group<U+2019>s ETag value. To get the ETag, use GetKeyGroup or GetKeyGroupConfig.

Request syntax

svc$delete_key_group(
  Id = "string",
  IfMatch = "string"
)