{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-qldb/refs/heads/main/json-schema/amazon-qldb-update-ledger-request-schema.json", "title": "UpdateLedgerRequest", "description": "UpdateLedgerRequest schema from Amazon QLDB API", "type": "object", "properties": { "DeletionProtection": { "allOf": [ { "$ref": "#/components/schemas/DeletionProtection" }, { "description": "

The flag that prevents a ledger from being deleted by any user. If not provided on ledger creation, this feature is enabled (true) by default.

If deletion protection is enabled, you must first disable it before you can delete the ledger. You can disable it by calling the UpdateLedger operation to set the flag to false.

" } ] }, "KmsKey": { "allOf": [ { "$ref": "#/components/schemas/KmsKey" }, { "description": "

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 \"alias/\". To specify a key in a different Amazon Web Services account, you must use the key ARN or alias ARN.

For example:

For more information, see Key identifiers (KeyId) in the Key Management Service Developer Guide.

" } ] } } }