Show / Hide Table of Contents

Class Ledger

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

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var sample_ledger = new Aws.Qldb.Ledger("sample-ledger", new Aws.Qldb.LedgerArgs
    {
    });
}

}
Inheritance
System.Object
Resource
CustomResource
Ledger
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Qldb
Assembly: Pulumi.Aws.dll
Syntax
public class Ledger : CustomResource

Constructors

View Source

Ledger(String, LedgerArgs, CustomResourceOptions)

Create a Ledger resource with the given unique name, arguments, and options.

Declaration
public Ledger(string name, LedgerArgs args = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

LedgerArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Arn

The ARN of the QLDB Ledger

Declaration
public Output<string> Arn { get; }
Property Value
Type Description
Output<System.String>
View Source

DeletionProtection

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.

Declaration
public Output<bool?> DeletionProtection { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

Name

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

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

Tags

Key-value mapping of resource tags

Declaration
public Output<ImmutableDictionary<string, object>> Tags { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>

Methods

View Source

Get(String, Input<String>, LedgerState, CustomResourceOptions)

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

Declaration
public static Ledger Get(string name, Input<string> id, LedgerState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

LedgerState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
Ledger
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.