Update Key Group
cloudfront_update_key_group | R Documentation |
Updates a key group¶
Description¶
Updates a key group.
When you update a key group, all the fields are updated with the values provided in the request. You cannot update some fields independent of others. To update a key group:
-
Get the current key group with
get_key_group
orget_key_group_config
. -
Locally modify the fields in the key group that you want to update. For example, add or remove public key IDs.
-
Call
update_key_group
with the entire key group object, including the fields that you modified and those that you didn't.
Usage¶
Arguments¶
KeyGroupConfig
[required] The key group configuration.
Id
[required] The identifier of the key group that you are updating.
IfMatch
The version of the key group that you are updating. The version is the key group's
ETag
value.
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"
)