Resource: awsQldbLedger
Provides an AWS Quantum Ledger Database (QLDB) resource
\~> NOTE: Deletion protection is enabled by default. To successfully delete this resource via Terraform, deletionProtection =False
must be applied before attempting deletion.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.qldbLedger.QldbLedger(this, "sample-ledger", {
name: "sample-ledger",
permissionsMode: "STANDARD",
});
Argument Reference
The following arguments are supported:
deletionProtection
- (Optional) The deletion protection for the QLDB Ledger instance. By default it istrue
. To delete this resource via Terraform, this value must be configured tofalse
and applied first before attempting deletion.kmsKey
- (Optional) The key in AWS Key Management Service (AWS KMS) to use for encryption of data at rest in the ledger. For more information, see the AWS documentation. Valid values are"AWS_OWNED_KMS_KEY"
to use an AWS KMS key that is owned and managed by AWS on your behalf, or the ARN of a valid symmetric customer managed KMS key.name
- (Optional) The friendly name for the QLDB Ledger instance. By default generated by Terraform.permissionsMode
- (Required) The permissions mode for the QLDB ledger instance. Specify eitherALLOW_ALL
orstandard
.tags
- (Optional) Key-value map of resource tags. If configured with a providerdefaultTags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
id
- The Name of the QLDB Ledgerarn
- The ARN of the QLDB LedgertagsAll
- A map of tags assigned to the resource, including those inherited from the providerdefaultTags
configuration block.
Timeouts
create
- (Default10M
)delete
- (Default10M
)
Import
QLDB Ledgers can be imported using the name
, e.g.,