Lock Rule
recyclebin_lock_rule | R Documentation |
Locks a retention rule¶
Description¶
Locks a retention rule. A locked retention rule can't be modified or deleted.
Usage¶
Arguments¶
Identifier
[required] The unique ID of the retention rule.
LockConfiguration
[required] Information about the retention rule lock configuration.
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",
RuleArn = "string"
)