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
}

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
}

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
}

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
}

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
}

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
}

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
}

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

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
}

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

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

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
}

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]interface{}        `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"`
    // 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 Uses

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

Provides information about a DynamoDB table.

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

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
}

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
}

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
}

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

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
}

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
}

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 {
    // 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 Uses

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

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

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

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

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 Uses

func (o TablePointInTimeRecoveryPtrOutput) ToTablePointInTimeRecoveryPtrOutput() TablePointInTimeRecoveryPtrOutput

func (TablePointInTimeRecoveryPtrOutput) ToTablePointInTimeRecoveryPtrOutputWithContext Uses

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

type TableServerSideEncryption Uses

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 Uses

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

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

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

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

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 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
    // 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 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"`
    // 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 Uses

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

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

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

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

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

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 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-04-06. Refresh now. Tools for package owners.