Module qldb
This page documents the language specification for the aws package. If you're looking for help working with the inputs, outputs, or functions of aws resources in a Pulumi program, please see the resource documentation for examples and API reference.
This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the
pulumi/pulumi-awsrepo; however, if that doesn’t turn up anything, please consult the sourceterraform-providers/terraform-provider-awsrepo.
Resources
Functions
Others
Resources
Resource Ledger
class Ledger extends CustomResourceProvides an AWS Quantum Ledger Database (QLDB) resource
NOTE: Deletion protection is enabled by default. To successfully delete this resource via this provider,
deletionProtection = falsemust be applied before attempting deletion.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const sample_ledger = new aws.qldb.Ledger("sample-ledger", {});constructor
new Ledger(name: string, args?: LedgerArgs, opts?: pulumi.CustomResourceOptions)Create a Ledger resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LedgerState, opts?: pulumi.CustomResourceOptions): LedgerGet an existing Ledger resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is LedgerReturns true if the given object is an instance of Ledger. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property arn
public arn: pulumi.Output<string>;The ARN of the QLDB Ledger
property deletionProtection
public deletionProtection: pulumi.Output<boolean | undefined>;The deletion protection for the QLDB Ledger instance. By default it is true. To delete this resource via this provider, this value must be configured to false and applied first before attempting deletion.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property name
public name: pulumi.Output<string>;The friendly name for the QLDB Ledger instance. This is atuo generated by default.
property tags
public tags: pulumi.Output<{[key: string]: any} | undefined>;Key-value mapping of resource tags
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Functions
Function getLedger
getLedger(args: GetLedgerArgs, opts?: pulumi.InvokeOptions): Promise<GetLedgerResult>Use this data source to fetch information about a Quantum Ledger Database.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = pulumi.output(aws.qldb.getLedger({
name: "an_example_ledger",
}, { async: true }));Others
interface GetLedgerArgs
interface GetLedgerArgsA collection of arguments for invoking getLedger.
property name
name: string;The friendly name of the ledger to match.
interface GetLedgerResult
interface GetLedgerResultA collection of values returned by getLedger.
property arn
arn: string;Amazon Resource Name (ARN) of the ledger.
property deletionProtection
deletionProtection: boolean;Deletion protection on the QLDB Ledger instance. Set to true by default.
property id
id: string;The provider-assigned unique ID for this managed resource.
property name
name: string;interface LedgerArgs
interface LedgerArgsThe set of arguments for constructing a Ledger resource.
property deletionProtection
deletionProtection?: pulumi.Input<boolean>;The deletion protection for the QLDB Ledger instance. By default it is true. To delete this resource via this provider, this value must be configured to false and applied first before attempting deletion.
property name
name?: pulumi.Input<string>;The friendly name for the QLDB Ledger instance. This is atuo generated by default.
property tags
tags?: pulumi.Input<{[key: string]: any}>;Key-value mapping of resource tags
interface LedgerState
interface LedgerStateInput properties used for looking up and filtering Ledger resources.
property arn
arn?: pulumi.Input<string>;The ARN of the QLDB Ledger
property deletionProtection
deletionProtection?: pulumi.Input<boolean>;The deletion protection for the QLDB Ledger instance. By default it is true. To delete this resource via this provider, this value must be configured to false and applied first before attempting deletion.
property name
name?: pulumi.Input<string>;The friendly name for the QLDB Ledger instance. This is atuo generated by default.
property tags
tags?: pulumi.Input<{[key: string]: any}>;Key-value mapping of resource tags