Ledger Args
Provides an AWS Quantum Ledger Database (QLDB) resource
NOTE: Deletion protection is enabled by default. To successfully delete this resource via this provider,
deletion_protection = false
must be applied before attempting deletion.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.qldb.Ledger;
import com.pulumi.aws.qldb.LedgerArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var sample_ledger = new Ledger("sample-ledger", LedgerArgs.builder()
.permissionsMode("STANDARD")
.build());
}
}
Import
QLDB Ledgers can be imported using the name
, e.g.,
$ pulumi import aws:qldb/ledger:Ledger sample-ledger sample-ledger
Constructors
Properties
The deletion protection for the QLDB Ledger instance. By default it is true
. To delete this resource via the provider, this value must be configured to false
and applied first before attempting deletion.
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.
The permissions mode for the QLDB ledger instance. Specify either ALLOW_ALL
or STANDARD
.