pulumi-aws: github.com/pulumi/pulumi-aws/sdk/go/aws/dynamodb Index | Files

package dynamodb

import "github.com/pulumi/pulumi-aws/sdk/go/aws/dynamodb"

Index

Package Files

getTable.go globalTable.go pulumiTypes.go table.go tableItem.go

type GetTableAttribute Uses

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

type GetTableAttributeArgs Uses

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

func (GetTableAttributeArgs) ElementType Uses

func (GetTableAttributeArgs) ElementType() reflect.Type

func (GetTableAttributeArgs) ToGetTableAttributeOutput Uses

func (i GetTableAttributeArgs) ToGetTableAttributeOutput() GetTableAttributeOutput

func (GetTableAttributeArgs) ToGetTableAttributeOutputWithContext Uses

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

type GetTableAttributeArray Uses

type GetTableAttributeArray []GetTableAttributeInput

func (GetTableAttributeArray) ElementType Uses

func (GetTableAttributeArray) ElementType() reflect.Type

func (GetTableAttributeArray) ToGetTableAttributeArrayOutput Uses

func (i GetTableAttributeArray) ToGetTableAttributeArrayOutput() GetTableAttributeArrayOutput

func (GetTableAttributeArray) ToGetTableAttributeArrayOutputWithContext Uses

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

type GetTableAttributeArrayInput Uses

type GetTableAttributeArrayInput interface {
    pulumi.Input

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

GetTableAttributeArrayInput is an input type that accepts GetTableAttributeArray and GetTableAttributeArrayOutput values. You can construct a concrete instance of `GetTableAttributeArrayInput` via:

GetTableAttributeArray{ GetTableAttributeArgs{...} }

type GetTableAttributeArrayOutput Uses

type GetTableAttributeArrayOutput struct{ *pulumi.OutputState }

func (GetTableAttributeArrayOutput) ElementType Uses

func (GetTableAttributeArrayOutput) ElementType() reflect.Type

func (GetTableAttributeArrayOutput) Index Uses

func (o GetTableAttributeArrayOutput) Index(i pulumi.IntInput) GetTableAttributeOutput

func (GetTableAttributeArrayOutput) ToGetTableAttributeArrayOutput Uses

func (o GetTableAttributeArrayOutput) ToGetTableAttributeArrayOutput() GetTableAttributeArrayOutput

func (GetTableAttributeArrayOutput) ToGetTableAttributeArrayOutputWithContext Uses

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

type GetTableAttributeInput Uses

type GetTableAttributeInput interface {
    pulumi.Input

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

GetTableAttributeInput is an input type that accepts GetTableAttributeArgs and GetTableAttributeOutput values. You can construct a concrete instance of `GetTableAttributeInput` via:

GetTableAttributeArgs{...}

type GetTableAttributeOutput Uses

type GetTableAttributeOutput struct{ *pulumi.OutputState }

func (GetTableAttributeOutput) ElementType Uses

func (GetTableAttributeOutput) ElementType() reflect.Type

func (GetTableAttributeOutput) Name Uses

func (o GetTableAttributeOutput) Name() pulumi.StringOutput

The name of the DynamoDB table.

func (GetTableAttributeOutput) ToGetTableAttributeOutput Uses

func (o GetTableAttributeOutput) ToGetTableAttributeOutput() GetTableAttributeOutput

func (GetTableAttributeOutput) ToGetTableAttributeOutputWithContext Uses

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

func (GetTableAttributeOutput) Type Uses

func (o GetTableAttributeOutput) Type() pulumi.StringOutput

type GetTableGlobalSecondaryIndex Uses

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 Uses

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 Uses

func (GetTableGlobalSecondaryIndexArgs) ElementType() reflect.Type

func (GetTableGlobalSecondaryIndexArgs) ToGetTableGlobalSecondaryIndexOutput Uses

func (i GetTableGlobalSecondaryIndexArgs) ToGetTableGlobalSecondaryIndexOutput() GetTableGlobalSecondaryIndexOutput

func (GetTableGlobalSecondaryIndexArgs) ToGetTableGlobalSecondaryIndexOutputWithContext Uses

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

type GetTableGlobalSecondaryIndexArray Uses

type GetTableGlobalSecondaryIndexArray []GetTableGlobalSecondaryIndexInput

func (GetTableGlobalSecondaryIndexArray) ElementType Uses

func (GetTableGlobalSecondaryIndexArray) ElementType() reflect.Type

func (GetTableGlobalSecondaryIndexArray) ToGetTableGlobalSecondaryIndexArrayOutput Uses

func (i GetTableGlobalSecondaryIndexArray) ToGetTableGlobalSecondaryIndexArrayOutput() GetTableGlobalSecondaryIndexArrayOutput

func (GetTableGlobalSecondaryIndexArray) ToGetTableGlobalSecondaryIndexArrayOutputWithContext Uses

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

type GetTableGlobalSecondaryIndexArrayInput Uses

type GetTableGlobalSecondaryIndexArrayInput interface {
    pulumi.Input

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

GetTableGlobalSecondaryIndexArrayInput is an input type that accepts GetTableGlobalSecondaryIndexArray and GetTableGlobalSecondaryIndexArrayOutput values. You can construct a concrete instance of `GetTableGlobalSecondaryIndexArrayInput` via:

GetTableGlobalSecondaryIndexArray{ GetTableGlobalSecondaryIndexArgs{...} }

type GetTableGlobalSecondaryIndexArrayOutput Uses

type GetTableGlobalSecondaryIndexArrayOutput struct{ *pulumi.OutputState }

func (GetTableGlobalSecondaryIndexArrayOutput) ElementType Uses

func (GetTableGlobalSecondaryIndexArrayOutput) ElementType() reflect.Type

func (GetTableGlobalSecondaryIndexArrayOutput) Index Uses

func (o GetTableGlobalSecondaryIndexArrayOutput) Index(i pulumi.IntInput) GetTableGlobalSecondaryIndexOutput

func (GetTableGlobalSecondaryIndexArrayOutput) ToGetTableGlobalSecondaryIndexArrayOutput Uses

func (o GetTableGlobalSecondaryIndexArrayOutput) ToGetTableGlobalSecondaryIndexArrayOutput() GetTableGlobalSecondaryIndexArrayOutput

func (GetTableGlobalSecondaryIndexArrayOutput) ToGetTableGlobalSecondaryIndexArrayOutputWithContext Uses

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

type GetTableGlobalSecondaryIndexInput Uses

type GetTableGlobalSecondaryIndexInput interface {
    pulumi.Input

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

GetTableGlobalSecondaryIndexInput is an input type that accepts GetTableGlobalSecondaryIndexArgs and GetTableGlobalSecondaryIndexOutput values. You can construct a concrete instance of `GetTableGlobalSecondaryIndexInput` via:

GetTableGlobalSecondaryIndexArgs{...}

type GetTableGlobalSecondaryIndexOutput Uses

type GetTableGlobalSecondaryIndexOutput struct{ *pulumi.OutputState }

func (GetTableGlobalSecondaryIndexOutput) ElementType Uses

func (GetTableGlobalSecondaryIndexOutput) ElementType() reflect.Type

func (GetTableGlobalSecondaryIndexOutput) HashKey Uses

func (o GetTableGlobalSecondaryIndexOutput) HashKey() pulumi.StringOutput

func (GetTableGlobalSecondaryIndexOutput) Name Uses

func (o GetTableGlobalSecondaryIndexOutput) Name() pulumi.StringOutput

The name of the DynamoDB table.

func (GetTableGlobalSecondaryIndexOutput) NonKeyAttributes Uses

func (o GetTableGlobalSecondaryIndexOutput) NonKeyAttributes() pulumi.StringArrayOutput

func (GetTableGlobalSecondaryIndexOutput) ProjectionType Uses

func (o GetTableGlobalSecondaryIndexOutput) ProjectionType() pulumi.StringOutput

func (GetTableGlobalSecondaryIndexOutput) RangeKey Uses

func (o GetTableGlobalSecondaryIndexOutput) RangeKey() pulumi.StringOutput

func (GetTableGlobalSecondaryIndexOutput) ReadCapacity Uses

func (o GetTableGlobalSecondaryIndexOutput) ReadCapacity() pulumi.IntOutput

func (GetTableGlobalSecondaryIndexOutput) ToGetTableGlobalSecondaryIndexOutput Uses

func (o GetTableGlobalSecondaryIndexOutput) ToGetTableGlobalSecondaryIndexOutput() GetTableGlobalSecondaryIndexOutput

func (GetTableGlobalSecondaryIndexOutput) ToGetTableGlobalSecondaryIndexOutputWithContext Uses

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

func (GetTableGlobalSecondaryIndexOutput) WriteCapacity Uses

func (o GetTableGlobalSecondaryIndexOutput) WriteCapacity() pulumi.IntOutput

type GetTableLocalSecondaryIndex Uses

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 Uses

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 Uses

func (GetTableLocalSecondaryIndexArgs) ElementType() reflect.Type

func (GetTableLocalSecondaryIndexArgs) ToGetTableLocalSecondaryIndexOutput Uses

func (i GetTableLocalSecondaryIndexArgs) ToGetTableLocalSecondaryIndexOutput() GetTableLocalSecondaryIndexOutput

func (GetTableLocalSecondaryIndexArgs) ToGetTableLocalSecondaryIndexOutputWithContext Uses

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

type GetTableLocalSecondaryIndexArray Uses

type GetTableLocalSecondaryIndexArray []GetTableLocalSecondaryIndexInput

func (GetTableLocalSecondaryIndexArray) ElementType Uses

func (GetTableLocalSecondaryIndexArray) ElementType() reflect.Type

func (GetTableLocalSecondaryIndexArray) ToGetTableLocalSecondaryIndexArrayOutput Uses

func (i GetTableLocalSecondaryIndexArray) ToGetTableLocalSecondaryIndexArrayOutput() GetTableLocalSecondaryIndexArrayOutput

func (GetTableLocalSecondaryIndexArray) ToGetTableLocalSecondaryIndexArrayOutputWithContext Uses

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

type GetTableLocalSecondaryIndexArrayInput Uses

type GetTableLocalSecondaryIndexArrayInput interface {
    pulumi.Input

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

GetTableLocalSecondaryIndexArrayInput is an input type that accepts GetTableLocalSecondaryIndexArray and GetTableLocalSecondaryIndexArrayOutput values. You can construct a concrete instance of `GetTableLocalSecondaryIndexArrayInput` via:

GetTableLocalSecondaryIndexArray{ GetTableLocalSecondaryIndexArgs{...} }

type GetTableLocalSecondaryIndexArrayOutput Uses

type GetTableLocalSecondaryIndexArrayOutput struct{ *pulumi.OutputState }

func (GetTableLocalSecondaryIndexArrayOutput) ElementType Uses

func (GetTableLocalSecondaryIndexArrayOutput) ElementType() reflect.Type

func (GetTableLocalSecondaryIndexArrayOutput) Index Uses

func (o GetTableLocalSecondaryIndexArrayOutput) Index(i pulumi.IntInput) GetTableLocalSecondaryIndexOutput

func (GetTableLocalSecondaryIndexArrayOutput) ToGetTableLocalSecondaryIndexArrayOutput Uses

func (o GetTableLocalSecondaryIndexArrayOutput) ToGetTableLocalSecondaryIndexArrayOutput() GetTableLocalSecondaryIndexArrayOutput

func (GetTableLocalSecondaryIndexArrayOutput) ToGetTableLocalSecondaryIndexArrayOutputWithContext Uses

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

type GetTableLocalSecondaryIndexInput Uses

type GetTableLocalSecondaryIndexInput interface {
    pulumi.Input

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

GetTableLocalSecondaryIndexInput is an input type that accepts GetTableLocalSecondaryIndexArgs and GetTableLocalSecondaryIndexOutput values. You can construct a concrete instance of `GetTableLocalSecondaryIndexInput` via:

GetTableLocalSecondaryIndexArgs{...}

type GetTableLocalSecondaryIndexOutput Uses

type GetTableLocalSecondaryIndexOutput struct{ *pulumi.OutputState }

func (GetTableLocalSecondaryIndexOutput) ElementType Uses

func (GetTableLocalSecondaryIndexOutput) ElementType() reflect.Type

func (GetTableLocalSecondaryIndexOutput) Name Uses

func (o GetTableLocalSecondaryIndexOutput) Name() pulumi.StringOutput

The name of the DynamoDB table.

func (GetTableLocalSecondaryIndexOutput) NonKeyAttributes Uses

func (o GetTableLocalSecondaryIndexOutput) NonKeyAttributes() pulumi.StringArrayOutput

func (GetTableLocalSecondaryIndexOutput) ProjectionType Uses

func (o GetTableLocalSecondaryIndexOutput) ProjectionType() pulumi.StringOutput

func (GetTableLocalSecondaryIndexOutput) RangeKey Uses

func (o GetTableLocalSecondaryIndexOutput) RangeKey() pulumi.StringOutput

func (GetTableLocalSecondaryIndexOutput) ToGetTableLocalSecondaryIndexOutput Uses

func (o GetTableLocalSecondaryIndexOutput) ToGetTableLocalSecondaryIndexOutput() GetTableLocalSecondaryIndexOutput

func (GetTableLocalSecondaryIndexOutput) ToGetTableLocalSecondaryIndexOutputWithContext Uses

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

type GetTablePointInTimeRecovery Uses

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

type GetTablePointInTimeRecoveryArgs Uses

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

func (GetTablePointInTimeRecoveryArgs) ElementType Uses

func (GetTablePointInTimeRecoveryArgs) ElementType() reflect.Type

func (GetTablePointInTimeRecoveryArgs) ToGetTablePointInTimeRecoveryOutput Uses

func (i GetTablePointInTimeRecoveryArgs) ToGetTablePointInTimeRecoveryOutput() GetTablePointInTimeRecoveryOutput

func (GetTablePointInTimeRecoveryArgs) ToGetTablePointInTimeRecoveryOutputWithContext Uses

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

type GetTablePointInTimeRecoveryInput Uses

type GetTablePointInTimeRecoveryInput interface {
    pulumi.Input

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

GetTablePointInTimeRecoveryInput is an input type that accepts GetTablePointInTimeRecoveryArgs and GetTablePointInTimeRecoveryOutput values. You can construct a concrete instance of `GetTablePointInTimeRecoveryInput` via:

GetTablePointInTimeRecoveryArgs{...}

type GetTablePointInTimeRecoveryOutput Uses

type GetTablePointInTimeRecoveryOutput struct{ *pulumi.OutputState }

func (GetTablePointInTimeRecoveryOutput) ElementType Uses

func (GetTablePointInTimeRecoveryOutput) ElementType() reflect.Type

func (GetTablePointInTimeRecoveryOutput) Enabled Uses

func (o GetTablePointInTimeRecoveryOutput) Enabled() pulumi.BoolOutput

func (GetTablePointInTimeRecoveryOutput) ToGetTablePointInTimeRecoveryOutput Uses

func (o GetTablePointInTimeRecoveryOutput) ToGetTablePointInTimeRecoveryOutput() GetTablePointInTimeRecoveryOutput

func (GetTablePointInTimeRecoveryOutput) ToGetTablePointInTimeRecoveryOutputWithContext Uses

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

type GetTableReplica Uses

type GetTableReplica struct {
    RegionName string `pulumi:"regionName"`
}

type GetTableReplicaArgs Uses

type GetTableReplicaArgs struct {
    RegionName pulumi.StringInput `pulumi:"regionName"`
}

func (GetTableReplicaArgs) ElementType Uses

func (GetTableReplicaArgs) ElementType() reflect.Type

func (GetTableReplicaArgs) ToGetTableReplicaOutput Uses

func (i GetTableReplicaArgs) ToGetTableReplicaOutput() GetTableReplicaOutput

func (GetTableReplicaArgs) ToGetTableReplicaOutputWithContext Uses

func (i GetTableReplicaArgs) ToGetTableReplicaOutputWithContext(ctx context.Context) GetTableReplicaOutput

type GetTableReplicaArray Uses

type GetTableReplicaArray []GetTableReplicaInput

func (GetTableReplicaArray) ElementType Uses

func (GetTableReplicaArray) ElementType() reflect.Type

func (GetTableReplicaArray) ToGetTableReplicaArrayOutput Uses

func (i GetTableReplicaArray) ToGetTableReplicaArrayOutput() GetTableReplicaArrayOutput

func (GetTableReplicaArray) ToGetTableReplicaArrayOutputWithContext Uses

func (i GetTableReplicaArray) ToGetTableReplicaArrayOutputWithContext(ctx context.Context) GetTableReplicaArrayOutput

type GetTableReplicaArrayInput Uses

type GetTableReplicaArrayInput interface {
    pulumi.Input

    ToGetTableReplicaArrayOutput() GetTableReplicaArrayOutput
    ToGetTableReplicaArrayOutputWithContext(context.Context) GetTableReplicaArrayOutput
}

GetTableReplicaArrayInput is an input type that accepts GetTableReplicaArray and GetTableReplicaArrayOutput values. You can construct a concrete instance of `GetTableReplicaArrayInput` via:

GetTableReplicaArray{ GetTableReplicaArgs{...} }

type GetTableReplicaArrayOutput Uses

type GetTableReplicaArrayOutput struct{ *pulumi.OutputState }

func (GetTableReplicaArrayOutput) ElementType Uses

func (GetTableReplicaArrayOutput) ElementType() reflect.Type

func (GetTableReplicaArrayOutput) Index Uses

func (o GetTableReplicaArrayOutput) Index(i pulumi.IntInput) GetTableReplicaOutput

func (GetTableReplicaArrayOutput) ToGetTableReplicaArrayOutput Uses

func (o GetTableReplicaArrayOutput) ToGetTableReplicaArrayOutput() GetTableReplicaArrayOutput

func (GetTableReplicaArrayOutput) ToGetTableReplicaArrayOutputWithContext Uses

func (o GetTableReplicaArrayOutput) ToGetTableReplicaArrayOutputWithContext(ctx context.Context) GetTableReplicaArrayOutput

type GetTableReplicaInput Uses

type GetTableReplicaInput interface {
    pulumi.Input

    ToGetTableReplicaOutput() GetTableReplicaOutput
    ToGetTableReplicaOutputWithContext(context.Context) GetTableReplicaOutput
}

GetTableReplicaInput is an input type that accepts GetTableReplicaArgs and GetTableReplicaOutput values. You can construct a concrete instance of `GetTableReplicaInput` via:

GetTableReplicaArgs{...}

type GetTableReplicaOutput Uses

type GetTableReplicaOutput struct{ *pulumi.OutputState }

func (GetTableReplicaOutput) ElementType Uses

func (GetTableReplicaOutput) ElementType() reflect.Type

func (GetTableReplicaOutput) RegionName Uses

func (o GetTableReplicaOutput) RegionName() pulumi.StringOutput

func (GetTableReplicaOutput) ToGetTableReplicaOutput Uses

func (o GetTableReplicaOutput) ToGetTableReplicaOutput() GetTableReplicaOutput

func (GetTableReplicaOutput) ToGetTableReplicaOutputWithContext Uses

func (o GetTableReplicaOutput) ToGetTableReplicaOutputWithContext(ctx context.Context) GetTableReplicaOutput

type GetTableServerSideEncryption Uses

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

type GetTableServerSideEncryptionArgs Uses

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

func (GetTableServerSideEncryptionArgs) ElementType Uses

func (GetTableServerSideEncryptionArgs) ElementType() reflect.Type

func (GetTableServerSideEncryptionArgs) ToGetTableServerSideEncryptionOutput Uses

func (i GetTableServerSideEncryptionArgs) ToGetTableServerSideEncryptionOutput() GetTableServerSideEncryptionOutput

func (GetTableServerSideEncryptionArgs) ToGetTableServerSideEncryptionOutputWithContext Uses

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

type GetTableServerSideEncryptionInput Uses

type GetTableServerSideEncryptionInput interface {
    pulumi.Input

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

GetTableServerSideEncryptionInput is an input type that accepts GetTableServerSideEncryptionArgs and GetTableServerSideEncryptionOutput values. You can construct a concrete instance of `GetTableServerSideEncryptionInput` via:

GetTableServerSideEncryptionArgs{...}

type GetTableServerSideEncryptionOutput Uses

type GetTableServerSideEncryptionOutput struct{ *pulumi.OutputState }

func (GetTableServerSideEncryptionOutput) ElementType Uses

func (GetTableServerSideEncryptionOutput) ElementType() reflect.Type

func (GetTableServerSideEncryptionOutput) Enabled Uses

func (o GetTableServerSideEncryptionOutput) Enabled() pulumi.BoolOutput

func (GetTableServerSideEncryptionOutput) KmsKeyArn Uses

func (o GetTableServerSideEncryptionOutput) KmsKeyArn() pulumi.StringOutput

func (GetTableServerSideEncryptionOutput) ToGetTableServerSideEncryptionOutput Uses

func (o GetTableServerSideEncryptionOutput) ToGetTableServerSideEncryptionOutput() GetTableServerSideEncryptionOutput

func (GetTableServerSideEncryptionOutput) ToGetTableServerSideEncryptionOutputWithContext Uses

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

type GetTableTtl Uses

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

type GetTableTtlArgs Uses

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

func (GetTableTtlArgs) ElementType Uses

func (GetTableTtlArgs) ElementType() reflect.Type

func (GetTableTtlArgs) ToGetTableTtlOutput Uses

func (i GetTableTtlArgs) ToGetTableTtlOutput() GetTableTtlOutput

func (GetTableTtlArgs) ToGetTableTtlOutputWithContext Uses

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

type GetTableTtlInput Uses

type GetTableTtlInput interface {
    pulumi.Input

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

GetTableTtlInput is an input type that accepts GetTableTtlArgs and GetTableTtlOutput values. You can construct a concrete instance of `GetTableTtlInput` via:

GetTableTtlArgs{...}

type GetTableTtlOutput Uses

type GetTableTtlOutput struct{ *pulumi.OutputState }

func (GetTableTtlOutput) AttributeName Uses

func (o GetTableTtlOutput) AttributeName() pulumi.StringOutput

func (GetTableTtlOutput) ElementType Uses

func (GetTableTtlOutput) ElementType() reflect.Type

func (GetTableTtlOutput) Enabled Uses

func (o GetTableTtlOutput) Enabled() pulumi.BoolOutput

func (GetTableTtlOutput) ToGetTableTtlOutput Uses

func (o GetTableTtlOutput) ToGetTableTtlOutput() GetTableTtlOutput

func (GetTableTtlOutput) ToGetTableTtlOutputWithContext Uses

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

type GlobalTable Uses

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"`
}

Manages [DynamoDB Global Tables V1 (version 2017.11.29)](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V1.html). These are layered on top of existing DynamoDB Tables.

> **NOTE:** To instead manage [DynamoDB Global Tables V2 (version 2019.11.21)](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html), use the `dynamodb.Table` resource `replica` configuration block.

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

## Example Usage

“`go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/dynamodb"
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/providers"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {

pulumi.Run(func(ctx *pulumi.Context) error {
	_, err := providers.Newaws(ctx, "us_east_1", &providers.awsArgs{
		Region: pulumi.String("us-east-1"),
	})
	if err != nil {
		return err
	}
	_, err = providers.Newaws(ctx, "us_west_2", &providers.awsArgs{
		Region: pulumi.String("us-west-2"),
	})
	if err != nil {
		return err
	}
	_, err = dynamodb.NewTable(ctx, "us_east_1Table", &dynamodb.TableArgs{
		HashKey:        pulumi.String("myAttribute"),
		StreamEnabled:  pulumi.Bool(true),
		StreamViewType: pulumi.String("NEW_AND_OLD_IMAGES"),
		ReadCapacity:   pulumi.Int(1),
		WriteCapacity:  pulumi.Int(1),
		Attributes: dynamodb.TableAttributeArray{
			&dynamodb.TableAttributeArgs{
				Name: pulumi.String("myAttribute"),
				Type: pulumi.String("S"),
			},
		},
	}, pulumi.Provider(aws.Us-east-1))
	if err != nil {
		return err
	}
	_, err = dynamodb.NewTable(ctx, "us_west_2Table", &dynamodb.TableArgs{
		HashKey:        pulumi.String("myAttribute"),
		StreamEnabled:  pulumi.Bool(true),
		StreamViewType: pulumi.String("NEW_AND_OLD_IMAGES"),
		ReadCapacity:   pulumi.Int(1),
		WriteCapacity:  pulumi.Int(1),
		Attributes: dynamodb.TableAttributeArray{
			&dynamodb.TableAttributeArgs{
				Name: pulumi.String("myAttribute"),
				Type: pulumi.String("S"),
			},
		},
	}, pulumi.Provider(aws.Us-west-2))
	if err != nil {
		return err
	}
	_, err = dynamodb.NewGlobalTable(ctx, "myTable", &dynamodb.GlobalTableArgs{
		Replicas: dynamodb.GlobalTableReplicaArray{
			&dynamodb.GlobalTableReplicaArgs{
				RegionName: pulumi.String("us-east-1"),
			},
			&dynamodb.GlobalTableReplicaArgs{
				RegionName: pulumi.String("us-west-2"),
			},
		},
	}, pulumi.Provider(aws.Us-east-1), pulumi.DependsOn([]pulumi.Resource{
		us_east_1Table,
		us_west_2Table,
	}))
	if err != nil {
		return err
	}
	return nil
})

} “`

func GetGlobalTable Uses

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 Uses

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 Uses

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 Uses

func (GlobalTableArgs) ElementType() reflect.Type

type GlobalTableReplica Uses

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

type GlobalTableReplicaArgs Uses

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

func (GlobalTableReplicaArgs) ElementType Uses

func (GlobalTableReplicaArgs) ElementType() reflect.Type

func (GlobalTableReplicaArgs) ToGlobalTableReplicaOutput Uses

func (i GlobalTableReplicaArgs) ToGlobalTableReplicaOutput() GlobalTableReplicaOutput

func (GlobalTableReplicaArgs) ToGlobalTableReplicaOutputWithContext Uses

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

type GlobalTableReplicaArray Uses

type GlobalTableReplicaArray []GlobalTableReplicaInput

func (GlobalTableReplicaArray) ElementType Uses

func (GlobalTableReplicaArray) ElementType() reflect.Type

func (GlobalTableReplicaArray) ToGlobalTableReplicaArrayOutput Uses

func (i GlobalTableReplicaArray) ToGlobalTableReplicaArrayOutput() GlobalTableReplicaArrayOutput

func (GlobalTableReplicaArray) ToGlobalTableReplicaArrayOutputWithContext Uses

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

type GlobalTableReplicaArrayInput Uses

type GlobalTableReplicaArrayInput interface {
    pulumi.Input

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

GlobalTableReplicaArrayInput is an input type that accepts GlobalTableReplicaArray and GlobalTableReplicaArrayOutput values. You can construct a concrete instance of `GlobalTableReplicaArrayInput` via:

GlobalTableReplicaArray{ GlobalTableReplicaArgs{...} }

type GlobalTableReplicaArrayOutput Uses

type GlobalTableReplicaArrayOutput struct{ *pulumi.OutputState }

func (GlobalTableReplicaArrayOutput) ElementType Uses

func (GlobalTableReplicaArrayOutput) ElementType() reflect.Type

func (GlobalTableReplicaArrayOutput) Index Uses

func (o GlobalTableReplicaArrayOutput) Index(i pulumi.IntInput) GlobalTableReplicaOutput

func (GlobalTableReplicaArrayOutput) ToGlobalTableReplicaArrayOutput Uses

func (o GlobalTableReplicaArrayOutput) ToGlobalTableReplicaArrayOutput() GlobalTableReplicaArrayOutput

func (GlobalTableReplicaArrayOutput) ToGlobalTableReplicaArrayOutputWithContext Uses

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

type GlobalTableReplicaInput Uses

type GlobalTableReplicaInput interface {
    pulumi.Input

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

GlobalTableReplicaInput is an input type that accepts GlobalTableReplicaArgs and GlobalTableReplicaOutput values. You can construct a concrete instance of `GlobalTableReplicaInput` via:

GlobalTableReplicaArgs{...}

type GlobalTableReplicaOutput Uses

type GlobalTableReplicaOutput struct{ *pulumi.OutputState }

func (GlobalTableReplicaOutput) ElementType Uses

func (GlobalTableReplicaOutput) ElementType() reflect.Type

func (GlobalTableReplicaOutput) RegionName Uses

func (o GlobalTableReplicaOutput) RegionName() pulumi.StringOutput

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

func (GlobalTableReplicaOutput) ToGlobalTableReplicaOutput Uses

func (o GlobalTableReplicaOutput) ToGlobalTableReplicaOutput() GlobalTableReplicaOutput

func (GlobalTableReplicaOutput) ToGlobalTableReplicaOutputWithContext Uses

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

type GlobalTableState Uses

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 Uses

func (GlobalTableState) ElementType() reflect.Type

type LookupTableArgs Uses

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

A collection of arguments for invoking getTable.

type LookupTableResult Uses

type LookupTableResult struct {
    Arn                    string                         `pulumi:"arn"`
    Attributes             []GetTableAttribute            `pulumi:"attributes"`
    BillingMode            string                         `pulumi:"billingMode"`
    GlobalSecondaryIndexes []GetTableGlobalSecondaryIndex `pulumi:"globalSecondaryIndexes"`
    HashKey                string                         `pulumi:"hashKey"`
    // 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"`
    Replicas              []GetTableReplica             `pulumi:"replicas"`
    ServerSideEncryption  GetTableServerSideEncryption  `pulumi:"serverSideEncryption"`
    StreamArn             string                        `pulumi:"streamArn"`
    StreamEnabled         bool                          `pulumi:"streamEnabled"`
    StreamLabel           string                        `pulumi:"streamLabel"`
    StreamViewType        string                        `pulumi:"streamViewType"`
    Tags                  map[string]string             `pulumi:"tags"`
    Ttl                   GetTableTtl                   `pulumi:"ttl"`
    WriteCapacity         int                           `pulumi:"writeCapacity"`
}

A collection of values returned by getTable.

func LookupTable Uses

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

Provides information about a DynamoDB table.

## Example Usage

“`go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/dynamodb"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {

pulumi.Run(func(ctx *pulumi.Context) error {
	_, err := dynamodb.LookupTable(ctx, &dynamodb.LookupTableArgs{
		Name: "tableName",
	}, nil)
	if err != nil {
		return err
	}
	return nil
})

} “`

type Table Uses

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"`
    // Configuration block(s) with [DynamoDB Global Tables V2 (version 2019.11.21)](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html) replication configurations. Detailed below.
    Replicas TableReplicaArrayOutput `pulumi:"replicas"`
    // 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.StringMapOutput `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` attached to the table.

## Example Usage

The following dynamodb table description models the table and GSI shown in the [AWS SDK example documentation](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GSI.html)

“`go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/dynamodb"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {

pulumi.Run(func(ctx *pulumi.Context) error {
	_, err := dynamodb.NewTable(ctx, "basic_dynamodb_table", &dynamodb.TableArgs{
		Attributes: dynamodb.TableAttributeArray{
			&dynamodb.TableAttributeArgs{
				Name: pulumi.String("UserId"),
				Type: pulumi.String("S"),
			},
			&dynamodb.TableAttributeArgs{
				Name: pulumi.String("GameTitle"),
				Type: pulumi.String("S"),
			},
			&dynamodb.TableAttributeArgs{
				Name: pulumi.String("TopScore"),
				Type: pulumi.String("N"),
			},
		},
		BillingMode: pulumi.String("PROVISIONED"),
		GlobalSecondaryIndexes: dynamodb.TableGlobalSecondaryIndexArray{
			&dynamodb.TableGlobalSecondaryIndexArgs{
				HashKey: pulumi.String("GameTitle"),
				Name:    pulumi.String("GameTitleIndex"),
				NonKeyAttributes: pulumi.StringArray{
					pulumi.String("UserId"),
				},
				ProjectionType: pulumi.String("INCLUDE"),
				RangeKey:       pulumi.String("TopScore"),
				ReadCapacity:   pulumi.Int(10),
				WriteCapacity:  pulumi.Int(10),
			},
		},
		HashKey:      pulumi.String("UserId"),
		RangeKey:     pulumi.String("GameTitle"),
		ReadCapacity: pulumi.Int(20),
		Tags: pulumi.StringMap{
			"Environment": pulumi.String("production"),
			"Name":        pulumi.String("dynamodb-table-1"),
		},
		Ttl: &dynamodb.TableTtlArgs{
			AttributeName: pulumi.String("TimeToExist"),
			Enabled:       pulumi.Bool(false),
		},
		WriteCapacity: pulumi.Int(20),
	})
	if err != nil {
		return err
	}
	return nil
})

} “` ### Global Tables

This resource implements support for [DynamoDB Global Tables V2 (version 2019.11.21)](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html) via `replica` configuration blocks. For working with [DynamoDB Global Tables V1 (version 2017.11.29)](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V1.html), see the `dynamodb.GlobalTable` resource.

“`go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/dynamodb"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {

pulumi.Run(func(ctx *pulumi.Context) error {
	_, err := dynamodb.NewTable(ctx, "example", &dynamodb.TableArgs{
		Attributes: dynamodb.TableAttributeArray{
			&dynamodb.TableAttributeArgs{
				Name: pulumi.String("TestTableHashKey"),
				Type: pulumi.String("S"),
			},
		},
		BillingMode: pulumi.String("PAY_PER_REQUEST"),
		HashKey:     pulumi.String("TestTableHashKey"),
		Replicas: dynamodb.TableReplicaArray{
			&dynamodb.TableReplicaArgs{
				RegionName: pulumi.String("us-east-2"),
			},
			&dynamodb.TableReplicaArgs{
				RegionName: pulumi.String("us-west-2"),
			},
		},
		StreamEnabled:  pulumi.Bool(true),
		StreamViewType: pulumi.String("NEW_AND_OLD_IMAGES"),
	})
	if err != nil {
		return err
	}
	return nil
})

} “`

func GetTable Uses

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 Uses

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 Uses

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
    // Configuration block(s) with [DynamoDB Global Tables V2 (version 2019.11.21)](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html) replication configurations. Detailed below.
    Replicas TableReplicaArrayInput
    // 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.StringMapInput
    // 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 Uses

func (TableArgs) ElementType() reflect.Type

type TableAttribute Uses

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 Uses

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 Uses

func (TableAttributeArgs) ElementType() reflect.Type

func (TableAttributeArgs) ToTableAttributeOutput Uses

func (i TableAttributeArgs) ToTableAttributeOutput() TableAttributeOutput

func (TableAttributeArgs) ToTableAttributeOutputWithContext Uses

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

type TableAttributeArray Uses

type TableAttributeArray []TableAttributeInput

func (TableAttributeArray) ElementType Uses

func (TableAttributeArray) ElementType() reflect.Type

func (TableAttributeArray) ToTableAttributeArrayOutput Uses

func (i TableAttributeArray) ToTableAttributeArrayOutput() TableAttributeArrayOutput

func (TableAttributeArray) ToTableAttributeArrayOutputWithContext Uses

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

type TableAttributeArrayInput Uses

type TableAttributeArrayInput interface {
    pulumi.Input

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

TableAttributeArrayInput is an input type that accepts TableAttributeArray and TableAttributeArrayOutput values. You can construct a concrete instance of `TableAttributeArrayInput` via:

TableAttributeArray{ TableAttributeArgs{...} }

type TableAttributeArrayOutput Uses

type TableAttributeArrayOutput struct{ *pulumi.OutputState }

func (TableAttributeArrayOutput) ElementType Uses

func (TableAttributeArrayOutput) ElementType() reflect.Type

func (TableAttributeArrayOutput) Index Uses

func (o TableAttributeArrayOutput) Index(i pulumi.IntInput) TableAttributeOutput

func (TableAttributeArrayOutput) ToTableAttributeArrayOutput Uses

func (o TableAttributeArrayOutput) ToTableAttributeArrayOutput() TableAttributeArrayOutput

func (TableAttributeArrayOutput) ToTableAttributeArrayOutputWithContext Uses

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

type TableAttributeInput Uses

type TableAttributeInput interface {
    pulumi.Input

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

TableAttributeInput is an input type that accepts TableAttributeArgs and TableAttributeOutput values. You can construct a concrete instance of `TableAttributeInput` via:

TableAttributeArgs{...}

type TableAttributeOutput Uses

type TableAttributeOutput struct{ *pulumi.OutputState }

func (TableAttributeOutput) ElementType Uses

func (TableAttributeOutput) ElementType() reflect.Type

func (TableAttributeOutput) Name Uses

func (o TableAttributeOutput) Name() pulumi.StringOutput

The name of the index

func (TableAttributeOutput) ToTableAttributeOutput Uses

func (o TableAttributeOutput) ToTableAttributeOutput() TableAttributeOutput

func (TableAttributeOutput) ToTableAttributeOutputWithContext Uses

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

func (TableAttributeOutput) Type Uses

func (o TableAttributeOutput) Type() pulumi.StringOutput

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

type TableGlobalSecondaryIndex Uses

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 Uses

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 Uses

func (TableGlobalSecondaryIndexArgs) ElementType() reflect.Type

func (TableGlobalSecondaryIndexArgs) ToTableGlobalSecondaryIndexOutput Uses

func (i TableGlobalSecondaryIndexArgs) ToTableGlobalSecondaryIndexOutput() TableGlobalSecondaryIndexOutput

func (TableGlobalSecondaryIndexArgs) ToTableGlobalSecondaryIndexOutputWithContext Uses

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

type TableGlobalSecondaryIndexArray Uses

type TableGlobalSecondaryIndexArray []TableGlobalSecondaryIndexInput

func (TableGlobalSecondaryIndexArray) ElementType Uses

func (TableGlobalSecondaryIndexArray) ElementType() reflect.Type

func (TableGlobalSecondaryIndexArray) ToTableGlobalSecondaryIndexArrayOutput Uses

func (i TableGlobalSecondaryIndexArray) ToTableGlobalSecondaryIndexArrayOutput() TableGlobalSecondaryIndexArrayOutput

func (TableGlobalSecondaryIndexArray) ToTableGlobalSecondaryIndexArrayOutputWithContext Uses

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

type TableGlobalSecondaryIndexArrayInput Uses

type TableGlobalSecondaryIndexArrayInput interface {
    pulumi.Input

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

TableGlobalSecondaryIndexArrayInput is an input type that accepts TableGlobalSecondaryIndexArray and TableGlobalSecondaryIndexArrayOutput values. You can construct a concrete instance of `TableGlobalSecondaryIndexArrayInput` via:

TableGlobalSecondaryIndexArray{ TableGlobalSecondaryIndexArgs{...} }

type TableGlobalSecondaryIndexArrayOutput Uses

type TableGlobalSecondaryIndexArrayOutput struct{ *pulumi.OutputState }

func (TableGlobalSecondaryIndexArrayOutput) ElementType Uses

func (TableGlobalSecondaryIndexArrayOutput) ElementType() reflect.Type

func (TableGlobalSecondaryIndexArrayOutput) Index Uses

func (o TableGlobalSecondaryIndexArrayOutput) Index(i pulumi.IntInput) TableGlobalSecondaryIndexOutput

func (TableGlobalSecondaryIndexArrayOutput) ToTableGlobalSecondaryIndexArrayOutput Uses

func (o TableGlobalSecondaryIndexArrayOutput) ToTableGlobalSecondaryIndexArrayOutput() TableGlobalSecondaryIndexArrayOutput

func (TableGlobalSecondaryIndexArrayOutput) ToTableGlobalSecondaryIndexArrayOutputWithContext Uses

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

type TableGlobalSecondaryIndexInput Uses

type TableGlobalSecondaryIndexInput interface {
    pulumi.Input

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

TableGlobalSecondaryIndexInput is an input type that accepts TableGlobalSecondaryIndexArgs and TableGlobalSecondaryIndexOutput values. You can construct a concrete instance of `TableGlobalSecondaryIndexInput` via:

TableGlobalSecondaryIndexArgs{...}

type TableGlobalSecondaryIndexOutput Uses

type TableGlobalSecondaryIndexOutput struct{ *pulumi.OutputState }

func (TableGlobalSecondaryIndexOutput) ElementType Uses

func (TableGlobalSecondaryIndexOutput) ElementType() reflect.Type

func (TableGlobalSecondaryIndexOutput) HashKey Uses

func (o TableGlobalSecondaryIndexOutput) HashKey() pulumi.StringOutput

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

func (TableGlobalSecondaryIndexOutput) Name Uses

func (o TableGlobalSecondaryIndexOutput) Name() pulumi.StringOutput

The name of the index

func (TableGlobalSecondaryIndexOutput) NonKeyAttributes Uses

func (o TableGlobalSecondaryIndexOutput) NonKeyAttributes() pulumi.StringArrayOutput

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 Uses

func (o TableGlobalSecondaryIndexOutput) ProjectionType() pulumi.StringOutput

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 Uses

func (o TableGlobalSecondaryIndexOutput) RangeKey() pulumi.StringPtrOutput

The name of the range key; must be defined

func (TableGlobalSecondaryIndexOutput) ReadCapacity Uses

func (o TableGlobalSecondaryIndexOutput) ReadCapacity() pulumi.IntPtrOutput

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

func (TableGlobalSecondaryIndexOutput) ToTableGlobalSecondaryIndexOutput Uses

func (o TableGlobalSecondaryIndexOutput) ToTableGlobalSecondaryIndexOutput() TableGlobalSecondaryIndexOutput

func (TableGlobalSecondaryIndexOutput) ToTableGlobalSecondaryIndexOutputWithContext Uses

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

func (TableGlobalSecondaryIndexOutput) WriteCapacity Uses

func (o TableGlobalSecondaryIndexOutput) WriteCapacity() pulumi.IntPtrOutput

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

type TableItem Uses

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

## Example Usage

“`go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/dynamodb"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {

pulumi.Run(func(ctx *pulumi.Context) error {
	exampleTable, err := dynamodb.NewTable(ctx, "exampleTable", &dynamodb.TableArgs{
		ReadCapacity:  pulumi.Int(10),
		WriteCapacity: pulumi.Int(10),
		HashKey:       pulumi.String("exampleHashKey"),
		Attributes: dynamodb.TableAttributeArray{
			&dynamodb.TableAttributeArgs{
				Name: pulumi.String("exampleHashKey"),
				Type: pulumi.String("S"),
			},
		},
	})
	if err != nil {
		return err
	}
	_, err = dynamodb.NewTableItem(ctx, "exampleTableItem", &dynamodb.TableItemArgs{
		TableName: exampleTable.Name,
		HashKey:   exampleTable.HashKey,
		Item:      pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v", "{\n", "  \"exampleHashKey\": {\"S\": \"something\"},\n", "  \"one\": {\"N\": \"11111\"},\n", "  \"two\": {\"N\": \"22222\"},\n", "  \"three\": {\"N\": \"33333\"},\n", "  \"four\": {\"N\": \"44444\"}\n", "}\n")),
	})
	if err != nil {
		return err
	}
	return nil
})

} “`

func GetTableItem Uses

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 Uses

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 Uses

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 Uses

func (TableItemArgs) ElementType() reflect.Type

type TableItemState Uses

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 Uses

func (TableItemState) ElementType() reflect.Type

type TableLocalSecondaryIndex Uses

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 Uses

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 Uses

func (TableLocalSecondaryIndexArgs) ElementType() reflect.Type

func (TableLocalSecondaryIndexArgs) ToTableLocalSecondaryIndexOutput Uses

func (i TableLocalSecondaryIndexArgs) ToTableLocalSecondaryIndexOutput() TableLocalSecondaryIndexOutput

func (TableLocalSecondaryIndexArgs) ToTableLocalSecondaryIndexOutputWithContext Uses

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

type TableLocalSecondaryIndexArray Uses

type TableLocalSecondaryIndexArray []TableLocalSecondaryIndexInput

func (TableLocalSecondaryIndexArray) ElementType Uses

func (TableLocalSecondaryIndexArray) ElementType() reflect.Type

func (TableLocalSecondaryIndexArray) ToTableLocalSecondaryIndexArrayOutput Uses

func (i TableLocalSecondaryIndexArray) ToTableLocalSecondaryIndexArrayOutput() TableLocalSecondaryIndexArrayOutput

func (TableLocalSecondaryIndexArray) ToTableLocalSecondaryIndexArrayOutputWithContext Uses

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

type TableLocalSecondaryIndexArrayInput Uses

type TableLocalSecondaryIndexArrayInput interface {
    pulumi.Input

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

TableLocalSecondaryIndexArrayInput is an input type that accepts TableLocalSecondaryIndexArray and TableLocalSecondaryIndexArrayOutput values. You can construct a concrete instance of `TableLocalSecondaryIndexArrayInput` via:

TableLocalSecondaryIndexArray{ TableLocalSecondaryIndexArgs{...} }

type TableLocalSecondaryIndexArrayOutput Uses

type TableLocalSecondaryIndexArrayOutput struct{ *pulumi.OutputState }

func (TableLocalSecondaryIndexArrayOutput) ElementType Uses

func (TableLocalSecondaryIndexArrayOutput) ElementType() reflect.Type

func (TableLocalSecondaryIndexArrayOutput) Index Uses

func (o TableLocalSecondaryIndexArrayOutput) Index(i pulumi.IntInput) TableLocalSecondaryIndexOutput

func (TableLocalSecondaryIndexArrayOutput) ToTableLocalSecondaryIndexArrayOutput Uses

func (o TableLocalSecondaryIndexArrayOutput) ToTableLocalSecondaryIndexArrayOutput() TableLocalSecondaryIndexArrayOutput

func (TableLocalSecondaryIndexArrayOutput) ToTableLocalSecondaryIndexArrayOutputWithContext Uses

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

type TableLocalSecondaryIndexInput Uses

type TableLocalSecondaryIndexInput interface {
    pulumi.Input

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

TableLocalSecondaryIndexInput is an input type that accepts TableLocalSecondaryIndexArgs and TableLocalSecondaryIndexOutput values. You can construct a concrete instance of `TableLocalSecondaryIndexInput` via:

TableLocalSecondaryIndexArgs{...}

type TableLocalSecondaryIndexOutput Uses

type TableLocalSecondaryIndexOutput struct{ *pulumi.OutputState }

func (TableLocalSecondaryIndexOutput) ElementType Uses

func (TableLocalSecondaryIndexOutput) ElementType() reflect.Type

func (TableLocalSecondaryIndexOutput) Name Uses

func (o TableLocalSecondaryIndexOutput) Name() pulumi.StringOutput

The name of the index

func (TableLocalSecondaryIndexOutput) NonKeyAttributes Uses

func (o TableLocalSecondaryIndexOutput) NonKeyAttributes() pulumi.StringArrayOutput

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 Uses

func (o TableLocalSecondaryIndexOutput) ProjectionType() pulumi.StringOutput

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 Uses

func (o TableLocalSecondaryIndexOutput) RangeKey() pulumi.StringOutput

The name of the range key; must be defined

func (TableLocalSecondaryIndexOutput) ToTableLocalSecondaryIndexOutput Uses

func (o TableLocalSecondaryIndexOutput) ToTableLocalSecondaryIndexOutput() TableLocalSecondaryIndexOutput

func (TableLocalSecondaryIndexOutput) ToTableLocalSecondaryIndexOutputWithContext Uses

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

type TablePointInTimeRecovery Uses

type TablePointInTimeRecovery struct {
    // Indicates whether ttl is enabled (true) or disabled (false).
    Enabled bool `pulumi:"enabled"`
}

type TablePointInTimeRecoveryArgs Uses

type TablePointInTimeRecoveryArgs struct {
    // Indicates whether ttl is enabled (true) or disabled (false).
    Enabled pulumi.BoolInput `pulumi:"enabled"`
}

func (TablePointInTimeRecoveryArgs) ElementType Uses

func (TablePointInTimeRecoveryArgs) ElementType() reflect.Type

func (TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryOutput Uses

func (i TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryOutput() TablePointInTimeRecoveryOutput

func (TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryOutputWithContext Uses

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

func (TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryPtrOutput Uses

func (i TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryPtrOutput() TablePointInTimeRecoveryPtrOutput

func (TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryPtrOutputWithContext Uses

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

type TablePointInTimeRecoveryInput Uses

type TablePointInTimeRecoveryInput interface {
    pulumi.Input

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

TablePointInTimeRecoveryInput is an input type that accepts TablePointInTimeRecoveryArgs and TablePointInTimeRecoveryOutput values. You can construct a concrete instance of `TablePointInTimeRecoveryInput` via:

TablePointInTimeRecoveryArgs{...}

type TablePointInTimeRecoveryOutput Uses

type TablePointInTimeRecoveryOutput struct{ *pulumi.OutputState }

func (TablePointInTimeRecoveryOutput) ElementType Uses

func (TablePointInTimeRecoveryOutput) ElementType() reflect.Type

func (TablePointInTimeRecoveryOutput) Enabled Uses

func (o TablePointInTimeRecoveryOutput) Enabled() pulumi.BoolOutput

Indicates whether ttl is enabled (true) or disabled (false).

func (TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryOutput Uses

func (o TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryOutput() TablePointInTimeRecoveryOutput

func (TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryOutputWithContext Uses

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

func (TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryPtrOutput Uses

func (o TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryPtrOutput() TablePointInTimeRecoveryPtrOutput

func (TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryPtrOutputWithContext Uses

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

type TablePointInTimeRecoveryPtrInput Uses

type TablePointInTimeRecoveryPtrInput interface {
    pulumi.Input

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

TablePointInTimeRecoveryPtrInput is an input type that accepts TablePointInTimeRecoveryArgs, TablePointInTimeRecoveryPtr and TablePointInTimeRecoveryPtrOutput values. You can construct a concrete instance of `TablePointInTimeRecoveryPtrInput` via:

        TablePointInTimeRecoveryArgs{...}

or:

        nil

func TablePointInTimeRecoveryPtr Uses

func TablePointInTimeRecoveryPtr(v *TablePointInTimeRecoveryArgs) TablePointInTimeRecoveryPtrInput

type TablePointInTimeRecoveryPtrOutput Uses

type TablePointInTimeRecoveryPtrOutput struct{ *pulumi.OutputState }

func (TablePointInTimeRecoveryPtrOutput) Elem Uses

func (o TablePointInTimeRecoveryPtrOutput) Elem() TablePointInTimeRecoveryOutput

func (TablePointInTimeRecoveryPtrOutput) ElementType Uses

func (TablePointInTimeRecoveryPtrOutput) ElementType() reflect.Type

func (TablePointInTimeRecoveryPtrOutput) Enabled Uses

func (o TablePointInTimeRecoveryPtrOutput) Enabled() pulumi.BoolPtrOutput

Indicates whether ttl is enabled (true) or disabled (false).

func (TablePointInTimeRecoveryPtrOutput) ToTablePointInTimeRecoveryPtrOutput Uses

func (o TablePointInTimeRecoveryPtrOutput) ToTablePointInTimeRecoveryPtrOutput() TablePointInTimeRecoveryPtrOutput

func (TablePointInTimeRecoveryPtrOutput) ToTablePointInTimeRecoveryPtrOutputWithContext Uses

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

type TableReplica Uses

type TableReplica struct {
    // Region name of the replica.
    RegionName string `pulumi:"regionName"`
}

type TableReplicaArgs Uses

type TableReplicaArgs struct {
    // Region name of the replica.
    RegionName pulumi.StringInput `pulumi:"regionName"`
}

func (TableReplicaArgs) ElementType Uses

func (TableReplicaArgs) ElementType() reflect.Type

func (TableReplicaArgs) ToTableReplicaOutput Uses

func (i TableReplicaArgs) ToTableReplicaOutput() TableReplicaOutput

func (TableReplicaArgs) ToTableReplicaOutputWithContext Uses

func (i TableReplicaArgs) ToTableReplicaOutputWithContext(ctx context.Context) TableReplicaOutput

type TableReplicaArray Uses

type TableReplicaArray []TableReplicaInput

func (TableReplicaArray) ElementType Uses

func (TableReplicaArray) ElementType() reflect.Type

func (TableReplicaArray) ToTableReplicaArrayOutput Uses

func (i TableReplicaArray) ToTableReplicaArrayOutput() TableReplicaArrayOutput

func (TableReplicaArray) ToTableReplicaArrayOutputWithContext Uses

func (i TableReplicaArray) ToTableReplicaArrayOutputWithContext(ctx context.Context) TableReplicaArrayOutput

type TableReplicaArrayInput Uses

type TableReplicaArrayInput interface {
    pulumi.Input

    ToTableReplicaArrayOutput() TableReplicaArrayOutput
    ToTableReplicaArrayOutputWithContext(context.Context) TableReplicaArrayOutput
}

TableReplicaArrayInput is an input type that accepts TableReplicaArray and TableReplicaArrayOutput values. You can construct a concrete instance of `TableReplicaArrayInput` via:

TableReplicaArray{ TableReplicaArgs{...} }

type TableReplicaArrayOutput Uses

type TableReplicaArrayOutput struct{ *pulumi.OutputState }

func (TableReplicaArrayOutput) ElementType Uses

func (TableReplicaArrayOutput) ElementType() reflect.Type

func (TableReplicaArrayOutput) Index Uses

func (o TableReplicaArrayOutput) Index(i pulumi.IntInput) TableReplicaOutput

func (TableReplicaArrayOutput) ToTableReplicaArrayOutput Uses

func (o TableReplicaArrayOutput) ToTableReplicaArrayOutput() TableReplicaArrayOutput

func (TableReplicaArrayOutput) ToTableReplicaArrayOutputWithContext Uses

func (o TableReplicaArrayOutput) ToTableReplicaArrayOutputWithContext(ctx context.Context) TableReplicaArrayOutput

type TableReplicaInput Uses

type TableReplicaInput interface {
    pulumi.Input

    ToTableReplicaOutput() TableReplicaOutput
    ToTableReplicaOutputWithContext(context.Context) TableReplicaOutput
}

TableReplicaInput is an input type that accepts TableReplicaArgs and TableReplicaOutput values. You can construct a concrete instance of `TableReplicaInput` via:

TableReplicaArgs{...}

type TableReplicaOutput Uses

type TableReplicaOutput struct{ *pulumi.OutputState }

func (TableReplicaOutput) ElementType Uses

func (TableReplicaOutput) ElementType() reflect.Type

func (TableReplicaOutput) RegionName Uses

func (o TableReplicaOutput) RegionName() pulumi.StringOutput

Region name of the replica.

func (TableReplicaOutput) ToTableReplicaOutput Uses

func (o TableReplicaOutput) ToTableReplicaOutput() TableReplicaOutput

func (TableReplicaOutput) ToTableReplicaOutputWithContext Uses

func (o TableReplicaOutput) ToTableReplicaOutputWithContext(ctx context.Context) TableReplicaOutput

type TableServerSideEncryption Uses

type TableServerSideEncryption struct {
    // Indicates whether ttl is enabled (true) or disabled (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 Uses

type TableServerSideEncryptionArgs struct {
    // Indicates whether ttl is enabled (true) or disabled (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 Uses

func (TableServerSideEncryptionArgs) ElementType() reflect.Type

func (TableServerSideEncryptionArgs) ToTableServerSideEncryptionOutput Uses

func (i TableServerSideEncryptionArgs) ToTableServerSideEncryptionOutput() TableServerSideEncryptionOutput

func (TableServerSideEncryptionArgs) ToTableServerSideEncryptionOutputWithContext Uses

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

func (TableServerSideEncryptionArgs) ToTableServerSideEncryptionPtrOutput Uses

func (i TableServerSideEncryptionArgs) ToTableServerSideEncryptionPtrOutput() TableServerSideEncryptionPtrOutput

func (TableServerSideEncryptionArgs) ToTableServerSideEncryptionPtrOutputWithContext Uses

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

type TableServerSideEncryptionInput Uses

type TableServerSideEncryptionInput interface {
    pulumi.Input

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

TableServerSideEncryptionInput is an input type that accepts TableServerSideEncryptionArgs and TableServerSideEncryptionOutput values. You can construct a concrete instance of `TableServerSideEncryptionInput` via:

TableServerSideEncryptionArgs{...}

type TableServerSideEncryptionOutput Uses

type TableServerSideEncryptionOutput struct{ *pulumi.OutputState }

func (TableServerSideEncryptionOutput) ElementType Uses

func (TableServerSideEncryptionOutput) ElementType() reflect.Type

func (TableServerSideEncryptionOutput) Enabled Uses

func (o TableServerSideEncryptionOutput) Enabled() pulumi.BoolOutput

Indicates whether ttl is enabled (true) or disabled (false).

func (TableServerSideEncryptionOutput) KmsKeyArn Uses

func (o TableServerSideEncryptionOutput) KmsKeyArn() pulumi.StringPtrOutput

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 Uses

func (o TableServerSideEncryptionOutput) ToTableServerSideEncryptionOutput() TableServerSideEncryptionOutput

func (TableServerSideEncryptionOutput) ToTableServerSideEncryptionOutputWithContext Uses

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

func (TableServerSideEncryptionOutput) ToTableServerSideEncryptionPtrOutput Uses

func (o TableServerSideEncryptionOutput) ToTableServerSideEncryptionPtrOutput() TableServerSideEncryptionPtrOutput

func (TableServerSideEncryptionOutput) ToTableServerSideEncryptionPtrOutputWithContext Uses

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

type TableServerSideEncryptionPtrInput Uses

type TableServerSideEncryptionPtrInput interface {
    pulumi.Input

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

TableServerSideEncryptionPtrInput is an input type that accepts TableServerSideEncryptionArgs, TableServerSideEncryptionPtr and TableServerSideEncryptionPtrOutput values. You can construct a concrete instance of `TableServerSideEncryptionPtrInput` via:

        TableServerSideEncryptionArgs{...}

or:

        nil

func TableServerSideEncryptionPtr Uses

func TableServerSideEncryptionPtr(v *TableServerSideEncryptionArgs) TableServerSideEncryptionPtrInput

type TableServerSideEncryptionPtrOutput Uses

type TableServerSideEncryptionPtrOutput struct{ *pulumi.OutputState }

func (TableServerSideEncryptionPtrOutput) Elem Uses

func (o TableServerSideEncryptionPtrOutput) Elem() TableServerSideEncryptionOutput

func (TableServerSideEncryptionPtrOutput) ElementType Uses

func (TableServerSideEncryptionPtrOutput) ElementType() reflect.Type

func (TableServerSideEncryptionPtrOutput) Enabled Uses

func (o TableServerSideEncryptionPtrOutput) Enabled() pulumi.BoolPtrOutput

Indicates whether ttl is enabled (true) or disabled (false).

func (TableServerSideEncryptionPtrOutput) KmsKeyArn Uses

func (o TableServerSideEncryptionPtrOutput) KmsKeyArn() pulumi.StringPtrOutput

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 Uses

func (o TableServerSideEncryptionPtrOutput) ToTableServerSideEncryptionPtrOutput() TableServerSideEncryptionPtrOutput

func (TableServerSideEncryptionPtrOutput) ToTableServerSideEncryptionPtrOutputWithContext Uses

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

type TableState Uses

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
    // Configuration block(s) with [DynamoDB Global Tables V2 (version 2019.11.21)](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html) replication configurations. Detailed below.
    Replicas TableReplicaArrayInput
    // 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.StringMapInput
    // 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 Uses

func (TableState) ElementType() reflect.Type

type TableTtl Uses

type TableTtl struct {
    // The name of the table attribute to store the TTL timestamp in.
    AttributeName string `pulumi:"attributeName"`
    // Indicates whether ttl is enabled (true) or disabled (false).
    Enabled *bool `pulumi:"enabled"`
}

type TableTtlArgs Uses

type TableTtlArgs struct {
    // The name of the table attribute to store the TTL timestamp in.
    AttributeName pulumi.StringInput `pulumi:"attributeName"`
    // Indicates whether ttl is enabled (true) or disabled (false).
    Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
}

func (TableTtlArgs) ElementType Uses

func (TableTtlArgs) ElementType() reflect.Type

func (TableTtlArgs) ToTableTtlOutput Uses

func (i TableTtlArgs) ToTableTtlOutput() TableTtlOutput

func (TableTtlArgs) ToTableTtlOutputWithContext Uses

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

func (TableTtlArgs) ToTableTtlPtrOutput Uses

func (i TableTtlArgs) ToTableTtlPtrOutput() TableTtlPtrOutput

func (TableTtlArgs) ToTableTtlPtrOutputWithContext Uses

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

type TableTtlInput Uses

type TableTtlInput interface {
    pulumi.Input

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

TableTtlInput is an input type that accepts TableTtlArgs and TableTtlOutput values. You can construct a concrete instance of `TableTtlInput` via:

TableTtlArgs{...}

type TableTtlOutput Uses

type TableTtlOutput struct{ *pulumi.OutputState }

func (TableTtlOutput) AttributeName Uses

func (o TableTtlOutput) AttributeName() pulumi.StringOutput

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

func (TableTtlOutput) ElementType Uses

func (TableTtlOutput) ElementType() reflect.Type

func (TableTtlOutput) Enabled Uses

func (o TableTtlOutput) Enabled() pulumi.BoolPtrOutput

Indicates whether ttl is enabled (true) or disabled (false).

func (TableTtlOutput) ToTableTtlOutput Uses

func (o TableTtlOutput) ToTableTtlOutput() TableTtlOutput

func (TableTtlOutput) ToTableTtlOutputWithContext Uses

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

func (TableTtlOutput) ToTableTtlPtrOutput Uses

func (o TableTtlOutput) ToTableTtlPtrOutput() TableTtlPtrOutput

func (TableTtlOutput) ToTableTtlPtrOutputWithContext Uses

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

type TableTtlPtrInput Uses

type TableTtlPtrInput interface {
    pulumi.Input

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

TableTtlPtrInput is an input type that accepts TableTtlArgs, TableTtlPtr and TableTtlPtrOutput values. You can construct a concrete instance of `TableTtlPtrInput` via:

        TableTtlArgs{...}

or:

        nil

func TableTtlPtr Uses

func TableTtlPtr(v *TableTtlArgs) TableTtlPtrInput

type TableTtlPtrOutput Uses

type TableTtlPtrOutput struct{ *pulumi.OutputState }

func (TableTtlPtrOutput) AttributeName Uses

func (o TableTtlPtrOutput) AttributeName() pulumi.StringPtrOutput

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

func (TableTtlPtrOutput) Elem Uses

func (o TableTtlPtrOutput) Elem() TableTtlOutput

func (TableTtlPtrOutput) ElementType Uses

func (TableTtlPtrOutput) ElementType() reflect.Type

func (TableTtlPtrOutput) Enabled Uses

func (o TableTtlPtrOutput) Enabled() pulumi.BoolPtrOutput

Indicates whether ttl is enabled (true) or disabled (false).

func (TableTtlPtrOutput) ToTableTtlPtrOutput Uses

func (o TableTtlPtrOutput) ToTableTtlPtrOutput() TableTtlPtrOutput

func (TableTtlPtrOutput) ToTableTtlPtrOutputWithContext Uses

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

Package dynamodb imports 4 packages (graph). Updated 2020-09-22. Refresh now. Tools for package owners.