qldb

package
v1.27.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

nolint: lll

nolint: lll

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ledger

type Ledger struct {
	pulumi.CustomResourceState

	// The ARN of the QLDB Ledger
	Arn                pulumi.StringOutput  `pulumi:"arn"`
	DeletionProtection pulumi.BoolPtrOutput `pulumi:"deletionProtection"`
	Name               pulumi.StringOutput  `pulumi:"name"`
	// Key-value mapping of resource tags
	Tags pulumi.MapOutput `pulumi:"tags"`
}

func GetLedger

func GetLedger(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LedgerState, opts ...pulumi.ResourceOption) (*Ledger, error)

GetLedger gets an existing Ledger resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLedger

func NewLedger(ctx *pulumi.Context,
	name string, args *LedgerArgs, opts ...pulumi.ResourceOption) (*Ledger, error)

NewLedger registers a new resource with the given unique name, arguments, and options.

type LedgerArgs

type LedgerArgs struct {
	DeletionProtection pulumi.BoolPtrInput
	Name               pulumi.StringPtrInput
	// Key-value mapping of resource tags
	Tags pulumi.MapInput
}

The set of arguments for constructing a Ledger resource.

func (LedgerArgs) ElementType added in v1.19.0

func (LedgerArgs) ElementType() reflect.Type

type LedgerState

type LedgerState struct {
	// The ARN of the QLDB Ledger
	Arn                pulumi.StringPtrInput
	DeletionProtection pulumi.BoolPtrInput
	Name               pulumi.StringPtrInput
	// Key-value mapping of resource tags
	Tags pulumi.MapInput
}

func (LedgerState) ElementType added in v1.19.0

func (LedgerState) ElementType() reflect.Type

type LookupLedgerArgs added in v1.19.0

type LookupLedgerArgs struct {
	// The friendly name of the ledger to match.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getLedger.

type LookupLedgerResult added in v1.19.0

type LookupLedgerResult struct {
	// Amazon Resource Name (ARN) of the ledger.
	Arn string `pulumi:"arn"`
	// Deletion protection on the QLDB Ledger instance. Set to `true` by default.
	DeletionProtection bool `pulumi:"deletionProtection"`
	// id is the provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
}

A collection of values returned by getLedger.

func LookupLedger

func LookupLedger(ctx *pulumi.Context, args *LookupLedgerArgs, opts ...pulumi.InvokeOption) (*LookupLedgerResult, error)

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

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/qldb_ledger.html.markdown.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL