dynamodb

package
Version: v1.31.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetTableAttribute

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

type GetTableAttributeArgs

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

func (GetTableAttributeArgs) ElementType

func (GetTableAttributeArgs) ElementType() reflect.Type

func (GetTableAttributeArgs) ToGetTableAttributeOutput

func (i GetTableAttributeArgs) ToGetTableAttributeOutput() GetTableAttributeOutput

func (GetTableAttributeArgs) ToGetTableAttributeOutputWithContext

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

type GetTableAttributeArray

type GetTableAttributeArray []GetTableAttributeInput

func (GetTableAttributeArray) ElementType

func (GetTableAttributeArray) ElementType() reflect.Type

func (GetTableAttributeArray) ToGetTableAttributeArrayOutput

func (i GetTableAttributeArray) ToGetTableAttributeArrayOutput() GetTableAttributeArrayOutput

func (GetTableAttributeArray) ToGetTableAttributeArrayOutputWithContext

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

type GetTableAttributeArrayInput

type GetTableAttributeArrayInput interface {
	pulumi.Input

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

type GetTableAttributeArrayOutput

type GetTableAttributeArrayOutput struct{ *pulumi.OutputState }

func (GetTableAttributeArrayOutput) ElementType

func (GetTableAttributeArrayOutput) Index

func (GetTableAttributeArrayOutput) ToGetTableAttributeArrayOutput

func (o GetTableAttributeArrayOutput) ToGetTableAttributeArrayOutput() GetTableAttributeArrayOutput

func (GetTableAttributeArrayOutput) ToGetTableAttributeArrayOutputWithContext

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

type GetTableAttributeInput

type GetTableAttributeInput interface {
	pulumi.Input

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

type GetTableAttributeOutput

type GetTableAttributeOutput struct{ *pulumi.OutputState }

func (GetTableAttributeOutput) ElementType

func (GetTableAttributeOutput) ElementType() reflect.Type

func (GetTableAttributeOutput) Name

The name of the DynamoDB table.

func (GetTableAttributeOutput) ToGetTableAttributeOutput

func (o GetTableAttributeOutput) ToGetTableAttributeOutput() GetTableAttributeOutput

func (GetTableAttributeOutput) ToGetTableAttributeOutputWithContext

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

func (GetTableAttributeOutput) Type

type GetTableGlobalSecondaryIndex

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

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

func (GetTableGlobalSecondaryIndexArgs) ToGetTableGlobalSecondaryIndexOutput

func (i GetTableGlobalSecondaryIndexArgs) ToGetTableGlobalSecondaryIndexOutput() GetTableGlobalSecondaryIndexOutput

func (GetTableGlobalSecondaryIndexArgs) ToGetTableGlobalSecondaryIndexOutputWithContext

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

type GetTableGlobalSecondaryIndexArray

type GetTableGlobalSecondaryIndexArray []GetTableGlobalSecondaryIndexInput

func (GetTableGlobalSecondaryIndexArray) ElementType

func (GetTableGlobalSecondaryIndexArray) ToGetTableGlobalSecondaryIndexArrayOutput

func (i GetTableGlobalSecondaryIndexArray) ToGetTableGlobalSecondaryIndexArrayOutput() GetTableGlobalSecondaryIndexArrayOutput

func (GetTableGlobalSecondaryIndexArray) ToGetTableGlobalSecondaryIndexArrayOutputWithContext

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

type GetTableGlobalSecondaryIndexArrayInput

type GetTableGlobalSecondaryIndexArrayInput interface {
	pulumi.Input

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

type GetTableGlobalSecondaryIndexArrayOutput

type GetTableGlobalSecondaryIndexArrayOutput struct{ *pulumi.OutputState }

func (GetTableGlobalSecondaryIndexArrayOutput) ElementType

func (GetTableGlobalSecondaryIndexArrayOutput) Index

func (GetTableGlobalSecondaryIndexArrayOutput) ToGetTableGlobalSecondaryIndexArrayOutput

func (o GetTableGlobalSecondaryIndexArrayOutput) ToGetTableGlobalSecondaryIndexArrayOutput() GetTableGlobalSecondaryIndexArrayOutput

func (GetTableGlobalSecondaryIndexArrayOutput) ToGetTableGlobalSecondaryIndexArrayOutputWithContext

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

type GetTableGlobalSecondaryIndexInput

type GetTableGlobalSecondaryIndexInput interface {
	pulumi.Input

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

type GetTableGlobalSecondaryIndexOutput

type GetTableGlobalSecondaryIndexOutput struct{ *pulumi.OutputState }

func (GetTableGlobalSecondaryIndexOutput) ElementType

func (GetTableGlobalSecondaryIndexOutput) HashKey

func (GetTableGlobalSecondaryIndexOutput) Name

The name of the DynamoDB table.

func (GetTableGlobalSecondaryIndexOutput) NonKeyAttributes

func (GetTableGlobalSecondaryIndexOutput) ProjectionType

func (GetTableGlobalSecondaryIndexOutput) RangeKey

func (GetTableGlobalSecondaryIndexOutput) ReadCapacity

func (GetTableGlobalSecondaryIndexOutput) ToGetTableGlobalSecondaryIndexOutput

func (o GetTableGlobalSecondaryIndexOutput) ToGetTableGlobalSecondaryIndexOutput() GetTableGlobalSecondaryIndexOutput

func (GetTableGlobalSecondaryIndexOutput) ToGetTableGlobalSecondaryIndexOutputWithContext

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

func (GetTableGlobalSecondaryIndexOutput) WriteCapacity

type GetTableLocalSecondaryIndex

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

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

func (GetTableLocalSecondaryIndexArgs) ToGetTableLocalSecondaryIndexOutput

func (i GetTableLocalSecondaryIndexArgs) ToGetTableLocalSecondaryIndexOutput() GetTableLocalSecondaryIndexOutput

func (GetTableLocalSecondaryIndexArgs) ToGetTableLocalSecondaryIndexOutputWithContext

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

type GetTableLocalSecondaryIndexArray

type GetTableLocalSecondaryIndexArray []GetTableLocalSecondaryIndexInput

func (GetTableLocalSecondaryIndexArray) ElementType

func (GetTableLocalSecondaryIndexArray) ToGetTableLocalSecondaryIndexArrayOutput

func (i GetTableLocalSecondaryIndexArray) ToGetTableLocalSecondaryIndexArrayOutput() GetTableLocalSecondaryIndexArrayOutput

func (GetTableLocalSecondaryIndexArray) ToGetTableLocalSecondaryIndexArrayOutputWithContext

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

type GetTableLocalSecondaryIndexArrayInput

type GetTableLocalSecondaryIndexArrayInput interface {
	pulumi.Input

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

type GetTableLocalSecondaryIndexArrayOutput

type GetTableLocalSecondaryIndexArrayOutput struct{ *pulumi.OutputState }

func (GetTableLocalSecondaryIndexArrayOutput) ElementType

func (GetTableLocalSecondaryIndexArrayOutput) Index

func (GetTableLocalSecondaryIndexArrayOutput) ToGetTableLocalSecondaryIndexArrayOutput

func (o GetTableLocalSecondaryIndexArrayOutput) ToGetTableLocalSecondaryIndexArrayOutput() GetTableLocalSecondaryIndexArrayOutput

func (GetTableLocalSecondaryIndexArrayOutput) ToGetTableLocalSecondaryIndexArrayOutputWithContext

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

type GetTableLocalSecondaryIndexInput

type GetTableLocalSecondaryIndexInput interface {
	pulumi.Input

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

type GetTableLocalSecondaryIndexOutput

type GetTableLocalSecondaryIndexOutput struct{ *pulumi.OutputState }

func (GetTableLocalSecondaryIndexOutput) ElementType

func (GetTableLocalSecondaryIndexOutput) Name

The name of the DynamoDB table.

func (GetTableLocalSecondaryIndexOutput) NonKeyAttributes

func (GetTableLocalSecondaryIndexOutput) ProjectionType

func (GetTableLocalSecondaryIndexOutput) RangeKey

func (GetTableLocalSecondaryIndexOutput) ToGetTableLocalSecondaryIndexOutput

func (o GetTableLocalSecondaryIndexOutput) ToGetTableLocalSecondaryIndexOutput() GetTableLocalSecondaryIndexOutput

func (GetTableLocalSecondaryIndexOutput) ToGetTableLocalSecondaryIndexOutputWithContext

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

type GetTablePointInTimeRecovery

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

type GetTablePointInTimeRecoveryArgs

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

func (GetTablePointInTimeRecoveryArgs) ElementType

func (GetTablePointInTimeRecoveryArgs) ToGetTablePointInTimeRecoveryOutput

func (i GetTablePointInTimeRecoveryArgs) ToGetTablePointInTimeRecoveryOutput() GetTablePointInTimeRecoveryOutput

func (GetTablePointInTimeRecoveryArgs) ToGetTablePointInTimeRecoveryOutputWithContext

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

type GetTablePointInTimeRecoveryInput

type GetTablePointInTimeRecoveryInput interface {
	pulumi.Input

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

type GetTablePointInTimeRecoveryOutput

type GetTablePointInTimeRecoveryOutput struct{ *pulumi.OutputState }

func (GetTablePointInTimeRecoveryOutput) ElementType

func (GetTablePointInTimeRecoveryOutput) Enabled

func (GetTablePointInTimeRecoveryOutput) ToGetTablePointInTimeRecoveryOutput

func (o GetTablePointInTimeRecoveryOutput) ToGetTablePointInTimeRecoveryOutput() GetTablePointInTimeRecoveryOutput

func (GetTablePointInTimeRecoveryOutput) ToGetTablePointInTimeRecoveryOutputWithContext

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

type GetTableServerSideEncryption

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

type GetTableServerSideEncryptionArgs

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

func (GetTableServerSideEncryptionArgs) ElementType

func (GetTableServerSideEncryptionArgs) ToGetTableServerSideEncryptionOutput

func (i GetTableServerSideEncryptionArgs) ToGetTableServerSideEncryptionOutput() GetTableServerSideEncryptionOutput

func (GetTableServerSideEncryptionArgs) ToGetTableServerSideEncryptionOutputWithContext

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

type GetTableServerSideEncryptionInput

type GetTableServerSideEncryptionInput interface {
	pulumi.Input

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

type GetTableServerSideEncryptionOutput

type GetTableServerSideEncryptionOutput struct{ *pulumi.OutputState }

func (GetTableServerSideEncryptionOutput) ElementType

func (GetTableServerSideEncryptionOutput) Enabled

func (GetTableServerSideEncryptionOutput) KmsKeyArn

func (GetTableServerSideEncryptionOutput) ToGetTableServerSideEncryptionOutput

func (o GetTableServerSideEncryptionOutput) ToGetTableServerSideEncryptionOutput() GetTableServerSideEncryptionOutput

func (GetTableServerSideEncryptionOutput) ToGetTableServerSideEncryptionOutputWithContext

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

type GetTableTtl

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

type GetTableTtlArgs

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

func (GetTableTtlArgs) ElementType

func (GetTableTtlArgs) ElementType() reflect.Type

func (GetTableTtlArgs) ToGetTableTtlOutput

func (i GetTableTtlArgs) ToGetTableTtlOutput() GetTableTtlOutput

func (GetTableTtlArgs) ToGetTableTtlOutputWithContext

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

type GetTableTtlInput

type GetTableTtlInput interface {
	pulumi.Input

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

type GetTableTtlOutput

type GetTableTtlOutput struct{ *pulumi.OutputState }

func (GetTableTtlOutput) AttributeName

func (o GetTableTtlOutput) AttributeName() pulumi.StringOutput

func (GetTableTtlOutput) ElementType

func (GetTableTtlOutput) ElementType() reflect.Type

func (GetTableTtlOutput) Enabled

func (o GetTableTtlOutput) Enabled() pulumi.BoolOutput

func (GetTableTtlOutput) ToGetTableTtlOutput

func (o GetTableTtlOutput) ToGetTableTtlOutput() GetTableTtlOutput

func (GetTableTtlOutput) ToGetTableTtlOutputWithContext

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.

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

func (GlobalTableArgs) ElementType() reflect.Type

type GlobalTableReplica

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

type GlobalTableReplicaArgs

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

func (GlobalTableReplicaArgs) ElementType

func (GlobalTableReplicaArgs) ElementType() reflect.Type

func (GlobalTableReplicaArgs) ToGlobalTableReplicaOutput

func (i GlobalTableReplicaArgs) ToGlobalTableReplicaOutput() GlobalTableReplicaOutput

func (GlobalTableReplicaArgs) ToGlobalTableReplicaOutputWithContext

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

type GlobalTableReplicaArray

type GlobalTableReplicaArray []GlobalTableReplicaInput

func (GlobalTableReplicaArray) ElementType

func (GlobalTableReplicaArray) ElementType() reflect.Type

func (GlobalTableReplicaArray) ToGlobalTableReplicaArrayOutput

func (i GlobalTableReplicaArray) ToGlobalTableReplicaArrayOutput() GlobalTableReplicaArrayOutput

func (GlobalTableReplicaArray) ToGlobalTableReplicaArrayOutputWithContext

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

type GlobalTableReplicaArrayInput

type GlobalTableReplicaArrayInput interface {
	pulumi.Input

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

type GlobalTableReplicaArrayOutput

type GlobalTableReplicaArrayOutput struct{ *pulumi.OutputState }

func (GlobalTableReplicaArrayOutput) ElementType

func (GlobalTableReplicaArrayOutput) Index

func (GlobalTableReplicaArrayOutput) ToGlobalTableReplicaArrayOutput

func (o GlobalTableReplicaArrayOutput) ToGlobalTableReplicaArrayOutput() GlobalTableReplicaArrayOutput

func (GlobalTableReplicaArrayOutput) ToGlobalTableReplicaArrayOutputWithContext

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

type GlobalTableReplicaInput

type GlobalTableReplicaInput interface {
	pulumi.Input

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

type GlobalTableReplicaOutput

type GlobalTableReplicaOutput struct{ *pulumi.OutputState }

func (GlobalTableReplicaOutput) ElementType

func (GlobalTableReplicaOutput) ElementType() reflect.Type

func (GlobalTableReplicaOutput) RegionName

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

func (GlobalTableReplicaOutput) ToGlobalTableReplicaOutput

func (o GlobalTableReplicaOutput) ToGlobalTableReplicaOutput() GlobalTableReplicaOutput

func (GlobalTableReplicaOutput) ToGlobalTableReplicaOutputWithContext

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

func (GlobalTableState) ElementType() reflect.Type

type LookupTableArgs

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

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.

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 [`ignoreChanges`](https://www.pulumi.com/docs/intro/concepts/programming-model/#ignorechanges) 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.

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

func (TableArgs) ElementType() reflect.Type

type TableAttribute

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

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

func (TableAttributeArgs) ElementType() reflect.Type

func (TableAttributeArgs) ToTableAttributeOutput

func (i TableAttributeArgs) ToTableAttributeOutput() TableAttributeOutput

func (TableAttributeArgs) ToTableAttributeOutputWithContext

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

type TableAttributeArray

type TableAttributeArray []TableAttributeInput

func (TableAttributeArray) ElementType

func (TableAttributeArray) ElementType() reflect.Type

func (TableAttributeArray) ToTableAttributeArrayOutput

func (i TableAttributeArray) ToTableAttributeArrayOutput() TableAttributeArrayOutput

func (TableAttributeArray) ToTableAttributeArrayOutputWithContext

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

type TableAttributeArrayInput

type TableAttributeArrayInput interface {
	pulumi.Input

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

type TableAttributeArrayOutput

type TableAttributeArrayOutput struct{ *pulumi.OutputState }

func (TableAttributeArrayOutput) ElementType

func (TableAttributeArrayOutput) ElementType() reflect.Type

func (TableAttributeArrayOutput) Index

func (TableAttributeArrayOutput) ToTableAttributeArrayOutput

func (o TableAttributeArrayOutput) ToTableAttributeArrayOutput() TableAttributeArrayOutput

func (TableAttributeArrayOutput) ToTableAttributeArrayOutputWithContext

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

type TableAttributeInput

type TableAttributeInput interface {
	pulumi.Input

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

type TableAttributeOutput

type TableAttributeOutput struct{ *pulumi.OutputState }

func (TableAttributeOutput) ElementType

func (TableAttributeOutput) ElementType() reflect.Type

func (TableAttributeOutput) Name

The name of the index

func (TableAttributeOutput) ToTableAttributeOutput

func (o TableAttributeOutput) ToTableAttributeOutput() TableAttributeOutput

func (TableAttributeOutput) ToTableAttributeOutputWithContext

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

func (TableAttributeOutput) Type

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

type TableGlobalSecondaryIndex

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

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

func (TableGlobalSecondaryIndexArgs) ToTableGlobalSecondaryIndexOutput

func (i TableGlobalSecondaryIndexArgs) ToTableGlobalSecondaryIndexOutput() TableGlobalSecondaryIndexOutput

func (TableGlobalSecondaryIndexArgs) ToTableGlobalSecondaryIndexOutputWithContext

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

type TableGlobalSecondaryIndexArray

type TableGlobalSecondaryIndexArray []TableGlobalSecondaryIndexInput

func (TableGlobalSecondaryIndexArray) ElementType

func (TableGlobalSecondaryIndexArray) ToTableGlobalSecondaryIndexArrayOutput

func (i TableGlobalSecondaryIndexArray) ToTableGlobalSecondaryIndexArrayOutput() TableGlobalSecondaryIndexArrayOutput

func (TableGlobalSecondaryIndexArray) ToTableGlobalSecondaryIndexArrayOutputWithContext

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

type TableGlobalSecondaryIndexArrayInput

type TableGlobalSecondaryIndexArrayInput interface {
	pulumi.Input

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

type TableGlobalSecondaryIndexArrayOutput

type TableGlobalSecondaryIndexArrayOutput struct{ *pulumi.OutputState }

func (TableGlobalSecondaryIndexArrayOutput) ElementType

func (TableGlobalSecondaryIndexArrayOutput) Index

func (TableGlobalSecondaryIndexArrayOutput) ToTableGlobalSecondaryIndexArrayOutput

func (o TableGlobalSecondaryIndexArrayOutput) ToTableGlobalSecondaryIndexArrayOutput() TableGlobalSecondaryIndexArrayOutput

func (TableGlobalSecondaryIndexArrayOutput) ToTableGlobalSecondaryIndexArrayOutputWithContext

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

type TableGlobalSecondaryIndexInput

type TableGlobalSecondaryIndexInput interface {
	pulumi.Input

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

type TableGlobalSecondaryIndexOutput

type TableGlobalSecondaryIndexOutput struct{ *pulumi.OutputState }

func (TableGlobalSecondaryIndexOutput) ElementType

func (TableGlobalSecondaryIndexOutput) HashKey

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

func (TableGlobalSecondaryIndexOutput) Name

The name of the index

func (TableGlobalSecondaryIndexOutput) NonKeyAttributes

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

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

The name of the range key; must be defined

func (TableGlobalSecondaryIndexOutput) ReadCapacity

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

func (TableGlobalSecondaryIndexOutput) ToTableGlobalSecondaryIndexOutput

func (o TableGlobalSecondaryIndexOutput) ToTableGlobalSecondaryIndexOutput() TableGlobalSecondaryIndexOutput

func (TableGlobalSecondaryIndexOutput) ToTableGlobalSecondaryIndexOutputWithContext

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

func (TableGlobalSecondaryIndexOutput) WriteCapacity

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).

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

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

func (TableItemState) ElementType() reflect.Type

type TableLocalSecondaryIndex

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

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

func (TableLocalSecondaryIndexArgs) ToTableLocalSecondaryIndexOutput

func (i TableLocalSecondaryIndexArgs) ToTableLocalSecondaryIndexOutput() TableLocalSecondaryIndexOutput

func (TableLocalSecondaryIndexArgs) ToTableLocalSecondaryIndexOutputWithContext

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

type TableLocalSecondaryIndexArray

type TableLocalSecondaryIndexArray []TableLocalSecondaryIndexInput

func (TableLocalSecondaryIndexArray) ElementType

func (TableLocalSecondaryIndexArray) ToTableLocalSecondaryIndexArrayOutput

func (i TableLocalSecondaryIndexArray) ToTableLocalSecondaryIndexArrayOutput() TableLocalSecondaryIndexArrayOutput

func (TableLocalSecondaryIndexArray) ToTableLocalSecondaryIndexArrayOutputWithContext

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

type TableLocalSecondaryIndexArrayInput

type TableLocalSecondaryIndexArrayInput interface {
	pulumi.Input

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

type TableLocalSecondaryIndexArrayOutput

type TableLocalSecondaryIndexArrayOutput struct{ *pulumi.OutputState }

func (TableLocalSecondaryIndexArrayOutput) ElementType

func (TableLocalSecondaryIndexArrayOutput) Index

func (TableLocalSecondaryIndexArrayOutput) ToTableLocalSecondaryIndexArrayOutput

func (o TableLocalSecondaryIndexArrayOutput) ToTableLocalSecondaryIndexArrayOutput() TableLocalSecondaryIndexArrayOutput

func (TableLocalSecondaryIndexArrayOutput) ToTableLocalSecondaryIndexArrayOutputWithContext

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

type TableLocalSecondaryIndexInput

type TableLocalSecondaryIndexInput interface {
	pulumi.Input

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

type TableLocalSecondaryIndexOutput

type TableLocalSecondaryIndexOutput struct{ *pulumi.OutputState }

func (TableLocalSecondaryIndexOutput) ElementType

func (TableLocalSecondaryIndexOutput) Name

The name of the index

func (TableLocalSecondaryIndexOutput) NonKeyAttributes

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

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

The name of the range key; must be defined

func (TableLocalSecondaryIndexOutput) ToTableLocalSecondaryIndexOutput

func (o TableLocalSecondaryIndexOutput) ToTableLocalSecondaryIndexOutput() TableLocalSecondaryIndexOutput

func (TableLocalSecondaryIndexOutput) ToTableLocalSecondaryIndexOutputWithContext

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

type TablePointInTimeRecovery

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

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

func (TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryOutput

func (i TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryOutput() TablePointInTimeRecoveryOutput

func (TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryOutputWithContext

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

func (TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryPtrOutput

func (i TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryPtrOutput() TablePointInTimeRecoveryPtrOutput

func (TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryPtrOutputWithContext

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

type TablePointInTimeRecoveryInput

type TablePointInTimeRecoveryInput interface {
	pulumi.Input

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

type TablePointInTimeRecoveryOutput

type TablePointInTimeRecoveryOutput struct{ *pulumi.OutputState }

func (TablePointInTimeRecoveryOutput) ElementType

func (TablePointInTimeRecoveryOutput) Enabled

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

func (o TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryOutput() TablePointInTimeRecoveryOutput

func (TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryOutputWithContext

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

func (TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryPtrOutput

func (o TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryPtrOutput() TablePointInTimeRecoveryPtrOutput

func (TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryPtrOutputWithContext

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

type TablePointInTimeRecoveryPtrInput

type TablePointInTimeRecoveryPtrInput interface {
	pulumi.Input

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

type TablePointInTimeRecoveryPtrOutput

type TablePointInTimeRecoveryPtrOutput struct{ *pulumi.OutputState }

func (TablePointInTimeRecoveryPtrOutput) Elem

func (TablePointInTimeRecoveryPtrOutput) ElementType

func (TablePointInTimeRecoveryPtrOutput) Enabled

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

func (o TablePointInTimeRecoveryPtrOutput) ToTablePointInTimeRecoveryPtrOutput() TablePointInTimeRecoveryPtrOutput

func (TablePointInTimeRecoveryPtrOutput) ToTablePointInTimeRecoveryPtrOutputWithContext

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

type TableServerSideEncryption

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

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

func (TableServerSideEncryptionArgs) ToTableServerSideEncryptionOutput

func (i TableServerSideEncryptionArgs) ToTableServerSideEncryptionOutput() TableServerSideEncryptionOutput

func (TableServerSideEncryptionArgs) ToTableServerSideEncryptionOutputWithContext

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

func (TableServerSideEncryptionArgs) ToTableServerSideEncryptionPtrOutput

func (i TableServerSideEncryptionArgs) ToTableServerSideEncryptionPtrOutput() TableServerSideEncryptionPtrOutput

func (TableServerSideEncryptionArgs) ToTableServerSideEncryptionPtrOutputWithContext

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

type TableServerSideEncryptionInput

type TableServerSideEncryptionInput interface {
	pulumi.Input

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

type TableServerSideEncryptionOutput

type TableServerSideEncryptionOutput struct{ *pulumi.OutputState }

func (TableServerSideEncryptionOutput) ElementType

func (TableServerSideEncryptionOutput) Enabled

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

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

func (o TableServerSideEncryptionOutput) ToTableServerSideEncryptionOutput() TableServerSideEncryptionOutput

func (TableServerSideEncryptionOutput) ToTableServerSideEncryptionOutputWithContext

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

func (TableServerSideEncryptionOutput) ToTableServerSideEncryptionPtrOutput

func (o TableServerSideEncryptionOutput) ToTableServerSideEncryptionPtrOutput() TableServerSideEncryptionPtrOutput

func (TableServerSideEncryptionOutput) ToTableServerSideEncryptionPtrOutputWithContext

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

type TableServerSideEncryptionPtrInput

type TableServerSideEncryptionPtrInput interface {
	pulumi.Input

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

type TableServerSideEncryptionPtrOutput

type TableServerSideEncryptionPtrOutput struct{ *pulumi.OutputState }

func (TableServerSideEncryptionPtrOutput) Elem

func (TableServerSideEncryptionPtrOutput) ElementType

func (TableServerSideEncryptionPtrOutput) Enabled

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

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

func (o TableServerSideEncryptionPtrOutput) ToTableServerSideEncryptionPtrOutput() TableServerSideEncryptionPtrOutput

func (TableServerSideEncryptionPtrOutput) ToTableServerSideEncryptionPtrOutputWithContext

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

func (TableState) ElementType() reflect.Type

type TableTtl

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

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

func (TableTtlArgs) ElementType() reflect.Type

func (TableTtlArgs) ToTableTtlOutput

func (i TableTtlArgs) ToTableTtlOutput() TableTtlOutput

func (TableTtlArgs) ToTableTtlOutputWithContext

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

func (TableTtlArgs) ToTableTtlPtrOutput

func (i TableTtlArgs) ToTableTtlPtrOutput() TableTtlPtrOutput

func (TableTtlArgs) ToTableTtlPtrOutputWithContext

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

type TableTtlInput

type TableTtlInput interface {
	pulumi.Input

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

type TableTtlOutput

type TableTtlOutput struct{ *pulumi.OutputState }

func (TableTtlOutput) AttributeName

func (o TableTtlOutput) AttributeName() pulumi.StringOutput

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

func (TableTtlOutput) ElementType

func (TableTtlOutput) ElementType() reflect.Type

func (TableTtlOutput) Enabled

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

func (o TableTtlOutput) ToTableTtlOutput() TableTtlOutput

func (TableTtlOutput) ToTableTtlOutputWithContext

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

func (TableTtlOutput) ToTableTtlPtrOutput

func (o TableTtlOutput) ToTableTtlPtrOutput() TableTtlPtrOutput

func (TableTtlOutput) ToTableTtlPtrOutputWithContext

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

type TableTtlPtrInput

type TableTtlPtrInput interface {
	pulumi.Input

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

func TableTtlPtr

func TableTtlPtr(v *TableTtlArgs) TableTtlPtrInput

type TableTtlPtrOutput

type TableTtlPtrOutput struct{ *pulumi.OutputState }

func (TableTtlPtrOutput) AttributeName

func (o TableTtlPtrOutput) AttributeName() pulumi.StringOutput

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

func (TableTtlPtrOutput) Elem

func (TableTtlPtrOutput) ElementType

func (TableTtlPtrOutput) ElementType() reflect.Type

func (TableTtlPtrOutput) Enabled

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

func (o TableTtlPtrOutput) ToTableTtlPtrOutput() TableTtlPtrOutput

func (TableTtlPtrOutput) ToTableTtlPtrOutputWithContext

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL