Update Ledger
qldb_update_ledger | R Documentation |
Updates properties on a ledger¶
Description¶
Updates properties on a ledger.
Usage¶
qldb_update_ledger(Name, DeletionProtection, KmsKey)
Arguments¶
Name |
[required] The name of the ledger. |
DeletionProtection |
Specifies whether the ledger is protected from being deleted by
any user. If not defined during ledger creation, this feature is enabled
( If deletion protection is enabled, you must first disable it before
you can delete the ledger. You can disable it by calling the
|
KmsKey |
The key in Key Management Service (KMS) to use for encryption of data at rest in the ledger. For more information, see Encryption at rest in the Amazon QLDB Developer Guide. Use one of the following options to specify this parameter:
To specify a customer managed KMS key, you can use its key ID, Amazon
Resource Name (ARN), alias name, or alias ARN. When using an alias name,
prefix it with For example:
For more information, see Key identifiers (KeyId) in the Key Management Service Developer Guide. |
Value¶
A list with the following syntax:
list(
Name = "string",
Arn = "string",
State = "CREATING"|"ACTIVE"|"DELETING"|"DELETED",
CreationDateTime = as.POSIXct(
"2015-01-01"
),
DeletionProtection = TRUE|FALSE,
EncryptionDescription = list(
KmsKeyArn = "string",
EncryptionStatus = "ENABLED"|"UPDATING"|"KMS_KEY_INACCESSIBLE",
InaccessibleKmsKeyDateTime = as.POSIXct(
"2015-01-01"
)
)
)
Request syntax¶
svc$update_ledger(
Name = "string",
DeletionProtection = TRUE|FALSE,
KmsKey = "string"
)