Create Ledger
qldb_create_ledger | R Documentation |
Creates a new ledger in your Amazon Web Services account in the current Region¶
Description¶
Creates a new ledger in your Amazon Web Services account in the current Region.
Usage¶
qldb_create_ledger(Name, Tags, PermissionsMode, DeletionProtection,
KmsKey)
Arguments¶
Name |
[required] The name of the ledger that you want to create. The name must be unique among all of the ledgers in your Amazon Web Services account in the current Region. Naming constraints for ledger names are defined in Quotas in Amazon QLDB in the Amazon QLDB Developer Guide. |
Tags |
The key-value pairs to add as tags to the ledger that you want to create. Tag keys are case sensitive. Tag values are case sensitive and can be null. |
PermissionsMode |
[required] The permissions mode to assign to the ledger that you want to create. This parameter can have one of the following values:
We strongly recommend using the |
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"
),
PermissionsMode = "ALLOW_ALL"|"STANDARD",
DeletionProtection = TRUE|FALSE,
KmsKeyArn = "string"
)
Request syntax¶
svc$create_ledger(
Name = "string",
Tags = list(
"string"
),
PermissionsMode = "ALLOW_ALL"|"STANDARD",
DeletionProtection = TRUE|FALSE,
KmsKey = "string"
)