dynamodb

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2020 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Overview

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetTableAttribute added in v1.19.0

type GetTableAttribute struct {
	// The name of the DynamoDB table.
	Name string `pulumi:"name"`
	Type string `pulumi:"type"`
}

type GetTableAttributeArgs added in v1.19.0

type GetTableAttributeArgs struct {
	// The name of the DynamoDB table.
	Name pulumi.StringInput `pulumi:"name"`
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetTableAttributeArgs) ElementType added in v1.19.0

func (GetTableAttributeArgs) ElementType() reflect.Type

func (GetTableAttributeArgs) ToGetTableAttributeOutput added in v1.19.0

func (i GetTableAttributeArgs) ToGetTableAttributeOutput() GetTableAttributeOutput

func (GetTableAttributeArgs) ToGetTableAttributeOutputWithContext added in v1.19.0

func (i GetTableAttributeArgs) ToGetTableAttributeOutputWithContext(ctx context.Context) GetTableAttributeOutput

type GetTableAttributeArray added in v1.19.0

type GetTableAttributeArray []GetTableAttributeInput

func (GetTableAttributeArray) ElementType added in v1.19.0

func (GetTableAttributeArray) ElementType() reflect.Type

func (GetTableAttributeArray) ToGetTableAttributeArrayOutput added in v1.19.0

func (i GetTableAttributeArray) ToGetTableAttributeArrayOutput() GetTableAttributeArrayOutput

func (GetTableAttributeArray) ToGetTableAttributeArrayOutputWithContext added in v1.19.0

func (i GetTableAttributeArray) ToGetTableAttributeArrayOutputWithContext(ctx context.Context) GetTableAttributeArrayOutput

type GetTableAttributeArrayInput added in v1.19.0

type GetTableAttributeArrayInput interface {
	pulumi.Input

	ToGetTableAttributeArrayOutput() GetTableAttributeArrayOutput
	ToGetTableAttributeArrayOutputWithContext(context.Context) GetTableAttributeArrayOutput
}

type GetTableAttributeArrayOutput added in v1.19.0

type GetTableAttributeArrayOutput struct{ *pulumi.OutputState }

func (GetTableAttributeArrayOutput) ElementType added in v1.19.0

func (GetTableAttributeArrayOutput) Index added in v1.19.0

func (GetTableAttributeArrayOutput) ToGetTableAttributeArrayOutput added in v1.19.0

func (o GetTableAttributeArrayOutput) ToGetTableAttributeArrayOutput() GetTableAttributeArrayOutput

func (GetTableAttributeArrayOutput) ToGetTableAttributeArrayOutputWithContext added in v1.19.0

func (o GetTableAttributeArrayOutput) ToGetTableAttributeArrayOutputWithContext(ctx context.Context) GetTableAttributeArrayOutput

type GetTableAttributeInput added in v1.19.0

type GetTableAttributeInput interface {
	pulumi.Input

	ToGetTableAttributeOutput() GetTableAttributeOutput
	ToGetTableAttributeOutputWithContext(context.Context) GetTableAttributeOutput
}

type GetTableAttributeOutput added in v1.19.0

type GetTableAttributeOutput struct{ *pulumi.OutputState }

func (GetTableAttributeOutput) ElementType added in v1.19.0

func (GetTableAttributeOutput) ElementType() reflect.Type

func (GetTableAttributeOutput) Name added in v1.19.0

The name of the DynamoDB table.

func (GetTableAttributeOutput) ToGetTableAttributeOutput added in v1.19.0

func (o GetTableAttributeOutput) ToGetTableAttributeOutput() GetTableAttributeOutput

func (GetTableAttributeOutput) ToGetTableAttributeOutputWithContext added in v1.19.0

func (o GetTableAttributeOutput) ToGetTableAttributeOutputWithContext(ctx context.Context) GetTableAttributeOutput

func (GetTableAttributeOutput) Type added in v1.19.0

type GetTableGlobalSecondaryIndex added in v1.19.0

type GetTableGlobalSecondaryIndex struct {
	HashKey string `pulumi:"hashKey"`
	// The name of the DynamoDB table.
	Name             string   `pulumi:"name"`
	NonKeyAttributes []string `pulumi:"nonKeyAttributes"`
	ProjectionType   string   `pulumi:"projectionType"`
	RangeKey         string   `pulumi:"rangeKey"`
	ReadCapacity     int      `pulumi:"readCapacity"`
	WriteCapacity    int      `pulumi:"writeCapacity"`
}

type GetTableGlobalSecondaryIndexArgs added in v1.19.0

type GetTableGlobalSecondaryIndexArgs struct {
	HashKey pulumi.StringInput `pulumi:"hashKey"`
	// The name of the DynamoDB table.
	Name             pulumi.StringInput      `pulumi:"name"`
	NonKeyAttributes pulumi.StringArrayInput `pulumi:"nonKeyAttributes"`
	ProjectionType   pulumi.StringInput      `pulumi:"projectionType"`
	RangeKey         pulumi.StringInput      `pulumi:"rangeKey"`
	ReadCapacity     pulumi.IntInput         `pulumi:"readCapacity"`
	WriteCapacity    pulumi.IntInput         `pulumi:"writeCapacity"`
}

func (GetTableGlobalSecondaryIndexArgs) ElementType added in v1.19.0

func (GetTableGlobalSecondaryIndexArgs) ToGetTableGlobalSecondaryIndexOutput added in v1.19.0

func (i GetTableGlobalSecondaryIndexArgs) ToGetTableGlobalSecondaryIndexOutput() GetTableGlobalSecondaryIndexOutput

func (GetTableGlobalSecondaryIndexArgs) ToGetTableGlobalSecondaryIndexOutputWithContext added in v1.19.0

func (i GetTableGlobalSecondaryIndexArgs) ToGetTableGlobalSecondaryIndexOutputWithContext(ctx context.Context) GetTableGlobalSecondaryIndexOutput

type GetTableGlobalSecondaryIndexArray added in v1.19.0

type GetTableGlobalSecondaryIndexArray []GetTableGlobalSecondaryIndexInput

func (GetTableGlobalSecondaryIndexArray) ElementType added in v1.19.0

func (GetTableGlobalSecondaryIndexArray) ToGetTableGlobalSecondaryIndexArrayOutput added in v1.19.0

func (i GetTableGlobalSecondaryIndexArray) ToGetTableGlobalSecondaryIndexArrayOutput() GetTableGlobalSecondaryIndexArrayOutput

func (GetTableGlobalSecondaryIndexArray) ToGetTableGlobalSecondaryIndexArrayOutputWithContext added in v1.19.0

func (i GetTableGlobalSecondaryIndexArray) ToGetTableGlobalSecondaryIndexArrayOutputWithContext(ctx context.Context) GetTableGlobalSecondaryIndexArrayOutput

type GetTableGlobalSecondaryIndexArrayInput added in v1.19.0

type GetTableGlobalSecondaryIndexArrayInput interface {
	pulumi.Input

	ToGetTableGlobalSecondaryIndexArrayOutput() GetTableGlobalSecondaryIndexArrayOutput
	ToGetTableGlobalSecondaryIndexArrayOutputWithContext(context.Context) GetTableGlobalSecondaryIndexArrayOutput
}

type GetTableGlobalSecondaryIndexArrayOutput added in v1.19.0

type GetTableGlobalSecondaryIndexArrayOutput struct{ *pulumi.OutputState }

func (GetTableGlobalSecondaryIndexArrayOutput) ElementType added in v1.19.0

func (GetTableGlobalSecondaryIndexArrayOutput) Index added in v1.19.0

func (GetTableGlobalSecondaryIndexArrayOutput) ToGetTableGlobalSecondaryIndexArrayOutput added in v1.19.0

func (o GetTableGlobalSecondaryIndexArrayOutput) ToGetTableGlobalSecondaryIndexArrayOutput() GetTableGlobalSecondaryIndexArrayOutput

func (GetTableGlobalSecondaryIndexArrayOutput) ToGetTableGlobalSecondaryIndexArrayOutputWithContext added in v1.19.0

func (o GetTableGlobalSecondaryIndexArrayOutput) ToGetTableGlobalSecondaryIndexArrayOutputWithContext(ctx context.Context) GetTableGlobalSecondaryIndexArrayOutput

type GetTableGlobalSecondaryIndexInput added in v1.19.0

type GetTableGlobalSecondaryIndexInput interface {
	pulumi.Input

	ToGetTableGlobalSecondaryIndexOutput() GetTableGlobalSecondaryIndexOutput
	ToGetTableGlobalSecondaryIndexOutputWithContext(context.Context) GetTableGlobalSecondaryIndexOutput
}

type GetTableGlobalSecondaryIndexOutput added in v1.19.0

type GetTableGlobalSecondaryIndexOutput struct{ *pulumi.OutputState }

func (GetTableGlobalSecondaryIndexOutput) ElementType added in v1.19.0

func (GetTableGlobalSecondaryIndexOutput) HashKey added in v1.19.0

func (GetTableGlobalSecondaryIndexOutput) Name added in v1.19.0

The name of the DynamoDB table.

func (GetTableGlobalSecondaryIndexOutput) NonKeyAttributes added in v1.19.0

func (GetTableGlobalSecondaryIndexOutput) ProjectionType added in v1.19.0

func (GetTableGlobalSecondaryIndexOutput) RangeKey added in v1.19.0

func (GetTableGlobalSecondaryIndexOutput) ReadCapacity added in v1.19.0

func (GetTableGlobalSecondaryIndexOutput) ToGetTableGlobalSecondaryIndexOutput added in v1.19.0

func (o GetTableGlobalSecondaryIndexOutput) ToGetTableGlobalSecondaryIndexOutput() GetTableGlobalSecondaryIndexOutput

func (GetTableGlobalSecondaryIndexOutput) ToGetTableGlobalSecondaryIndexOutputWithContext added in v1.19.0

func (o GetTableGlobalSecondaryIndexOutput) ToGetTableGlobalSecondaryIndexOutputWithContext(ctx context.Context) GetTableGlobalSecondaryIndexOutput

func (GetTableGlobalSecondaryIndexOutput) WriteCapacity added in v1.19.0

type GetTableLocalSecondaryIndex added in v1.19.0

type GetTableLocalSecondaryIndex struct {
	// The name of the DynamoDB table.
	Name             string   `pulumi:"name"`
	NonKeyAttributes []string `pulumi:"nonKeyAttributes"`
	ProjectionType   string   `pulumi:"projectionType"`
	RangeKey         string   `pulumi:"rangeKey"`
}

type GetTableLocalSecondaryIndexArgs added in v1.19.0

type GetTableLocalSecondaryIndexArgs struct {
	// The name of the DynamoDB table.
	Name             pulumi.StringInput      `pulumi:"name"`
	NonKeyAttributes pulumi.StringArrayInput `pulumi:"nonKeyAttributes"`
	ProjectionType   pulumi.StringInput      `pulumi:"projectionType"`
	RangeKey         pulumi.StringInput      `pulumi:"rangeKey"`
}

func (GetTableLocalSecondaryIndexArgs) ElementType added in v1.19.0

func (GetTableLocalSecondaryIndexArgs) ToGetTableLocalSecondaryIndexOutput added in v1.19.0

func (i GetTableLocalSecondaryIndexArgs) ToGetTableLocalSecondaryIndexOutput() GetTableLocalSecondaryIndexOutput

func (GetTableLocalSecondaryIndexArgs) ToGetTableLocalSecondaryIndexOutputWithContext added in v1.19.0

func (i GetTableLocalSecondaryIndexArgs) ToGetTableLocalSecondaryIndexOutputWithContext(ctx context.Context) GetTableLocalSecondaryIndexOutput

type GetTableLocalSecondaryIndexArray added in v1.19.0

type GetTableLocalSecondaryIndexArray []GetTableLocalSecondaryIndexInput

func (GetTableLocalSecondaryIndexArray) ElementType added in v1.19.0

func (GetTableLocalSecondaryIndexArray) ToGetTableLocalSecondaryIndexArrayOutput added in v1.19.0

func (i GetTableLocalSecondaryIndexArray) ToGetTableLocalSecondaryIndexArrayOutput() GetTableLocalSecondaryIndexArrayOutput

func (GetTableLocalSecondaryIndexArray) ToGetTableLocalSecondaryIndexArrayOutputWithContext added in v1.19.0

func (i GetTableLocalSecondaryIndexArray) ToGetTableLocalSecondaryIndexArrayOutputWithContext(ctx context.Context) GetTableLocalSecondaryIndexArrayOutput

type GetTableLocalSecondaryIndexArrayInput added in v1.19.0

type GetTableLocalSecondaryIndexArrayInput interface {
	pulumi.Input

	ToGetTableLocalSecondaryIndexArrayOutput() GetTableLocalSecondaryIndexArrayOutput
	ToGetTableLocalSecondaryIndexArrayOutputWithContext(context.Context) GetTableLocalSecondaryIndexArrayOutput
}

type GetTableLocalSecondaryIndexArrayOutput added in v1.19.0

type GetTableLocalSecondaryIndexArrayOutput struct{ *pulumi.OutputState }

func (GetTableLocalSecondaryIndexArrayOutput) ElementType added in v1.19.0

func (GetTableLocalSecondaryIndexArrayOutput) Index added in v1.19.0

func (GetTableLocalSecondaryIndexArrayOutput) ToGetTableLocalSecondaryIndexArrayOutput added in v1.19.0

func (o GetTableLocalSecondaryIndexArrayOutput) ToGetTableLocalSecondaryIndexArrayOutput() GetTableLocalSecondaryIndexArrayOutput

func (GetTableLocalSecondaryIndexArrayOutput) ToGetTableLocalSecondaryIndexArrayOutputWithContext added in v1.19.0

func (o GetTableLocalSecondaryIndexArrayOutput) ToGetTableLocalSecondaryIndexArrayOutputWithContext(ctx context.Context) GetTableLocalSecondaryIndexArrayOutput

type GetTableLocalSecondaryIndexInput added in v1.19.0

type GetTableLocalSecondaryIndexInput interface {
	pulumi.Input

	ToGetTableLocalSecondaryIndexOutput() GetTableLocalSecondaryIndexOutput
	ToGetTableLocalSecondaryIndexOutputWithContext(context.Context) GetTableLocalSecondaryIndexOutput
}

type GetTableLocalSecondaryIndexOutput added in v1.19.0

type GetTableLocalSecondaryIndexOutput struct{ *pulumi.OutputState }

func (GetTableLocalSecondaryIndexOutput) ElementType added in v1.19.0

func (GetTableLocalSecondaryIndexOutput) Name added in v1.19.0

The name of the DynamoDB table.

func (GetTableLocalSecondaryIndexOutput) NonKeyAttributes added in v1.19.0

func (GetTableLocalSecondaryIndexOutput) ProjectionType added in v1.19.0

func (GetTableLocalSecondaryIndexOutput) RangeKey added in v1.19.0

func (GetTableLocalSecondaryIndexOutput) ToGetTableLocalSecondaryIndexOutput added in v1.19.0

func (o GetTableLocalSecondaryIndexOutput) ToGetTableLocalSecondaryIndexOutput() GetTableLocalSecondaryIndexOutput

func (GetTableLocalSecondaryIndexOutput) ToGetTableLocalSecondaryIndexOutputWithContext added in v1.19.0

func (o GetTableLocalSecondaryIndexOutput) ToGetTableLocalSecondaryIndexOutputWithContext(ctx context.Context) GetTableLocalSecondaryIndexOutput

type GetTablePointInTimeRecovery added in v1.19.0

type GetTablePointInTimeRecovery struct {
	Enabled bool `pulumi:"enabled"`
}

type GetTablePointInTimeRecoveryArgs added in v1.19.0

type GetTablePointInTimeRecoveryArgs struct {
	Enabled pulumi.BoolInput `pulumi:"enabled"`
}

func (GetTablePointInTimeRecoveryArgs) ElementType added in v1.19.0

func (GetTablePointInTimeRecoveryArgs) ToGetTablePointInTimeRecoveryOutput added in v1.19.0

func (i GetTablePointInTimeRecoveryArgs) ToGetTablePointInTimeRecoveryOutput() GetTablePointInTimeRecoveryOutput

func (GetTablePointInTimeRecoveryArgs) ToGetTablePointInTimeRecoveryOutputWithContext added in v1.19.0

func (i GetTablePointInTimeRecoveryArgs) ToGetTablePointInTimeRecoveryOutputWithContext(ctx context.Context) GetTablePointInTimeRecoveryOutput

type GetTablePointInTimeRecoveryInput added in v1.19.0

type GetTablePointInTimeRecoveryInput interface {
	pulumi.Input

	ToGetTablePointInTimeRecoveryOutput() GetTablePointInTimeRecoveryOutput
	ToGetTablePointInTimeRecoveryOutputWithContext(context.Context) GetTablePointInTimeRecoveryOutput
}

type GetTablePointInTimeRecoveryOutput added in v1.19.0

type GetTablePointInTimeRecoveryOutput struct{ *pulumi.OutputState }

func (GetTablePointInTimeRecoveryOutput) ElementType added in v1.19.0

func (GetTablePointInTimeRecoveryOutput) Enabled added in v1.19.0

func (GetTablePointInTimeRecoveryOutput) ToGetTablePointInTimeRecoveryOutput added in v1.19.0

func (o GetTablePointInTimeRecoveryOutput) ToGetTablePointInTimeRecoveryOutput() GetTablePointInTimeRecoveryOutput

func (GetTablePointInTimeRecoveryOutput) ToGetTablePointInTimeRecoveryOutputWithContext added in v1.19.0

func (o GetTablePointInTimeRecoveryOutput) ToGetTablePointInTimeRecoveryOutputWithContext(ctx context.Context) GetTablePointInTimeRecoveryOutput

type GetTableServerSideEncryption added in v1.19.0

type GetTableServerSideEncryption struct {
	Enabled   bool   `pulumi:"enabled"`
	KmsKeyArn string `pulumi:"kmsKeyArn"`
}

type GetTableServerSideEncryptionArgs added in v1.19.0

type GetTableServerSideEncryptionArgs struct {
	Enabled   pulumi.BoolInput   `pulumi:"enabled"`
	KmsKeyArn pulumi.StringInput `pulumi:"kmsKeyArn"`
}

func (GetTableServerSideEncryptionArgs) ElementType added in v1.19.0

func (GetTableServerSideEncryptionArgs) ToGetTableServerSideEncryptionOutput added in v1.19.0

func (i GetTableServerSideEncryptionArgs) ToGetTableServerSideEncryptionOutput() GetTableServerSideEncryptionOutput

func (GetTableServerSideEncryptionArgs) ToGetTableServerSideEncryptionOutputWithContext added in v1.19.0

func (i GetTableServerSideEncryptionArgs) ToGetTableServerSideEncryptionOutputWithContext(ctx context.Context) GetTableServerSideEncryptionOutput

type GetTableServerSideEncryptionInput added in v1.19.0

type GetTableServerSideEncryptionInput interface {
	pulumi.Input

	ToGetTableServerSideEncryptionOutput() GetTableServerSideEncryptionOutput
	ToGetTableServerSideEncryptionOutputWithContext(context.Context) GetTableServerSideEncryptionOutput
}

type GetTableServerSideEncryptionOutput added in v1.19.0

type GetTableServerSideEncryptionOutput struct{ *pulumi.OutputState }

func (GetTableServerSideEncryptionOutput) ElementType added in v1.19.0

func (GetTableServerSideEncryptionOutput) Enabled added in v1.19.0

func (GetTableServerSideEncryptionOutput) KmsKeyArn added in v1.20.0

func (GetTableServerSideEncryptionOutput) ToGetTableServerSideEncryptionOutput added in v1.19.0

func (o GetTableServerSideEncryptionOutput) ToGetTableServerSideEncryptionOutput() GetTableServerSideEncryptionOutput

func (GetTableServerSideEncryptionOutput) ToGetTableServerSideEncryptionOutputWithContext added in v1.19.0

func (o GetTableServerSideEncryptionOutput) ToGetTableServerSideEncryptionOutputWithContext(ctx context.Context) GetTableServerSideEncryptionOutput

type GetTableTtl added in v1.19.0

type GetTableTtl struct {
	AttributeName string `pulumi:"attributeName"`
	Enabled       bool   `pulumi:"enabled"`
}

type GetTableTtlArgs added in v1.19.0

type GetTableTtlArgs struct {
	AttributeName pulumi.StringInput `pulumi:"attributeName"`
	Enabled       pulumi.BoolInput   `pulumi:"enabled"`
}

func (GetTableTtlArgs) ElementType added in v1.19.0

func (GetTableTtlArgs) ElementType() reflect.Type

func (GetTableTtlArgs) ToGetTableTtlOutput added in v1.19.0

func (i GetTableTtlArgs) ToGetTableTtlOutput() GetTableTtlOutput

func (GetTableTtlArgs) ToGetTableTtlOutputWithContext added in v1.19.0

func (i GetTableTtlArgs) ToGetTableTtlOutputWithContext(ctx context.Context) GetTableTtlOutput

type GetTableTtlInput added in v1.19.0

type GetTableTtlInput interface {
	pulumi.Input

	ToGetTableTtlOutput() GetTableTtlOutput
	ToGetTableTtlOutputWithContext(context.Context) GetTableTtlOutput
}

type GetTableTtlOutput added in v1.19.0

type GetTableTtlOutput struct{ *pulumi.OutputState }

func (GetTableTtlOutput) AttributeName added in v1.19.0

func (o GetTableTtlOutput) AttributeName() pulumi.StringOutput

func (GetTableTtlOutput) ElementType added in v1.19.0

func (GetTableTtlOutput) ElementType() reflect.Type

func (GetTableTtlOutput) Enabled added in v1.19.0

func (o GetTableTtlOutput) Enabled() pulumi.BoolOutput

func (GetTableTtlOutput) ToGetTableTtlOutput added in v1.19.0

func (o GetTableTtlOutput) ToGetTableTtlOutput() GetTableTtlOutput

func (GetTableTtlOutput) ToGetTableTtlOutputWithContext added in v1.19.0

func (o GetTableTtlOutput) ToGetTableTtlOutputWithContext(ctx context.Context) GetTableTtlOutput

type GlobalTable

type GlobalTable struct {
	pulumi.CustomResourceState

	// The ARN of the DynamoDB Global Table
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The name of the global table. Must match underlying DynamoDB Table names in all regions.
	Name pulumi.StringOutput `pulumi:"name"`
	// Underlying DynamoDB Table. At least 1 replica must be defined. See below.
	Replicas GlobalTableReplicaArrayOutput `pulumi:"replicas"`
}

Provides a resource to manage a DynamoDB Global Table. These are layered on top of existing DynamoDB Tables.

> Note: There are many restrictions before you can properly create DynamoDB Global Tables in multiple regions. See the [AWS DynamoDB Global Table Requirements](http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables_reqs_bestpractices.html) for more information.

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

func GetGlobalTable

func GetGlobalTable(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GlobalTableState, opts ...pulumi.ResourceOption) (*GlobalTable, error)

GetGlobalTable gets an existing GlobalTable 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 NewGlobalTable

func NewGlobalTable(ctx *pulumi.Context,
	name string, args *GlobalTableArgs, opts ...pulumi.ResourceOption) (*GlobalTable, error)

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

type GlobalTableArgs

type GlobalTableArgs struct {
	// The name of the global table. Must match underlying DynamoDB Table names in all regions.
	Name pulumi.StringPtrInput
	// Underlying DynamoDB Table. At least 1 replica must be defined. See below.
	Replicas GlobalTableReplicaArrayInput
}

The set of arguments for constructing a GlobalTable resource.

func (GlobalTableArgs) ElementType added in v1.19.0

func (GlobalTableArgs) ElementType() reflect.Type

type GlobalTableReplica added in v1.19.0

type GlobalTableReplica struct {
	// AWS region name of replica DynamoDB Table. e.g. `us-east-1`
	RegionName string `pulumi:"regionName"`
}

type GlobalTableReplicaArgs added in v1.19.0

type GlobalTableReplicaArgs struct {
	// AWS region name of replica DynamoDB Table. e.g. `us-east-1`
	RegionName pulumi.StringInput `pulumi:"regionName"`
}

func (GlobalTableReplicaArgs) ElementType added in v1.19.0

func (GlobalTableReplicaArgs) ElementType() reflect.Type

func (GlobalTableReplicaArgs) ToGlobalTableReplicaOutput added in v1.19.0

func (i GlobalTableReplicaArgs) ToGlobalTableReplicaOutput() GlobalTableReplicaOutput

func (GlobalTableReplicaArgs) ToGlobalTableReplicaOutputWithContext added in v1.19.0

func (i GlobalTableReplicaArgs) ToGlobalTableReplicaOutputWithContext(ctx context.Context) GlobalTableReplicaOutput

type GlobalTableReplicaArray added in v1.19.0

type GlobalTableReplicaArray []GlobalTableReplicaInput

func (GlobalTableReplicaArray) ElementType added in v1.19.0

func (GlobalTableReplicaArray) ElementType() reflect.Type

func (GlobalTableReplicaArray) ToGlobalTableReplicaArrayOutput added in v1.19.0

func (i GlobalTableReplicaArray) ToGlobalTableReplicaArrayOutput() GlobalTableReplicaArrayOutput

func (GlobalTableReplicaArray) ToGlobalTableReplicaArrayOutputWithContext added in v1.19.0

func (i GlobalTableReplicaArray) ToGlobalTableReplicaArrayOutputWithContext(ctx context.Context) GlobalTableReplicaArrayOutput

type GlobalTableReplicaArrayInput added in v1.19.0

type GlobalTableReplicaArrayInput interface {
	pulumi.Input

	ToGlobalTableReplicaArrayOutput() GlobalTableReplicaArrayOutput
	ToGlobalTableReplicaArrayOutputWithContext(context.Context) GlobalTableReplicaArrayOutput
}

type GlobalTableReplicaArrayOutput added in v1.19.0

type GlobalTableReplicaArrayOutput struct{ *pulumi.OutputState }

func (GlobalTableReplicaArrayOutput) ElementType added in v1.19.0

func (GlobalTableReplicaArrayOutput) Index added in v1.19.0

func (GlobalTableReplicaArrayOutput) ToGlobalTableReplicaArrayOutput added in v1.19.0

func (o GlobalTableReplicaArrayOutput) ToGlobalTableReplicaArrayOutput() GlobalTableReplicaArrayOutput

func (GlobalTableReplicaArrayOutput) ToGlobalTableReplicaArrayOutputWithContext added in v1.19.0

func (o GlobalTableReplicaArrayOutput) ToGlobalTableReplicaArrayOutputWithContext(ctx context.Context) GlobalTableReplicaArrayOutput

type GlobalTableReplicaInput added in v1.19.0

type GlobalTableReplicaInput interface {
	pulumi.Input

	ToGlobalTableReplicaOutput() GlobalTableReplicaOutput
	ToGlobalTableReplicaOutputWithContext(context.Context) GlobalTableReplicaOutput
}

type GlobalTableReplicaOutput added in v1.19.0

type GlobalTableReplicaOutput struct{ *pulumi.OutputState }

func (GlobalTableReplicaOutput) ElementType added in v1.19.0

func (GlobalTableReplicaOutput) ElementType() reflect.Type

func (GlobalTableReplicaOutput) RegionName added in v1.19.0

AWS region name of replica DynamoDB Table. e.g. `us-east-1`

func (GlobalTableReplicaOutput) ToGlobalTableReplicaOutput added in v1.19.0

func (o GlobalTableReplicaOutput) ToGlobalTableReplicaOutput() GlobalTableReplicaOutput

func (GlobalTableReplicaOutput) ToGlobalTableReplicaOutputWithContext added in v1.19.0

func (o GlobalTableReplicaOutput) ToGlobalTableReplicaOutputWithContext(ctx context.Context) GlobalTableReplicaOutput

type GlobalTableState

type GlobalTableState struct {
	// The ARN of the DynamoDB Global Table
	Arn pulumi.StringPtrInput
	// The name of the global table. Must match underlying DynamoDB Table names in all regions.
	Name pulumi.StringPtrInput
	// Underlying DynamoDB Table. At least 1 replica must be defined. See below.
	Replicas GlobalTableReplicaArrayInput
}

func (GlobalTableState) ElementType added in v1.19.0

func (GlobalTableState) ElementType() reflect.Type

type LookupTableArgs added in v1.19.0

type LookupTableArgs struct {
	// The name of the DynamoDB table.
	Name                 string                        `pulumi:"name"`
	ServerSideEncryption *GetTableServerSideEncryption `pulumi:"serverSideEncryption"`
	Tags                 map[string]interface{}        `pulumi:"tags"`
}

A collection of arguments for invoking getTable.

type LookupTableResult added in v1.19.0

type LookupTableResult struct {
	Arn                    string                         `pulumi:"arn"`
	Attributes             []GetTableAttribute            `pulumi:"attributes"`
	BillingMode            string                         `pulumi:"billingMode"`
	GlobalSecondaryIndexes []GetTableGlobalSecondaryIndex `pulumi:"globalSecondaryIndexes"`
	HashKey                string                         `pulumi:"hashKey"`
	// id is the provider-assigned unique ID for this managed resource.
	Id                    string                        `pulumi:"id"`
	LocalSecondaryIndexes []GetTableLocalSecondaryIndex `pulumi:"localSecondaryIndexes"`
	Name                  string                        `pulumi:"name"`
	PointInTimeRecovery   GetTablePointInTimeRecovery   `pulumi:"pointInTimeRecovery"`
	RangeKey              string                        `pulumi:"rangeKey"`
	ReadCapacity          int                           `pulumi:"readCapacity"`
	ServerSideEncryption  GetTableServerSideEncryption  `pulumi:"serverSideEncryption"`
	StreamArn             string                        `pulumi:"streamArn"`
	StreamEnabled         bool                          `pulumi:"streamEnabled"`
	StreamLabel           string                        `pulumi:"streamLabel"`
	StreamViewType        string                        `pulumi:"streamViewType"`
	Tags                  map[string]interface{}        `pulumi:"tags"`
	Ttl                   GetTableTtl                   `pulumi:"ttl"`
	WriteCapacity         int                           `pulumi:"writeCapacity"`
}

A collection of values returned by getTable.

func LookupTable

func LookupTable(ctx *pulumi.Context, args *LookupTableArgs, opts ...pulumi.InvokeOption) (*LookupTableResult, error)

Provides information about a DynamoDB table.

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

type Table

type Table struct {
	pulumi.CustomResourceState

	// The arn of the table
	Arn pulumi.StringOutput `pulumi:"arn"`
	// List of nested attribute definitions. Only required for `hashKey` and `rangeKey` attributes. Each attribute has two properties:
	Attributes TableAttributeArrayOutput `pulumi:"attributes"`
	// Controls how you are charged for read and write throughput and how you manage capacity. The valid values are `PROVISIONED` and `PAY_PER_REQUEST`. Defaults to `PROVISIONED`.
	BillingMode pulumi.StringPtrOutput `pulumi:"billingMode"`
	// Describe a GSI for the table;
	// subject to the normal limits on the number of GSIs, projected
	// attributes, etc.
	GlobalSecondaryIndexes TableGlobalSecondaryIndexArrayOutput `pulumi:"globalSecondaryIndexes"`
	// The name of the hash key in the index; must be
	// defined as an attribute in the resource.
	HashKey pulumi.StringOutput `pulumi:"hashKey"`
	// Describe an LSI on the table;
	// these can only be allocated *at creation* so you cannot change this
	// definition after you have created the resource.
	LocalSecondaryIndexes TableLocalSecondaryIndexArrayOutput `pulumi:"localSecondaryIndexes"`
	// The name of the index
	Name pulumi.StringOutput `pulumi:"name"`
	// Point-in-time recovery options.
	PointInTimeRecovery TablePointInTimeRecoveryOutput `pulumi:"pointInTimeRecovery"`
	// The name of the range key; must be defined
	RangeKey pulumi.StringPtrOutput `pulumi:"rangeKey"`
	// The number of read units for this index. Must be set if billingMode is set to PROVISIONED.
	ReadCapacity pulumi.IntPtrOutput `pulumi:"readCapacity"`
	// Encryption at rest options. AWS DynamoDB tables are automatically encrypted at rest with an AWS owned Customer Master Key if this argument isn't specified.
	ServerSideEncryption TableServerSideEncryptionOutput `pulumi:"serverSideEncryption"`
	// The ARN of the Table Stream. Only available when `streamEnabled = true`
	StreamArn pulumi.StringOutput `pulumi:"streamArn"`
	// Indicates whether Streams are to be enabled (true) or disabled (false).
	StreamEnabled pulumi.BoolPtrOutput `pulumi:"streamEnabled"`
	// A timestamp, in ISO 8601 format, for this stream. Note that this timestamp is not
	// a unique identifier for the stream on its own. However, the combination of AWS customer ID,
	// table name and this field is guaranteed to be unique.
	// It can be used for creating CloudWatch Alarms. Only available when `streamEnabled = true`
	StreamLabel pulumi.StringOutput `pulumi:"streamLabel"`
	// When an item in the table is modified, StreamViewType determines what information is written to the table's stream. Valid values are `KEYS_ONLY`, `NEW_IMAGE`, `OLD_IMAGE`, `NEW_AND_OLD_IMAGES`.
	StreamViewType pulumi.StringOutput `pulumi:"streamViewType"`
	// A map of tags to populate on the created table.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// Defines ttl, has two properties, and can only be specified once:
	Ttl TableTtlPtrOutput `pulumi:"ttl"`
	// The number of write units for this index. Must be set if billingMode is set to PROVISIONED.
	WriteCapacity pulumi.IntPtrOutput `pulumi:"writeCapacity"`
}

Provides a DynamoDB table resource

> **Note:** It is recommended to use `lifecycle` [`ignoreChanges`](https://www.terraform.io/docs/configuration/resources.html#ignore_changes) for `readCapacity` and/or `writeCapacity` if there's [autoscaling policy](https://www.terraform.io/docs/providers/aws/r/appautoscaling_policy.html) attached to the table.

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

func GetTable

func GetTable(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TableState, opts ...pulumi.ResourceOption) (*Table, error)

GetTable gets an existing Table 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 NewTable

func NewTable(ctx *pulumi.Context,
	name string, args *TableArgs, opts ...pulumi.ResourceOption) (*Table, error)

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

type TableArgs

type TableArgs struct {
	// List of nested attribute definitions. Only required for `hashKey` and `rangeKey` attributes. Each attribute has two properties:
	Attributes TableAttributeArrayInput
	// Controls how you are charged for read and write throughput and how you manage capacity. The valid values are `PROVISIONED` and `PAY_PER_REQUEST`. Defaults to `PROVISIONED`.
	BillingMode pulumi.StringPtrInput
	// Describe a GSI for the table;
	// subject to the normal limits on the number of GSIs, projected
	// attributes, etc.
	GlobalSecondaryIndexes TableGlobalSecondaryIndexArrayInput
	// The name of the hash key in the index; must be
	// defined as an attribute in the resource.
	HashKey pulumi.StringInput
	// Describe an LSI on the table;
	// these can only be allocated *at creation* so you cannot change this
	// definition after you have created the resource.
	LocalSecondaryIndexes TableLocalSecondaryIndexArrayInput
	// The name of the index
	Name pulumi.StringPtrInput
	// Point-in-time recovery options.
	PointInTimeRecovery TablePointInTimeRecoveryPtrInput
	// The name of the range key; must be defined
	RangeKey pulumi.StringPtrInput
	// The number of read units for this index. Must be set if billingMode is set to PROVISIONED.
	ReadCapacity pulumi.IntPtrInput
	// Encryption at rest options. AWS DynamoDB tables are automatically encrypted at rest with an AWS owned Customer Master Key if this argument isn't specified.
	ServerSideEncryption TableServerSideEncryptionPtrInput
	// Indicates whether Streams are to be enabled (true) or disabled (false).
	StreamEnabled pulumi.BoolPtrInput
	// When an item in the table is modified, StreamViewType determines what information is written to the table's stream. Valid values are `KEYS_ONLY`, `NEW_IMAGE`, `OLD_IMAGE`, `NEW_AND_OLD_IMAGES`.
	StreamViewType pulumi.StringPtrInput
	// A map of tags to populate on the created table.
	Tags pulumi.MapInput
	// Defines ttl, has two properties, and can only be specified once:
	Ttl TableTtlPtrInput
	// The number of write units for this index. Must be set if billingMode is set to PROVISIONED.
	WriteCapacity pulumi.IntPtrInput
}

The set of arguments for constructing a Table resource.

func (TableArgs) ElementType added in v1.19.0

func (TableArgs) ElementType() reflect.Type

type TableAttribute added in v1.19.0

type TableAttribute struct {
	// The name of the index
	Name string `pulumi:"name"`
	// Attribute type, which must be a scalar type: `S`, `N`, or `B` for (S)tring, (N)umber or (B)inary data
	Type string `pulumi:"type"`
}

type TableAttributeArgs added in v1.19.0

type TableAttributeArgs struct {
	// The name of the index
	Name pulumi.StringInput `pulumi:"name"`
	// Attribute type, which must be a scalar type: `S`, `N`, or `B` for (S)tring, (N)umber or (B)inary data
	Type pulumi.StringInput `pulumi:"type"`
}

func (TableAttributeArgs) ElementType added in v1.19.0

func (TableAttributeArgs) ElementType() reflect.Type

func (TableAttributeArgs) ToTableAttributeOutput added in v1.19.0

func (i TableAttributeArgs) ToTableAttributeOutput() TableAttributeOutput

func (TableAttributeArgs) ToTableAttributeOutputWithContext added in v1.19.0

func (i TableAttributeArgs) ToTableAttributeOutputWithContext(ctx context.Context) TableAttributeOutput

type TableAttributeArray added in v1.19.0

type TableAttributeArray []TableAttributeInput

func (TableAttributeArray) ElementType added in v1.19.0

func (TableAttributeArray) ElementType() reflect.Type

func (TableAttributeArray) ToTableAttributeArrayOutput added in v1.19.0

func (i TableAttributeArray) ToTableAttributeArrayOutput() TableAttributeArrayOutput

func (TableAttributeArray) ToTableAttributeArrayOutputWithContext added in v1.19.0

func (i TableAttributeArray) ToTableAttributeArrayOutputWithContext(ctx context.Context) TableAttributeArrayOutput

type TableAttributeArrayInput added in v1.19.0

type TableAttributeArrayInput interface {
	pulumi.Input

	ToTableAttributeArrayOutput() TableAttributeArrayOutput
	ToTableAttributeArrayOutputWithContext(context.Context) TableAttributeArrayOutput
}

type TableAttributeArrayOutput added in v1.19.0

type TableAttributeArrayOutput struct{ *pulumi.OutputState }

func (TableAttributeArrayOutput) ElementType added in v1.19.0

func (TableAttributeArrayOutput) ElementType() reflect.Type

func (TableAttributeArrayOutput) Index added in v1.19.0

func (TableAttributeArrayOutput) ToTableAttributeArrayOutput added in v1.19.0

func (o TableAttributeArrayOutput) ToTableAttributeArrayOutput() TableAttributeArrayOutput

func (TableAttributeArrayOutput) ToTableAttributeArrayOutputWithContext added in v1.19.0

func (o TableAttributeArrayOutput) ToTableAttributeArrayOutputWithContext(ctx context.Context) TableAttributeArrayOutput

type TableAttributeInput added in v1.19.0

type TableAttributeInput interface {
	pulumi.Input

	ToTableAttributeOutput() TableAttributeOutput
	ToTableAttributeOutputWithContext(context.Context) TableAttributeOutput
}

type TableAttributeOutput added in v1.19.0

type TableAttributeOutput struct{ *pulumi.OutputState }

func (TableAttributeOutput) ElementType added in v1.19.0

func (TableAttributeOutput) ElementType() reflect.Type

func (TableAttributeOutput) Name added in v1.19.0

The name of the index

func (TableAttributeOutput) ToTableAttributeOutput added in v1.19.0

func (o TableAttributeOutput) ToTableAttributeOutput() TableAttributeOutput

func (TableAttributeOutput) ToTableAttributeOutputWithContext added in v1.19.0

func (o TableAttributeOutput) ToTableAttributeOutputWithContext(ctx context.Context) TableAttributeOutput

func (TableAttributeOutput) Type added in v1.19.0

Attribute type, which must be a scalar type: `S`, `N`, or `B` for (S)tring, (N)umber or (B)inary data

type TableGlobalSecondaryIndex added in v1.19.0

type TableGlobalSecondaryIndex struct {
	// The name of the hash key in the index; must be
	// defined as an attribute in the resource.
	HashKey string `pulumi:"hashKey"`
	// The name of the index
	Name string `pulumi:"name"`
	// Only required with `INCLUDE` as a
	// projection type; a list of attributes to project into the index. These
	// do not need to be defined as attributes on the table.
	NonKeyAttributes []string `pulumi:"nonKeyAttributes"`
	// One of `ALL`, `INCLUDE` or `KEYS_ONLY`
	// where `ALL` projects every attribute into the index, `KEYS_ONLY`
	// projects just the hash and range key into the index, and `INCLUDE`
	// projects only the keys specified in the _non_key_attributes_
	// parameter.
	ProjectionType string `pulumi:"projectionType"`
	// The name of the range key; must be defined
	RangeKey *string `pulumi:"rangeKey"`
	// The number of read units for this index. Must be set if billingMode is set to PROVISIONED.
	ReadCapacity *int `pulumi:"readCapacity"`
	// The number of write units for this index. Must be set if billingMode is set to PROVISIONED.
	WriteCapacity *int `pulumi:"writeCapacity"`
}

type TableGlobalSecondaryIndexArgs added in v1.19.0

type TableGlobalSecondaryIndexArgs struct {
	// The name of the hash key in the index; must be
	// defined as an attribute in the resource.
	HashKey pulumi.StringInput `pulumi:"hashKey"`
	// The name of the index
	Name pulumi.StringInput `pulumi:"name"`
	// Only required with `INCLUDE` as a
	// projection type; a list of attributes to project into the index. These
	// do not need to be defined as attributes on the table.
	NonKeyAttributes pulumi.StringArrayInput `pulumi:"nonKeyAttributes"`
	// One of `ALL`, `INCLUDE` or `KEYS_ONLY`
	// where `ALL` projects every attribute into the index, `KEYS_ONLY`
	// projects just the hash and range key into the index, and `INCLUDE`
	// projects only the keys specified in the _non_key_attributes_
	// parameter.
	ProjectionType pulumi.StringInput `pulumi:"projectionType"`
	// The name of the range key; must be defined
	RangeKey pulumi.StringPtrInput `pulumi:"rangeKey"`
	// The number of read units for this index. Must be set if billingMode is set to PROVISIONED.
	ReadCapacity pulumi.IntPtrInput `pulumi:"readCapacity"`
	// The number of write units for this index. Must be set if billingMode is set to PROVISIONED.
	WriteCapacity pulumi.IntPtrInput `pulumi:"writeCapacity"`
}

func (TableGlobalSecondaryIndexArgs) ElementType added in v1.19.0

func (TableGlobalSecondaryIndexArgs) ToTableGlobalSecondaryIndexOutput added in v1.19.0

func (i TableGlobalSecondaryIndexArgs) ToTableGlobalSecondaryIndexOutput() TableGlobalSecondaryIndexOutput

func (TableGlobalSecondaryIndexArgs) ToTableGlobalSecondaryIndexOutputWithContext added in v1.19.0

func (i TableGlobalSecondaryIndexArgs) ToTableGlobalSecondaryIndexOutputWithContext(ctx context.Context) TableGlobalSecondaryIndexOutput

type TableGlobalSecondaryIndexArray added in v1.19.0

type TableGlobalSecondaryIndexArray []TableGlobalSecondaryIndexInput

func (TableGlobalSecondaryIndexArray) ElementType added in v1.19.0

func (TableGlobalSecondaryIndexArray) ToTableGlobalSecondaryIndexArrayOutput added in v1.19.0

func (i TableGlobalSecondaryIndexArray) ToTableGlobalSecondaryIndexArrayOutput() TableGlobalSecondaryIndexArrayOutput

func (TableGlobalSecondaryIndexArray) ToTableGlobalSecondaryIndexArrayOutputWithContext added in v1.19.0

func (i TableGlobalSecondaryIndexArray) ToTableGlobalSecondaryIndexArrayOutputWithContext(ctx context.Context) TableGlobalSecondaryIndexArrayOutput

type TableGlobalSecondaryIndexArrayInput added in v1.19.0

type TableGlobalSecondaryIndexArrayInput interface {
	pulumi.Input

	ToTableGlobalSecondaryIndexArrayOutput() TableGlobalSecondaryIndexArrayOutput
	ToTableGlobalSecondaryIndexArrayOutputWithContext(context.Context) TableGlobalSecondaryIndexArrayOutput
}

type TableGlobalSecondaryIndexArrayOutput added in v1.19.0

type TableGlobalSecondaryIndexArrayOutput struct{ *pulumi.OutputState }

func (TableGlobalSecondaryIndexArrayOutput) ElementType added in v1.19.0

func (TableGlobalSecondaryIndexArrayOutput) Index added in v1.19.0

func (TableGlobalSecondaryIndexArrayOutput) ToTableGlobalSecondaryIndexArrayOutput added in v1.19.0

func (o TableGlobalSecondaryIndexArrayOutput) ToTableGlobalSecondaryIndexArrayOutput() TableGlobalSecondaryIndexArrayOutput

func (TableGlobalSecondaryIndexArrayOutput) ToTableGlobalSecondaryIndexArrayOutputWithContext added in v1.19.0

func (o TableGlobalSecondaryIndexArrayOutput) ToTableGlobalSecondaryIndexArrayOutputWithContext(ctx context.Context) TableGlobalSecondaryIndexArrayOutput

type TableGlobalSecondaryIndexInput added in v1.19.0

type TableGlobalSecondaryIndexInput interface {
	pulumi.Input

	ToTableGlobalSecondaryIndexOutput() TableGlobalSecondaryIndexOutput
	ToTableGlobalSecondaryIndexOutputWithContext(context.Context) TableGlobalSecondaryIndexOutput
}

type TableGlobalSecondaryIndexOutput added in v1.19.0

type TableGlobalSecondaryIndexOutput struct{ *pulumi.OutputState }

func (TableGlobalSecondaryIndexOutput) ElementType added in v1.19.0

func (TableGlobalSecondaryIndexOutput) HashKey added in v1.19.0

The name of the hash key in the index; must be defined as an attribute in the resource.

func (TableGlobalSecondaryIndexOutput) Name added in v1.19.0

The name of the index

func (TableGlobalSecondaryIndexOutput) NonKeyAttributes added in v1.19.0

Only required with `INCLUDE` as a projection type; a list of attributes to project into the index. These do not need to be defined as attributes on the table.

func (TableGlobalSecondaryIndexOutput) ProjectionType added in v1.19.0

One of `ALL`, `INCLUDE` or `KEYS_ONLY` where `ALL` projects every attribute into the index, `KEYS_ONLY` projects just the hash and range key into the index, and `INCLUDE` projects only the keys specified in the _non_key_attributes_ parameter.

func (TableGlobalSecondaryIndexOutput) RangeKey added in v1.19.0

The name of the range key; must be defined

func (TableGlobalSecondaryIndexOutput) ReadCapacity added in v1.19.0

The number of read units for this index. Must be set if billingMode is set to PROVISIONED.

func (TableGlobalSecondaryIndexOutput) ToTableGlobalSecondaryIndexOutput added in v1.19.0

func (o TableGlobalSecondaryIndexOutput) ToTableGlobalSecondaryIndexOutput() TableGlobalSecondaryIndexOutput

func (TableGlobalSecondaryIndexOutput) ToTableGlobalSecondaryIndexOutputWithContext added in v1.19.0

func (o TableGlobalSecondaryIndexOutput) ToTableGlobalSecondaryIndexOutputWithContext(ctx context.Context) TableGlobalSecondaryIndexOutput

func (TableGlobalSecondaryIndexOutput) WriteCapacity added in v1.19.0

The number of write units for this index. Must be set if billingMode is set to PROVISIONED.

type TableItem

type TableItem struct {
	pulumi.CustomResourceState

	// Hash key to use for lookups and identification of the item
	HashKey pulumi.StringOutput `pulumi:"hashKey"`
	// JSON representation of a map of attribute name/value pairs, one for each attribute.
	// Only the primary key attributes are required; you can optionally provide other attribute name-value pairs for the item.
	Item pulumi.StringOutput `pulumi:"item"`
	// Range key to use for lookups and identification of the item. Required if there is range key defined in the table.
	RangeKey pulumi.StringPtrOutput `pulumi:"rangeKey"`
	// The name of the table to contain the item.
	TableName pulumi.StringOutput `pulumi:"tableName"`
}

Provides a DynamoDB table item resource

> **Note:** This resource is not meant to be used for managing large amounts of data in your table, it is not designed to scale.

You should perform **regular backups** of all data in the table, see [AWS docs for more](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/BackupRestore.html).

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

func GetTableItem

func GetTableItem(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TableItemState, opts ...pulumi.ResourceOption) (*TableItem, error)

GetTableItem gets an existing TableItem 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 NewTableItem

func NewTableItem(ctx *pulumi.Context,
	name string, args *TableItemArgs, opts ...pulumi.ResourceOption) (*TableItem, error)

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

type TableItemArgs

type TableItemArgs struct {
	// Hash key to use for lookups and identification of the item
	HashKey pulumi.StringInput
	// JSON representation of a map of attribute name/value pairs, one for each attribute.
	// Only the primary key attributes are required; you can optionally provide other attribute name-value pairs for the item.
	Item pulumi.StringInput
	// Range key to use for lookups and identification of the item. Required if there is range key defined in the table.
	RangeKey pulumi.StringPtrInput
	// The name of the table to contain the item.
	TableName pulumi.StringInput
}

The set of arguments for constructing a TableItem resource.

func (TableItemArgs) ElementType added in v1.19.0

func (TableItemArgs) ElementType() reflect.Type

type TableItemState

type TableItemState struct {
	// Hash key to use for lookups and identification of the item
	HashKey pulumi.StringPtrInput
	// JSON representation of a map of attribute name/value pairs, one for each attribute.
	// Only the primary key attributes are required; you can optionally provide other attribute name-value pairs for the item.
	Item pulumi.StringPtrInput
	// Range key to use for lookups and identification of the item. Required if there is range key defined in the table.
	RangeKey pulumi.StringPtrInput
	// The name of the table to contain the item.
	TableName pulumi.StringPtrInput
}

func (TableItemState) ElementType added in v1.19.0

func (TableItemState) ElementType() reflect.Type

type TableLocalSecondaryIndex added in v1.19.0

type TableLocalSecondaryIndex struct {
	// The name of the index
	Name string `pulumi:"name"`
	// Only required with `INCLUDE` as a
	// projection type; a list of attributes to project into the index. These
	// do not need to be defined as attributes on the table.
	NonKeyAttributes []string `pulumi:"nonKeyAttributes"`
	// One of `ALL`, `INCLUDE` or `KEYS_ONLY`
	// where `ALL` projects every attribute into the index, `KEYS_ONLY`
	// projects just the hash and range key into the index, and `INCLUDE`
	// projects only the keys specified in the _non_key_attributes_
	// parameter.
	ProjectionType string `pulumi:"projectionType"`
	// The name of the range key; must be defined
	RangeKey string `pulumi:"rangeKey"`
}

type TableLocalSecondaryIndexArgs added in v1.19.0

type TableLocalSecondaryIndexArgs struct {
	// The name of the index
	Name pulumi.StringInput `pulumi:"name"`
	// Only required with `INCLUDE` as a
	// projection type; a list of attributes to project into the index. These
	// do not need to be defined as attributes on the table.
	NonKeyAttributes pulumi.StringArrayInput `pulumi:"nonKeyAttributes"`
	// One of `ALL`, `INCLUDE` or `KEYS_ONLY`
	// where `ALL` projects every attribute into the index, `KEYS_ONLY`
	// projects just the hash and range key into the index, and `INCLUDE`
	// projects only the keys specified in the _non_key_attributes_
	// parameter.
	ProjectionType pulumi.StringInput `pulumi:"projectionType"`
	// The name of the range key; must be defined
	RangeKey pulumi.StringInput `pulumi:"rangeKey"`
}

func (TableLocalSecondaryIndexArgs) ElementType added in v1.19.0

func (TableLocalSecondaryIndexArgs) ToTableLocalSecondaryIndexOutput added in v1.19.0

func (i TableLocalSecondaryIndexArgs) ToTableLocalSecondaryIndexOutput() TableLocalSecondaryIndexOutput

func (TableLocalSecondaryIndexArgs) ToTableLocalSecondaryIndexOutputWithContext added in v1.19.0

func (i TableLocalSecondaryIndexArgs) ToTableLocalSecondaryIndexOutputWithContext(ctx context.Context) TableLocalSecondaryIndexOutput

type TableLocalSecondaryIndexArray added in v1.19.0

type TableLocalSecondaryIndexArray []TableLocalSecondaryIndexInput

func (TableLocalSecondaryIndexArray) ElementType added in v1.19.0

func (TableLocalSecondaryIndexArray) ToTableLocalSecondaryIndexArrayOutput added in v1.19.0

func (i TableLocalSecondaryIndexArray) ToTableLocalSecondaryIndexArrayOutput() TableLocalSecondaryIndexArrayOutput

func (TableLocalSecondaryIndexArray) ToTableLocalSecondaryIndexArrayOutputWithContext added in v1.19.0

func (i TableLocalSecondaryIndexArray) ToTableLocalSecondaryIndexArrayOutputWithContext(ctx context.Context) TableLocalSecondaryIndexArrayOutput

type TableLocalSecondaryIndexArrayInput added in v1.19.0

type TableLocalSecondaryIndexArrayInput interface {
	pulumi.Input

	ToTableLocalSecondaryIndexArrayOutput() TableLocalSecondaryIndexArrayOutput
	ToTableLocalSecondaryIndexArrayOutputWithContext(context.Context) TableLocalSecondaryIndexArrayOutput
}

type TableLocalSecondaryIndexArrayOutput added in v1.19.0

type TableLocalSecondaryIndexArrayOutput struct{ *pulumi.OutputState }

func (TableLocalSecondaryIndexArrayOutput) ElementType added in v1.19.0

func (TableLocalSecondaryIndexArrayOutput) Index added in v1.19.0

func (TableLocalSecondaryIndexArrayOutput) ToTableLocalSecondaryIndexArrayOutput added in v1.19.0

func (o TableLocalSecondaryIndexArrayOutput) ToTableLocalSecondaryIndexArrayOutput() TableLocalSecondaryIndexArrayOutput

func (TableLocalSecondaryIndexArrayOutput) ToTableLocalSecondaryIndexArrayOutputWithContext added in v1.19.0

func (o TableLocalSecondaryIndexArrayOutput) ToTableLocalSecondaryIndexArrayOutputWithContext(ctx context.Context) TableLocalSecondaryIndexArrayOutput

type TableLocalSecondaryIndexInput added in v1.19.0

type TableLocalSecondaryIndexInput interface {
	pulumi.Input

	ToTableLocalSecondaryIndexOutput() TableLocalSecondaryIndexOutput
	ToTableLocalSecondaryIndexOutputWithContext(context.Context) TableLocalSecondaryIndexOutput
}

type TableLocalSecondaryIndexOutput added in v1.19.0

type TableLocalSecondaryIndexOutput struct{ *pulumi.OutputState }

func (TableLocalSecondaryIndexOutput) ElementType added in v1.19.0

func (TableLocalSecondaryIndexOutput) Name added in v1.19.0

The name of the index

func (TableLocalSecondaryIndexOutput) NonKeyAttributes added in v1.19.0

Only required with `INCLUDE` as a projection type; a list of attributes to project into the index. These do not need to be defined as attributes on the table.

func (TableLocalSecondaryIndexOutput) ProjectionType added in v1.19.0

One of `ALL`, `INCLUDE` or `KEYS_ONLY` where `ALL` projects every attribute into the index, `KEYS_ONLY` projects just the hash and range key into the index, and `INCLUDE` projects only the keys specified in the _non_key_attributes_ parameter.

func (TableLocalSecondaryIndexOutput) RangeKey added in v1.19.0

The name of the range key; must be defined

func (TableLocalSecondaryIndexOutput) ToTableLocalSecondaryIndexOutput added in v1.19.0

func (o TableLocalSecondaryIndexOutput) ToTableLocalSecondaryIndexOutput() TableLocalSecondaryIndexOutput

func (TableLocalSecondaryIndexOutput) ToTableLocalSecondaryIndexOutputWithContext added in v1.19.0

func (o TableLocalSecondaryIndexOutput) ToTableLocalSecondaryIndexOutputWithContext(ctx context.Context) TableLocalSecondaryIndexOutput

type TablePointInTimeRecovery added in v1.19.0

type TablePointInTimeRecovery struct {
	// Whether to enable point-in-time recovery - note that it can take up to 10 minutes to enable for new tables. If the `pointInTimeRecovery` block is not provided then this defaults to `false`.
	Enabled bool `pulumi:"enabled"`
}

type TablePointInTimeRecoveryArgs added in v1.19.0

type TablePointInTimeRecoveryArgs struct {
	// Whether to enable point-in-time recovery - note that it can take up to 10 minutes to enable for new tables. If the `pointInTimeRecovery` block is not provided then this defaults to `false`.
	Enabled pulumi.BoolInput `pulumi:"enabled"`
}

func (TablePointInTimeRecoveryArgs) ElementType added in v1.19.0

func (TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryOutput added in v1.19.0

func (i TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryOutput() TablePointInTimeRecoveryOutput

func (TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryOutputWithContext added in v1.19.0

func (i TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryOutputWithContext(ctx context.Context) TablePointInTimeRecoveryOutput

func (TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryPtrOutput added in v1.19.0

func (i TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryPtrOutput() TablePointInTimeRecoveryPtrOutput

func (TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryPtrOutputWithContext added in v1.19.0

func (i TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryPtrOutputWithContext(ctx context.Context) TablePointInTimeRecoveryPtrOutput

type TablePointInTimeRecoveryInput added in v1.19.0

type TablePointInTimeRecoveryInput interface {
	pulumi.Input

	ToTablePointInTimeRecoveryOutput() TablePointInTimeRecoveryOutput
	ToTablePointInTimeRecoveryOutputWithContext(context.Context) TablePointInTimeRecoveryOutput
}

type TablePointInTimeRecoveryOutput added in v1.19.0

type TablePointInTimeRecoveryOutput struct{ *pulumi.OutputState }

func (TablePointInTimeRecoveryOutput) ElementType added in v1.19.0

func (TablePointInTimeRecoveryOutput) Enabled added in v1.19.0

Whether to enable point-in-time recovery - note that it can take up to 10 minutes to enable for new tables. If the `pointInTimeRecovery` block is not provided then this defaults to `false`.

func (TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryOutput added in v1.19.0

func (o TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryOutput() TablePointInTimeRecoveryOutput

func (TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryOutputWithContext added in v1.19.0

func (o TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryOutputWithContext(ctx context.Context) TablePointInTimeRecoveryOutput

func (TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryPtrOutput added in v1.19.0

func (o TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryPtrOutput() TablePointInTimeRecoveryPtrOutput

func (TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryPtrOutputWithContext added in v1.19.0

func (o TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryPtrOutputWithContext(ctx context.Context) TablePointInTimeRecoveryPtrOutput

type TablePointInTimeRecoveryPtrInput added in v1.19.0

type TablePointInTimeRecoveryPtrInput interface {
	pulumi.Input

	ToTablePointInTimeRecoveryPtrOutput() TablePointInTimeRecoveryPtrOutput
	ToTablePointInTimeRecoveryPtrOutputWithContext(context.Context) TablePointInTimeRecoveryPtrOutput
}

func TablePointInTimeRecoveryPtr added in v1.19.0

func TablePointInTimeRecoveryPtr(v *TablePointInTimeRecoveryArgs) TablePointInTimeRecoveryPtrInput

type TablePointInTimeRecoveryPtrOutput added in v1.19.0

type TablePointInTimeRecoveryPtrOutput struct{ *pulumi.OutputState }

func (TablePointInTimeRecoveryPtrOutput) Elem added in v1.19.0

func (TablePointInTimeRecoveryPtrOutput) ElementType added in v1.19.0

func (TablePointInTimeRecoveryPtrOutput) Enabled added in v1.19.0

Whether to enable point-in-time recovery - note that it can take up to 10 minutes to enable for new tables. If the `pointInTimeRecovery` block is not provided then this defaults to `false`.

func (TablePointInTimeRecoveryPtrOutput) ToTablePointInTimeRecoveryPtrOutput added in v1.19.0

func (o TablePointInTimeRecoveryPtrOutput) ToTablePointInTimeRecoveryPtrOutput() TablePointInTimeRecoveryPtrOutput

func (TablePointInTimeRecoveryPtrOutput) ToTablePointInTimeRecoveryPtrOutputWithContext added in v1.19.0

func (o TablePointInTimeRecoveryPtrOutput) ToTablePointInTimeRecoveryPtrOutputWithContext(ctx context.Context) TablePointInTimeRecoveryPtrOutput

type TableServerSideEncryption added in v1.19.0

type TableServerSideEncryption struct {
	// Whether to enable point-in-time recovery - note that it can take up to 10 minutes to enable for new tables. If the `pointInTimeRecovery` block is not provided then this defaults to `false`.
	Enabled bool `pulumi:"enabled"`
	// The ARN of the CMK that should be used for the AWS KMS encryption.
	// This attribute should only be specified if the key is different from the default DynamoDB CMK, `alias/aws/dynamodb`.
	KmsKeyArn *string `pulumi:"kmsKeyArn"`
}

type TableServerSideEncryptionArgs added in v1.19.0

type TableServerSideEncryptionArgs struct {
	// Whether to enable point-in-time recovery - note that it can take up to 10 minutes to enable for new tables. If the `pointInTimeRecovery` block is not provided then this defaults to `false`.
	Enabled pulumi.BoolInput `pulumi:"enabled"`
	// The ARN of the CMK that should be used for the AWS KMS encryption.
	// This attribute should only be specified if the key is different from the default DynamoDB CMK, `alias/aws/dynamodb`.
	KmsKeyArn pulumi.StringPtrInput `pulumi:"kmsKeyArn"`
}

func (TableServerSideEncryptionArgs) ElementType added in v1.19.0

func (TableServerSideEncryptionArgs) ToTableServerSideEncryptionOutput added in v1.19.0

func (i TableServerSideEncryptionArgs) ToTableServerSideEncryptionOutput() TableServerSideEncryptionOutput

func (TableServerSideEncryptionArgs) ToTableServerSideEncryptionOutputWithContext added in v1.19.0

func (i TableServerSideEncryptionArgs) ToTableServerSideEncryptionOutputWithContext(ctx context.Context) TableServerSideEncryptionOutput

func (TableServerSideEncryptionArgs) ToTableServerSideEncryptionPtrOutput added in v1.19.0

func (i TableServerSideEncryptionArgs) ToTableServerSideEncryptionPtrOutput() TableServerSideEncryptionPtrOutput

func (TableServerSideEncryptionArgs) ToTableServerSideEncryptionPtrOutputWithContext added in v1.19.0

func (i TableServerSideEncryptionArgs) ToTableServerSideEncryptionPtrOutputWithContext(ctx context.Context) TableServerSideEncryptionPtrOutput

type TableServerSideEncryptionInput added in v1.19.0

type TableServerSideEncryptionInput interface {
	pulumi.Input

	ToTableServerSideEncryptionOutput() TableServerSideEncryptionOutput
	ToTableServerSideEncryptionOutputWithContext(context.Context) TableServerSideEncryptionOutput
}

type TableServerSideEncryptionOutput added in v1.19.0

type TableServerSideEncryptionOutput struct{ *pulumi.OutputState }

func (TableServerSideEncryptionOutput) ElementType added in v1.19.0

func (TableServerSideEncryptionOutput) Enabled added in v1.19.0

Whether to enable point-in-time recovery - note that it can take up to 10 minutes to enable for new tables. If the `pointInTimeRecovery` block is not provided then this defaults to `false`.

func (TableServerSideEncryptionOutput) KmsKeyArn added in v1.20.0

The ARN of the CMK that should be used for the AWS KMS encryption. This attribute should only be specified if the key is different from the default DynamoDB CMK, `alias/aws/dynamodb`.

func (TableServerSideEncryptionOutput) ToTableServerSideEncryptionOutput added in v1.19.0

func (o TableServerSideEncryptionOutput) ToTableServerSideEncryptionOutput() TableServerSideEncryptionOutput

func (TableServerSideEncryptionOutput) ToTableServerSideEncryptionOutputWithContext added in v1.19.0

func (o TableServerSideEncryptionOutput) ToTableServerSideEncryptionOutputWithContext(ctx context.Context) TableServerSideEncryptionOutput

func (TableServerSideEncryptionOutput) ToTableServerSideEncryptionPtrOutput added in v1.19.0

func (o TableServerSideEncryptionOutput) ToTableServerSideEncryptionPtrOutput() TableServerSideEncryptionPtrOutput

func (TableServerSideEncryptionOutput) ToTableServerSideEncryptionPtrOutputWithContext added in v1.19.0

func (o TableServerSideEncryptionOutput) ToTableServerSideEncryptionPtrOutputWithContext(ctx context.Context) TableServerSideEncryptionPtrOutput

type TableServerSideEncryptionPtrInput added in v1.19.0

type TableServerSideEncryptionPtrInput interface {
	pulumi.Input

	ToTableServerSideEncryptionPtrOutput() TableServerSideEncryptionPtrOutput
	ToTableServerSideEncryptionPtrOutputWithContext(context.Context) TableServerSideEncryptionPtrOutput
}

func TableServerSideEncryptionPtr added in v1.19.0

type TableServerSideEncryptionPtrOutput added in v1.19.0

type TableServerSideEncryptionPtrOutput struct{ *pulumi.OutputState }

func (TableServerSideEncryptionPtrOutput) Elem added in v1.19.0

func (TableServerSideEncryptionPtrOutput) ElementType added in v1.19.0

func (TableServerSideEncryptionPtrOutput) Enabled added in v1.19.0

Whether to enable point-in-time recovery - note that it can take up to 10 minutes to enable for new tables. If the `pointInTimeRecovery` block is not provided then this defaults to `false`.

func (TableServerSideEncryptionPtrOutput) KmsKeyArn added in v1.20.0

The ARN of the CMK that should be used for the AWS KMS encryption. This attribute should only be specified if the key is different from the default DynamoDB CMK, `alias/aws/dynamodb`.

func (TableServerSideEncryptionPtrOutput) ToTableServerSideEncryptionPtrOutput added in v1.19.0

func (o TableServerSideEncryptionPtrOutput) ToTableServerSideEncryptionPtrOutput() TableServerSideEncryptionPtrOutput

func (TableServerSideEncryptionPtrOutput) ToTableServerSideEncryptionPtrOutputWithContext added in v1.19.0

func (o TableServerSideEncryptionPtrOutput) ToTableServerSideEncryptionPtrOutputWithContext(ctx context.Context) TableServerSideEncryptionPtrOutput

type TableState

type TableState struct {
	// The arn of the table
	Arn pulumi.StringPtrInput
	// List of nested attribute definitions. Only required for `hashKey` and `rangeKey` attributes. Each attribute has two properties:
	Attributes TableAttributeArrayInput
	// Controls how you are charged for read and write throughput and how you manage capacity. The valid values are `PROVISIONED` and `PAY_PER_REQUEST`. Defaults to `PROVISIONED`.
	BillingMode pulumi.StringPtrInput
	// Describe a GSI for the table;
	// subject to the normal limits on the number of GSIs, projected
	// attributes, etc.
	GlobalSecondaryIndexes TableGlobalSecondaryIndexArrayInput
	// The name of the hash key in the index; must be
	// defined as an attribute in the resource.
	HashKey pulumi.StringPtrInput
	// Describe an LSI on the table;
	// these can only be allocated *at creation* so you cannot change this
	// definition after you have created the resource.
	LocalSecondaryIndexes TableLocalSecondaryIndexArrayInput
	// The name of the index
	Name pulumi.StringPtrInput
	// Point-in-time recovery options.
	PointInTimeRecovery TablePointInTimeRecoveryPtrInput
	// The name of the range key; must be defined
	RangeKey pulumi.StringPtrInput
	// The number of read units for this index. Must be set if billingMode is set to PROVISIONED.
	ReadCapacity pulumi.IntPtrInput
	// Encryption at rest options. AWS DynamoDB tables are automatically encrypted at rest with an AWS owned Customer Master Key if this argument isn't specified.
	ServerSideEncryption TableServerSideEncryptionPtrInput
	// The ARN of the Table Stream. Only available when `streamEnabled = true`
	StreamArn pulumi.StringPtrInput
	// Indicates whether Streams are to be enabled (true) or disabled (false).
	StreamEnabled pulumi.BoolPtrInput
	// A timestamp, in ISO 8601 format, for this stream. Note that this timestamp is not
	// a unique identifier for the stream on its own. However, the combination of AWS customer ID,
	// table name and this field is guaranteed to be unique.
	// It can be used for creating CloudWatch Alarms. Only available when `streamEnabled = true`
	StreamLabel pulumi.StringPtrInput
	// When an item in the table is modified, StreamViewType determines what information is written to the table's stream. Valid values are `KEYS_ONLY`, `NEW_IMAGE`, `OLD_IMAGE`, `NEW_AND_OLD_IMAGES`.
	StreamViewType pulumi.StringPtrInput
	// A map of tags to populate on the created table.
	Tags pulumi.MapInput
	// Defines ttl, has two properties, and can only be specified once:
	Ttl TableTtlPtrInput
	// The number of write units for this index. Must be set if billingMode is set to PROVISIONED.
	WriteCapacity pulumi.IntPtrInput
}

func (TableState) ElementType added in v1.19.0

func (TableState) ElementType() reflect.Type

type TableTtl added in v1.19.0

type TableTtl struct {
	// The name of the table attribute to store the TTL timestamp in.
	AttributeName string `pulumi:"attributeName"`
	// Whether to enable point-in-time recovery - note that it can take up to 10 minutes to enable for new tables. If the `pointInTimeRecovery` block is not provided then this defaults to `false`.
	Enabled *bool `pulumi:"enabled"`
}

type TableTtlArgs added in v1.19.0

type TableTtlArgs struct {
	// The name of the table attribute to store the TTL timestamp in.
	AttributeName pulumi.StringInput `pulumi:"attributeName"`
	// Whether to enable point-in-time recovery - note that it can take up to 10 minutes to enable for new tables. If the `pointInTimeRecovery` block is not provided then this defaults to `false`.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
}

func (TableTtlArgs) ElementType added in v1.19.0

func (TableTtlArgs) ElementType() reflect.Type

func (TableTtlArgs) ToTableTtlOutput added in v1.19.0

func (i TableTtlArgs) ToTableTtlOutput() TableTtlOutput

func (TableTtlArgs) ToTableTtlOutputWithContext added in v1.19.0

func (i TableTtlArgs) ToTableTtlOutputWithContext(ctx context.Context) TableTtlOutput

func (TableTtlArgs) ToTableTtlPtrOutput added in v1.19.0

func (i TableTtlArgs) ToTableTtlPtrOutput() TableTtlPtrOutput

func (TableTtlArgs) ToTableTtlPtrOutputWithContext added in v1.19.0

func (i TableTtlArgs) ToTableTtlPtrOutputWithContext(ctx context.Context) TableTtlPtrOutput

type TableTtlInput added in v1.19.0

type TableTtlInput interface {
	pulumi.Input

	ToTableTtlOutput() TableTtlOutput
	ToTableTtlOutputWithContext(context.Context) TableTtlOutput
}

type TableTtlOutput added in v1.19.0

type TableTtlOutput struct{ *pulumi.OutputState }

func (TableTtlOutput) AttributeName added in v1.19.0

func (o TableTtlOutput) AttributeName() pulumi.StringOutput

The name of the table attribute to store the TTL timestamp in.

func (TableTtlOutput) ElementType added in v1.19.0

func (TableTtlOutput) ElementType() reflect.Type

func (TableTtlOutput) Enabled added in v1.19.0

func (o TableTtlOutput) Enabled() pulumi.BoolPtrOutput

Whether to enable point-in-time recovery - note that it can take up to 10 minutes to enable for new tables. If the `pointInTimeRecovery` block is not provided then this defaults to `false`.

func (TableTtlOutput) ToTableTtlOutput added in v1.19.0

func (o TableTtlOutput) ToTableTtlOutput() TableTtlOutput

func (TableTtlOutput) ToTableTtlOutputWithContext added in v1.19.0

func (o TableTtlOutput) ToTableTtlOutputWithContext(ctx context.Context) TableTtlOutput

func (TableTtlOutput) ToTableTtlPtrOutput added in v1.19.0

func (o TableTtlOutput) ToTableTtlPtrOutput() TableTtlPtrOutput

func (TableTtlOutput) ToTableTtlPtrOutputWithContext added in v1.19.0

func (o TableTtlOutput) ToTableTtlPtrOutputWithContext(ctx context.Context) TableTtlPtrOutput

type TableTtlPtrInput added in v1.19.0

type TableTtlPtrInput interface {
	pulumi.Input

	ToTableTtlPtrOutput() TableTtlPtrOutput
	ToTableTtlPtrOutputWithContext(context.Context) TableTtlPtrOutput
}

func TableTtlPtr added in v1.19.0

func TableTtlPtr(v *TableTtlArgs) TableTtlPtrInput

type TableTtlPtrOutput added in v1.19.0

type TableTtlPtrOutput struct{ *pulumi.OutputState }

func (TableTtlPtrOutput) AttributeName added in v1.19.0

func (o TableTtlPtrOutput) AttributeName() pulumi.StringOutput

The name of the table attribute to store the TTL timestamp in.

func (TableTtlPtrOutput) Elem added in v1.19.0

func (TableTtlPtrOutput) ElementType added in v1.19.0

func (TableTtlPtrOutput) ElementType() reflect.Type

func (TableTtlPtrOutput) Enabled added in v1.19.0

Whether to enable point-in-time recovery - note that it can take up to 10 minutes to enable for new tables. If the `pointInTimeRecovery` block is not provided then this defaults to `false`.

func (TableTtlPtrOutput) ToTableTtlPtrOutput added in v1.19.0

func (o TableTtlPtrOutput) ToTableTtlPtrOutput() TableTtlPtrOutput

func (TableTtlPtrOutput) ToTableTtlPtrOutputWithContext added in v1.19.0

func (o TableTtlPtrOutput) ToTableTtlPtrOutputWithContext(ctx context.Context) TableTtlPtrOutput

Jump to

Keyboard shortcuts

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