qldb

package
v5.43.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

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"`
	// 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.
	DeletionProtection pulumi.BoolPtrOutput `pulumi:"deletionProtection"`
	// 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](https://docs.aws.amazon.com/qldb/latest/developerguide/encryption-at-rest.html). 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.
	KmsKey pulumi.StringOutput `pulumi:"kmsKey"`
	// The friendly name for the QLDB Ledger instance. By default generated by the provider.
	Name pulumi.StringOutput `pulumi:"name"`
	// The permissions mode for the QLDB ledger instance. Specify either `ALLOW_ALL` or `STANDARD`.
	PermissionsMode pulumi.StringOutput `pulumi:"permissionsMode"`
	// Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides an AWS Quantum Ledger Database (QLDB) resource

> **NOTE:** Deletion protection is enabled by default. To successfully delete this resource via this provider, `deletionProtection = false` must be applied before attempting deletion.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/qldb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := qldb.NewLedger(ctx, "sample-ledger", &qldb.LedgerArgs{
			PermissionsMode: pulumi.String("STANDARD"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

QLDB Ledgers can be imported using the `name`, e.g.,

```sh

$ pulumi import aws:qldb/ledger:Ledger sample-ledger sample-ledger

```

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.

func (*Ledger) ElementType

func (*Ledger) ElementType() reflect.Type

func (*Ledger) ToLedgerOutput

func (i *Ledger) ToLedgerOutput() LedgerOutput

func (*Ledger) ToLedgerOutputWithContext

func (i *Ledger) ToLedgerOutputWithContext(ctx context.Context) LedgerOutput

type LedgerArgs

type LedgerArgs struct {
	// 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.
	DeletionProtection pulumi.BoolPtrInput
	// 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](https://docs.aws.amazon.com/qldb/latest/developerguide/encryption-at-rest.html). 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.
	KmsKey pulumi.StringPtrInput
	// The friendly name for the QLDB Ledger instance. By default generated by the provider.
	Name pulumi.StringPtrInput
	// The permissions mode for the QLDB ledger instance. Specify either `ALLOW_ALL` or `STANDARD`.
	PermissionsMode pulumi.StringInput
	// Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Ledger resource.

func (LedgerArgs) ElementType

func (LedgerArgs) ElementType() reflect.Type

type LedgerArray

type LedgerArray []LedgerInput

func (LedgerArray) ElementType

func (LedgerArray) ElementType() reflect.Type

func (LedgerArray) ToLedgerArrayOutput

func (i LedgerArray) ToLedgerArrayOutput() LedgerArrayOutput

func (LedgerArray) ToLedgerArrayOutputWithContext

func (i LedgerArray) ToLedgerArrayOutputWithContext(ctx context.Context) LedgerArrayOutput

type LedgerArrayInput

type LedgerArrayInput interface {
	pulumi.Input

	ToLedgerArrayOutput() LedgerArrayOutput
	ToLedgerArrayOutputWithContext(context.Context) LedgerArrayOutput
}

LedgerArrayInput is an input type that accepts LedgerArray and LedgerArrayOutput values. You can construct a concrete instance of `LedgerArrayInput` via:

LedgerArray{ LedgerArgs{...} }

type LedgerArrayOutput

type LedgerArrayOutput struct{ *pulumi.OutputState }

func (LedgerArrayOutput) ElementType

func (LedgerArrayOutput) ElementType() reflect.Type

func (LedgerArrayOutput) Index

func (LedgerArrayOutput) ToLedgerArrayOutput

func (o LedgerArrayOutput) ToLedgerArrayOutput() LedgerArrayOutput

func (LedgerArrayOutput) ToLedgerArrayOutputWithContext

func (o LedgerArrayOutput) ToLedgerArrayOutputWithContext(ctx context.Context) LedgerArrayOutput

type LedgerInput

type LedgerInput interface {
	pulumi.Input

	ToLedgerOutput() LedgerOutput
	ToLedgerOutputWithContext(ctx context.Context) LedgerOutput
}

type LedgerMap

type LedgerMap map[string]LedgerInput

func (LedgerMap) ElementType

func (LedgerMap) ElementType() reflect.Type

func (LedgerMap) ToLedgerMapOutput

func (i LedgerMap) ToLedgerMapOutput() LedgerMapOutput

func (LedgerMap) ToLedgerMapOutputWithContext

func (i LedgerMap) ToLedgerMapOutputWithContext(ctx context.Context) LedgerMapOutput

type LedgerMapInput

type LedgerMapInput interface {
	pulumi.Input

	ToLedgerMapOutput() LedgerMapOutput
	ToLedgerMapOutputWithContext(context.Context) LedgerMapOutput
}

LedgerMapInput is an input type that accepts LedgerMap and LedgerMapOutput values. You can construct a concrete instance of `LedgerMapInput` via:

LedgerMap{ "key": LedgerArgs{...} }

type LedgerMapOutput

type LedgerMapOutput struct{ *pulumi.OutputState }

func (LedgerMapOutput) ElementType

func (LedgerMapOutput) ElementType() reflect.Type

func (LedgerMapOutput) MapIndex

func (LedgerMapOutput) ToLedgerMapOutput

func (o LedgerMapOutput) ToLedgerMapOutput() LedgerMapOutput

func (LedgerMapOutput) ToLedgerMapOutputWithContext

func (o LedgerMapOutput) ToLedgerMapOutputWithContext(ctx context.Context) LedgerMapOutput

type LedgerOutput

type LedgerOutput struct{ *pulumi.OutputState }

func (LedgerOutput) Arn added in v5.4.0

The ARN of the QLDB Ledger

func (LedgerOutput) DeletionProtection added in v5.4.0

func (o LedgerOutput) DeletionProtection() pulumi.BoolPtrOutput

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.

func (LedgerOutput) ElementType

func (LedgerOutput) ElementType() reflect.Type

func (LedgerOutput) KmsKey added in v5.4.0

func (o LedgerOutput) KmsKey() pulumi.StringOutput

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](https://docs.aws.amazon.com/qldb/latest/developerguide/encryption-at-rest.html). 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.

func (LedgerOutput) Name added in v5.4.0

func (o LedgerOutput) Name() pulumi.StringOutput

The friendly name for the QLDB Ledger instance. By default generated by the provider.

func (LedgerOutput) PermissionsMode added in v5.4.0

func (o LedgerOutput) PermissionsMode() pulumi.StringOutput

The permissions mode for the QLDB ledger instance. Specify either `ALLOW_ALL` or `STANDARD`.

func (LedgerOutput) Tags added in v5.4.0

Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (LedgerOutput) TagsAll added in v5.4.0

func (o LedgerOutput) TagsAll() pulumi.StringMapOutput

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

func (LedgerOutput) ToLedgerOutput

func (o LedgerOutput) ToLedgerOutput() LedgerOutput

func (LedgerOutput) ToLedgerOutputWithContext

func (o LedgerOutput) ToLedgerOutputWithContext(ctx context.Context) LedgerOutput

type LedgerState

type LedgerState struct {
	// The ARN of the QLDB Ledger
	Arn pulumi.StringPtrInput
	// 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.
	DeletionProtection pulumi.BoolPtrInput
	// 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](https://docs.aws.amazon.com/qldb/latest/developerguide/encryption-at-rest.html). 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.
	KmsKey pulumi.StringPtrInput
	// The friendly name for the QLDB Ledger instance. By default generated by the provider.
	Name pulumi.StringPtrInput
	// The permissions mode for the QLDB ledger instance. Specify either `ALLOW_ALL` or `STANDARD`.
	PermissionsMode pulumi.StringPtrInput
	// Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapInput
}

func (LedgerState) ElementType

func (LedgerState) ElementType() reflect.Type

type LookupLedgerArgs

type LookupLedgerArgs struct {
	// Friendly name of the ledger to match.
	Name string            `pulumi:"name"`
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getLedger.

type LookupLedgerOutputArgs

type LookupLedgerOutputArgs struct {
	// Friendly name of the ledger to match.
	Name pulumi.StringInput    `pulumi:"name"`
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

A collection of arguments for invoking getLedger.

func (LookupLedgerOutputArgs) ElementType

func (LookupLedgerOutputArgs) ElementType() reflect.Type

type LookupLedgerResult

type LookupLedgerResult struct {
	Arn                string `pulumi:"arn"`
	DeletionProtection bool   `pulumi:"deletionProtection"`
	// The provider-assigned unique ID for this managed resource.
	Id              string            `pulumi:"id"`
	KmsKey          string            `pulumi:"kmsKey"`
	Name            string            `pulumi:"name"`
	PermissionsMode string            `pulumi:"permissionsMode"`
	Tags            map[string]string `pulumi:"tags"`
}

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.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/qldb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := qldb.LookupLedger(ctx, &qldb.LookupLedgerArgs{
			Name: "an_example_ledger",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupLedgerResultOutput

type LookupLedgerResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getLedger.

func (LookupLedgerResultOutput) Arn

func (LookupLedgerResultOutput) DeletionProtection

func (o LookupLedgerResultOutput) DeletionProtection() pulumi.BoolOutput

func (LookupLedgerResultOutput) ElementType

func (LookupLedgerResultOutput) ElementType() reflect.Type

func (LookupLedgerResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupLedgerResultOutput) KmsKey added in v5.2.0

func (LookupLedgerResultOutput) Name

func (LookupLedgerResultOutput) PermissionsMode

func (o LookupLedgerResultOutput) PermissionsMode() pulumi.StringOutput

func (LookupLedgerResultOutput) Tags added in v5.2.0

func (LookupLedgerResultOutput) ToLookupLedgerResultOutput

func (o LookupLedgerResultOutput) ToLookupLedgerResultOutput() LookupLedgerResultOutput

func (LookupLedgerResultOutput) ToLookupLedgerResultOutputWithContext

func (o LookupLedgerResultOutput) ToLookupLedgerResultOutputWithContext(ctx context.Context) LookupLedgerResultOutput

type Stream added in v5.2.0

type Stream struct {
	pulumi.CustomResourceState

	// The ARN of the QLDB Stream.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The exclusive date and time that specifies when the stream ends. If you don't define this parameter, the stream runs indefinitely until you cancel it. It must be in ISO 8601 date and time format and in Universal Coordinated Time (UTC). For example: `"2019-06-13T21:36:34Z"`.
	ExclusiveEndTime pulumi.StringPtrOutput `pulumi:"exclusiveEndTime"`
	// The inclusive start date and time from which to start streaming journal data. This parameter must be in ISO 8601 date and time format and in Universal Coordinated Time (UTC). For example: `"2019-06-13T21:36:34Z"`.  This cannot be in the future and must be before `exclusiveEndTime`.  If you provide a value that is before the ledger's `CreationDateTime`, QLDB effectively defaults it to the ledger's `CreationDateTime`.
	InclusiveStartTime pulumi.StringOutput `pulumi:"inclusiveStartTime"`
	// The configuration settings of the Kinesis Data Streams destination for your stream request. Documented below.
	KinesisConfiguration StreamKinesisConfigurationOutput `pulumi:"kinesisConfiguration"`
	// The name of the QLDB ledger.
	LedgerName pulumi.StringOutput `pulumi:"ledgerName"`
	// The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal stream to write data records to a Kinesis Data Streams resource.
	RoleArn pulumi.StringOutput `pulumi:"roleArn"`
	// The name that you want to assign to the QLDB journal stream. User-defined names can help identify and indicate the purpose of a stream.  Your stream name must be unique among other active streams for a given ledger. Stream names have the same naming constraints as ledger names, as defined in the [Amazon QLDB Developer Guide](https://docs.aws.amazon.com/qldb/latest/developerguide/limits.html#limits.naming).
	StreamName pulumi.StringOutput `pulumi:"streamName"`
	// Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides an AWS Quantum Ledger Database (QLDB) Stream resource

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/qldb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := qldb.NewStream(ctx, "example", &qldb.StreamArgs{
			InclusiveStartTime: pulumi.String("2021-01-01T00:00:00Z"),
			KinesisConfiguration: &qldb.StreamKinesisConfigurationArgs{
				AggregationEnabled: pulumi.Bool(false),
				StreamArn:          pulumi.String("arn:aws:kinesis:us-east-1:xxxxxxxxxxxx:stream/example-kinesis-stream"),
			},
			LedgerName: pulumi.String("existing-ledger-name"),
			RoleArn:    pulumi.String("sample-role-arn"),
			StreamName: pulumi.String("sample-ledger-stream"),
			Tags: pulumi.StringMap{
				"example": pulumi.String("tag"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetStream added in v5.2.0

func GetStream(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StreamState, opts ...pulumi.ResourceOption) (*Stream, error)

GetStream gets an existing Stream 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 NewStream added in v5.2.0

func NewStream(ctx *pulumi.Context,
	name string, args *StreamArgs, opts ...pulumi.ResourceOption) (*Stream, error)

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

func (*Stream) ElementType added in v5.2.0

func (*Stream) ElementType() reflect.Type

func (*Stream) ToStreamOutput added in v5.2.0

func (i *Stream) ToStreamOutput() StreamOutput

func (*Stream) ToStreamOutputWithContext added in v5.2.0

func (i *Stream) ToStreamOutputWithContext(ctx context.Context) StreamOutput

type StreamArgs added in v5.2.0

type StreamArgs struct {
	// The exclusive date and time that specifies when the stream ends. If you don't define this parameter, the stream runs indefinitely until you cancel it. It must be in ISO 8601 date and time format and in Universal Coordinated Time (UTC). For example: `"2019-06-13T21:36:34Z"`.
	ExclusiveEndTime pulumi.StringPtrInput
	// The inclusive start date and time from which to start streaming journal data. This parameter must be in ISO 8601 date and time format and in Universal Coordinated Time (UTC). For example: `"2019-06-13T21:36:34Z"`.  This cannot be in the future and must be before `exclusiveEndTime`.  If you provide a value that is before the ledger's `CreationDateTime`, QLDB effectively defaults it to the ledger's `CreationDateTime`.
	InclusiveStartTime pulumi.StringInput
	// The configuration settings of the Kinesis Data Streams destination for your stream request. Documented below.
	KinesisConfiguration StreamKinesisConfigurationInput
	// The name of the QLDB ledger.
	LedgerName pulumi.StringInput
	// The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal stream to write data records to a Kinesis Data Streams resource.
	RoleArn pulumi.StringInput
	// The name that you want to assign to the QLDB journal stream. User-defined names can help identify and indicate the purpose of a stream.  Your stream name must be unique among other active streams for a given ledger. Stream names have the same naming constraints as ledger names, as defined in the [Amazon QLDB Developer Guide](https://docs.aws.amazon.com/qldb/latest/developerguide/limits.html#limits.naming).
	StreamName pulumi.StringInput
	// Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Stream resource.

func (StreamArgs) ElementType added in v5.2.0

func (StreamArgs) ElementType() reflect.Type

type StreamArray added in v5.2.0

type StreamArray []StreamInput

func (StreamArray) ElementType added in v5.2.0

func (StreamArray) ElementType() reflect.Type

func (StreamArray) ToStreamArrayOutput added in v5.2.0

func (i StreamArray) ToStreamArrayOutput() StreamArrayOutput

func (StreamArray) ToStreamArrayOutputWithContext added in v5.2.0

func (i StreamArray) ToStreamArrayOutputWithContext(ctx context.Context) StreamArrayOutput

type StreamArrayInput added in v5.2.0

type StreamArrayInput interface {
	pulumi.Input

	ToStreamArrayOutput() StreamArrayOutput
	ToStreamArrayOutputWithContext(context.Context) StreamArrayOutput
}

StreamArrayInput is an input type that accepts StreamArray and StreamArrayOutput values. You can construct a concrete instance of `StreamArrayInput` via:

StreamArray{ StreamArgs{...} }

type StreamArrayOutput added in v5.2.0

type StreamArrayOutput struct{ *pulumi.OutputState }

func (StreamArrayOutput) ElementType added in v5.2.0

func (StreamArrayOutput) ElementType() reflect.Type

func (StreamArrayOutput) Index added in v5.2.0

func (StreamArrayOutput) ToStreamArrayOutput added in v5.2.0

func (o StreamArrayOutput) ToStreamArrayOutput() StreamArrayOutput

func (StreamArrayOutput) ToStreamArrayOutputWithContext added in v5.2.0

func (o StreamArrayOutput) ToStreamArrayOutputWithContext(ctx context.Context) StreamArrayOutput

type StreamInput added in v5.2.0

type StreamInput interface {
	pulumi.Input

	ToStreamOutput() StreamOutput
	ToStreamOutputWithContext(ctx context.Context) StreamOutput
}

type StreamKinesisConfiguration added in v5.2.0

type StreamKinesisConfiguration struct {
	// Enables QLDB to publish multiple data records in a single Kinesis Data Streams record, increasing the number of records sent per API call. Default: `true`.
	AggregationEnabled *bool `pulumi:"aggregationEnabled"`
	// The Amazon Resource Name (ARN) of the Kinesis Data Streams resource.
	StreamArn string `pulumi:"streamArn"`
}

type StreamKinesisConfigurationArgs added in v5.2.0

type StreamKinesisConfigurationArgs struct {
	// Enables QLDB to publish multiple data records in a single Kinesis Data Streams record, increasing the number of records sent per API call. Default: `true`.
	AggregationEnabled pulumi.BoolPtrInput `pulumi:"aggregationEnabled"`
	// The Amazon Resource Name (ARN) of the Kinesis Data Streams resource.
	StreamArn pulumi.StringInput `pulumi:"streamArn"`
}

func (StreamKinesisConfigurationArgs) ElementType added in v5.2.0

func (StreamKinesisConfigurationArgs) ToStreamKinesisConfigurationOutput added in v5.2.0

func (i StreamKinesisConfigurationArgs) ToStreamKinesisConfigurationOutput() StreamKinesisConfigurationOutput

func (StreamKinesisConfigurationArgs) ToStreamKinesisConfigurationOutputWithContext added in v5.2.0

func (i StreamKinesisConfigurationArgs) ToStreamKinesisConfigurationOutputWithContext(ctx context.Context) StreamKinesisConfigurationOutput

func (StreamKinesisConfigurationArgs) ToStreamKinesisConfigurationPtrOutput added in v5.2.0

func (i StreamKinesisConfigurationArgs) ToStreamKinesisConfigurationPtrOutput() StreamKinesisConfigurationPtrOutput

func (StreamKinesisConfigurationArgs) ToStreamKinesisConfigurationPtrOutputWithContext added in v5.2.0

func (i StreamKinesisConfigurationArgs) ToStreamKinesisConfigurationPtrOutputWithContext(ctx context.Context) StreamKinesisConfigurationPtrOutput

type StreamKinesisConfigurationInput added in v5.2.0

type StreamKinesisConfigurationInput interface {
	pulumi.Input

	ToStreamKinesisConfigurationOutput() StreamKinesisConfigurationOutput
	ToStreamKinesisConfigurationOutputWithContext(context.Context) StreamKinesisConfigurationOutput
}

StreamKinesisConfigurationInput is an input type that accepts StreamKinesisConfigurationArgs and StreamKinesisConfigurationOutput values. You can construct a concrete instance of `StreamKinesisConfigurationInput` via:

StreamKinesisConfigurationArgs{...}

type StreamKinesisConfigurationOutput added in v5.2.0

type StreamKinesisConfigurationOutput struct{ *pulumi.OutputState }

func (StreamKinesisConfigurationOutput) AggregationEnabled added in v5.2.0

func (o StreamKinesisConfigurationOutput) AggregationEnabled() pulumi.BoolPtrOutput

Enables QLDB to publish multiple data records in a single Kinesis Data Streams record, increasing the number of records sent per API call. Default: `true`.

func (StreamKinesisConfigurationOutput) ElementType added in v5.2.0

func (StreamKinesisConfigurationOutput) StreamArn added in v5.2.0

The Amazon Resource Name (ARN) of the Kinesis Data Streams resource.

func (StreamKinesisConfigurationOutput) ToStreamKinesisConfigurationOutput added in v5.2.0

func (o StreamKinesisConfigurationOutput) ToStreamKinesisConfigurationOutput() StreamKinesisConfigurationOutput

func (StreamKinesisConfigurationOutput) ToStreamKinesisConfigurationOutputWithContext added in v5.2.0

func (o StreamKinesisConfigurationOutput) ToStreamKinesisConfigurationOutputWithContext(ctx context.Context) StreamKinesisConfigurationOutput

func (StreamKinesisConfigurationOutput) ToStreamKinesisConfigurationPtrOutput added in v5.2.0

func (o StreamKinesisConfigurationOutput) ToStreamKinesisConfigurationPtrOutput() StreamKinesisConfigurationPtrOutput

func (StreamKinesisConfigurationOutput) ToStreamKinesisConfigurationPtrOutputWithContext added in v5.2.0

func (o StreamKinesisConfigurationOutput) ToStreamKinesisConfigurationPtrOutputWithContext(ctx context.Context) StreamKinesisConfigurationPtrOutput

type StreamKinesisConfigurationPtrInput added in v5.2.0

type StreamKinesisConfigurationPtrInput interface {
	pulumi.Input

	ToStreamKinesisConfigurationPtrOutput() StreamKinesisConfigurationPtrOutput
	ToStreamKinesisConfigurationPtrOutputWithContext(context.Context) StreamKinesisConfigurationPtrOutput
}

StreamKinesisConfigurationPtrInput is an input type that accepts StreamKinesisConfigurationArgs, StreamKinesisConfigurationPtr and StreamKinesisConfigurationPtrOutput values. You can construct a concrete instance of `StreamKinesisConfigurationPtrInput` via:

        StreamKinesisConfigurationArgs{...}

or:

        nil

func StreamKinesisConfigurationPtr added in v5.2.0

type StreamKinesisConfigurationPtrOutput added in v5.2.0

type StreamKinesisConfigurationPtrOutput struct{ *pulumi.OutputState }

func (StreamKinesisConfigurationPtrOutput) AggregationEnabled added in v5.2.0

Enables QLDB to publish multiple data records in a single Kinesis Data Streams record, increasing the number of records sent per API call. Default: `true`.

func (StreamKinesisConfigurationPtrOutput) Elem added in v5.2.0

func (StreamKinesisConfigurationPtrOutput) ElementType added in v5.2.0

func (StreamKinesisConfigurationPtrOutput) StreamArn added in v5.2.0

The Amazon Resource Name (ARN) of the Kinesis Data Streams resource.

func (StreamKinesisConfigurationPtrOutput) ToStreamKinesisConfigurationPtrOutput added in v5.2.0

func (o StreamKinesisConfigurationPtrOutput) ToStreamKinesisConfigurationPtrOutput() StreamKinesisConfigurationPtrOutput

func (StreamKinesisConfigurationPtrOutput) ToStreamKinesisConfigurationPtrOutputWithContext added in v5.2.0

func (o StreamKinesisConfigurationPtrOutput) ToStreamKinesisConfigurationPtrOutputWithContext(ctx context.Context) StreamKinesisConfigurationPtrOutput

type StreamMap added in v5.2.0

type StreamMap map[string]StreamInput

func (StreamMap) ElementType added in v5.2.0

func (StreamMap) ElementType() reflect.Type

func (StreamMap) ToStreamMapOutput added in v5.2.0

func (i StreamMap) ToStreamMapOutput() StreamMapOutput

func (StreamMap) ToStreamMapOutputWithContext added in v5.2.0

func (i StreamMap) ToStreamMapOutputWithContext(ctx context.Context) StreamMapOutput

type StreamMapInput added in v5.2.0

type StreamMapInput interface {
	pulumi.Input

	ToStreamMapOutput() StreamMapOutput
	ToStreamMapOutputWithContext(context.Context) StreamMapOutput
}

StreamMapInput is an input type that accepts StreamMap and StreamMapOutput values. You can construct a concrete instance of `StreamMapInput` via:

StreamMap{ "key": StreamArgs{...} }

type StreamMapOutput added in v5.2.0

type StreamMapOutput struct{ *pulumi.OutputState }

func (StreamMapOutput) ElementType added in v5.2.0

func (StreamMapOutput) ElementType() reflect.Type

func (StreamMapOutput) MapIndex added in v5.2.0

func (StreamMapOutput) ToStreamMapOutput added in v5.2.0

func (o StreamMapOutput) ToStreamMapOutput() StreamMapOutput

func (StreamMapOutput) ToStreamMapOutputWithContext added in v5.2.0

func (o StreamMapOutput) ToStreamMapOutputWithContext(ctx context.Context) StreamMapOutput

type StreamOutput added in v5.2.0

type StreamOutput struct{ *pulumi.OutputState }

func (StreamOutput) Arn added in v5.4.0

The ARN of the QLDB Stream.

func (StreamOutput) ElementType added in v5.2.0

func (StreamOutput) ElementType() reflect.Type

func (StreamOutput) ExclusiveEndTime added in v5.4.0

func (o StreamOutput) ExclusiveEndTime() pulumi.StringPtrOutput

The exclusive date and time that specifies when the stream ends. If you don't define this parameter, the stream runs indefinitely until you cancel it. It must be in ISO 8601 date and time format and in Universal Coordinated Time (UTC). For example: `"2019-06-13T21:36:34Z"`.

func (StreamOutput) InclusiveStartTime added in v5.4.0

func (o StreamOutput) InclusiveStartTime() pulumi.StringOutput

The inclusive start date and time from which to start streaming journal data. This parameter must be in ISO 8601 date and time format and in Universal Coordinated Time (UTC). For example: `"2019-06-13T21:36:34Z"`. This cannot be in the future and must be before `exclusiveEndTime`. If you provide a value that is before the ledger's `CreationDateTime`, QLDB effectively defaults it to the ledger's `CreationDateTime`.

func (StreamOutput) KinesisConfiguration added in v5.4.0

func (o StreamOutput) KinesisConfiguration() StreamKinesisConfigurationOutput

The configuration settings of the Kinesis Data Streams destination for your stream request. Documented below.

func (StreamOutput) LedgerName added in v5.4.0

func (o StreamOutput) LedgerName() pulumi.StringOutput

The name of the QLDB ledger.

func (StreamOutput) RoleArn added in v5.4.0

func (o StreamOutput) RoleArn() pulumi.StringOutput

The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal stream to write data records to a Kinesis Data Streams resource.

func (StreamOutput) StreamName added in v5.4.0

func (o StreamOutput) StreamName() pulumi.StringOutput

The name that you want to assign to the QLDB journal stream. User-defined names can help identify and indicate the purpose of a stream. Your stream name must be unique among other active streams for a given ledger. Stream names have the same naming constraints as ledger names, as defined in the [Amazon QLDB Developer Guide](https://docs.aws.amazon.com/qldb/latest/developerguide/limits.html#limits.naming).

func (StreamOutput) Tags added in v5.4.0

Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (StreamOutput) TagsAll added in v5.4.0

func (o StreamOutput) TagsAll() pulumi.StringMapOutput

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

func (StreamOutput) ToStreamOutput added in v5.2.0

func (o StreamOutput) ToStreamOutput() StreamOutput

func (StreamOutput) ToStreamOutputWithContext added in v5.2.0

func (o StreamOutput) ToStreamOutputWithContext(ctx context.Context) StreamOutput

type StreamState added in v5.2.0

type StreamState struct {
	// The ARN of the QLDB Stream.
	Arn pulumi.StringPtrInput
	// The exclusive date and time that specifies when the stream ends. If you don't define this parameter, the stream runs indefinitely until you cancel it. It must be in ISO 8601 date and time format and in Universal Coordinated Time (UTC). For example: `"2019-06-13T21:36:34Z"`.
	ExclusiveEndTime pulumi.StringPtrInput
	// The inclusive start date and time from which to start streaming journal data. This parameter must be in ISO 8601 date and time format and in Universal Coordinated Time (UTC). For example: `"2019-06-13T21:36:34Z"`.  This cannot be in the future and must be before `exclusiveEndTime`.  If you provide a value that is before the ledger's `CreationDateTime`, QLDB effectively defaults it to the ledger's `CreationDateTime`.
	InclusiveStartTime pulumi.StringPtrInput
	// The configuration settings of the Kinesis Data Streams destination for your stream request. Documented below.
	KinesisConfiguration StreamKinesisConfigurationPtrInput
	// The name of the QLDB ledger.
	LedgerName pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal stream to write data records to a Kinesis Data Streams resource.
	RoleArn pulumi.StringPtrInput
	// The name that you want to assign to the QLDB journal stream. User-defined names can help identify and indicate the purpose of a stream.  Your stream name must be unique among other active streams for a given ledger. Stream names have the same naming constraints as ledger names, as defined in the [Amazon QLDB Developer Guide](https://docs.aws.amazon.com/qldb/latest/developerguide/limits.html#limits.naming).
	StreamName pulumi.StringPtrInput
	// Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapInput
}

func (StreamState) ElementType added in v5.2.0

func (StreamState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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