Unlock Rule
recyclebin_unlock_rule | R Documentation |
Unlocks a retention rule¶
Description¶
Unlocks a retention rule. After a retention rule is unlocked, it can be modified or deleted only after the unlock delay period expires.
Usage¶
Arguments¶
Identifier
[required] The unique ID of the retention rule.
Value¶
A list with the following syntax:
list(
Identifier = "string",
Description = "string",
ResourceType = "EBS_SNAPSHOT"|"EC2_IMAGE",
RetentionPeriod = list(
RetentionPeriodValue = 123,
RetentionPeriodUnit = "DAYS"
),
ResourceTags = list(
list(
ResourceTagKey = "string",
ResourceTagValue = "string"
)
),
Status = "pending"|"available",
LockConfiguration = list(
UnlockDelay = list(
UnlockDelayValue = 123,
UnlockDelayUnit = "DAYS"
)
),
LockState = "locked"|"pending_unlock"|"unlocked",
LockEndTime = as.POSIXct(
"2015-01-01"
),
RuleArn = "string"
)