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.

qldb

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-aws repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-aws repo.

class pulumi_aws.qldb.AwaitableGetLedgerResult(arn=None, deletion_protection=None, id=None, name=None)
class pulumi_aws.qldb.GetLedgerResult(arn=None, deletion_protection=None, id=None, name=None)

A collection of values returned by getLedger.

arn = None

Amazon Resource Name (ARN) of the ledger.

deletion_protection = None

Deletion protection on the QLDB Ledger instance. Set to true by default.

id = None

The provider-assigned unique ID for this managed resource.

class pulumi_aws.qldb.Ledger(resource_name, opts=None, deletion_protection=None, name=None, tags=None, __props__=None, __name__=None, __opts__=None)

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.

import pulumi
import pulumi_aws as aws

sample_ledger = aws.qldb.Ledger("sample-ledger")
Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • deletion_protection (pulumi.Input[bool]) – 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.

  • name (pulumi.Input[str]) – The friendly name for the QLDB Ledger instance. This is atuo generated by default.

  • tags (pulumi.Input[dict]) – Key-value mapping of resource tags

arn: pulumi.Output[str] = None

The ARN of the QLDB Ledger

deletion_protection: pulumi.Output[bool] = None

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.

name: pulumi.Output[str] = None

The friendly name for the QLDB Ledger instance. This is atuo generated by default.

tags: pulumi.Output[dict] = None

Key-value mapping of resource tags

static get(resource_name, id, opts=None, arn=None, deletion_protection=None, name=None, tags=None)

Get an existing Ledger resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • arn (pulumi.Input[str]) – The ARN of the QLDB Ledger

  • deletion_protection (pulumi.Input[bool]) – 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.

  • name (pulumi.Input[str]) – The friendly name for the QLDB Ledger instance. This is atuo generated by default.

  • tags (pulumi.Input[dict]) – Key-value mapping of resource tags

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

pulumi_aws.qldb.get_ledger(name=None, opts=None)

Use this data source to fetch information about a Quantum Ledger Database.

import pulumi
import pulumi_aws as aws

example = aws.qldb.get_ledger(name="an_example_ledger")
Parameters

name (str) – The friendly name of the ledger to match.