Documentation ¶
Index ¶
- type GetTableAttribute
- type GetTableAttributeArgs
- type GetTableAttributeArray
- type GetTableAttributeArrayInput
- type GetTableAttributeArrayOutput
- func (GetTableAttributeArrayOutput) ElementType() reflect.Type
- func (o GetTableAttributeArrayOutput) Index(i pulumi.IntInput) GetTableAttributeOutput
- func (o GetTableAttributeArrayOutput) ToGetTableAttributeArrayOutput() GetTableAttributeArrayOutput
- func (o GetTableAttributeArrayOutput) ToGetTableAttributeArrayOutputWithContext(ctx context.Context) GetTableAttributeArrayOutput
- type GetTableAttributeInput
- type GetTableAttributeOutput
- func (GetTableAttributeOutput) ElementType() reflect.Type
- func (o GetTableAttributeOutput) Name() pulumi.StringOutput
- func (o GetTableAttributeOutput) ToGetTableAttributeOutput() GetTableAttributeOutput
- func (o GetTableAttributeOutput) ToGetTableAttributeOutputWithContext(ctx context.Context) GetTableAttributeOutput
- func (o GetTableAttributeOutput) Type() pulumi.StringOutput
- type GetTableGlobalSecondaryIndex
- type GetTableGlobalSecondaryIndexArgs
- func (GetTableGlobalSecondaryIndexArgs) ElementType() reflect.Type
- func (i GetTableGlobalSecondaryIndexArgs) ToGetTableGlobalSecondaryIndexOutput() GetTableGlobalSecondaryIndexOutput
- func (i GetTableGlobalSecondaryIndexArgs) ToGetTableGlobalSecondaryIndexOutputWithContext(ctx context.Context) GetTableGlobalSecondaryIndexOutput
- type GetTableGlobalSecondaryIndexArray
- func (GetTableGlobalSecondaryIndexArray) ElementType() reflect.Type
- func (i GetTableGlobalSecondaryIndexArray) ToGetTableGlobalSecondaryIndexArrayOutput() GetTableGlobalSecondaryIndexArrayOutput
- func (i GetTableGlobalSecondaryIndexArray) ToGetTableGlobalSecondaryIndexArrayOutputWithContext(ctx context.Context) GetTableGlobalSecondaryIndexArrayOutput
- type GetTableGlobalSecondaryIndexArrayInput
- type GetTableGlobalSecondaryIndexArrayOutput
- func (GetTableGlobalSecondaryIndexArrayOutput) ElementType() reflect.Type
- func (o GetTableGlobalSecondaryIndexArrayOutput) Index(i pulumi.IntInput) GetTableGlobalSecondaryIndexOutput
- func (o GetTableGlobalSecondaryIndexArrayOutput) ToGetTableGlobalSecondaryIndexArrayOutput() GetTableGlobalSecondaryIndexArrayOutput
- func (o GetTableGlobalSecondaryIndexArrayOutput) ToGetTableGlobalSecondaryIndexArrayOutputWithContext(ctx context.Context) GetTableGlobalSecondaryIndexArrayOutput
- type GetTableGlobalSecondaryIndexInput
- type GetTableGlobalSecondaryIndexOutput
- func (GetTableGlobalSecondaryIndexOutput) ElementType() reflect.Type
- func (o GetTableGlobalSecondaryIndexOutput) HashKey() pulumi.StringOutput
- func (o GetTableGlobalSecondaryIndexOutput) Name() pulumi.StringOutput
- func (o GetTableGlobalSecondaryIndexOutput) NonKeyAttributes() pulumi.StringArrayOutput
- func (o GetTableGlobalSecondaryIndexOutput) ProjectionType() pulumi.StringOutput
- func (o GetTableGlobalSecondaryIndexOutput) RangeKey() pulumi.StringOutput
- func (o GetTableGlobalSecondaryIndexOutput) ReadCapacity() pulumi.IntOutput
- func (o GetTableGlobalSecondaryIndexOutput) ToGetTableGlobalSecondaryIndexOutput() GetTableGlobalSecondaryIndexOutput
- func (o GetTableGlobalSecondaryIndexOutput) ToGetTableGlobalSecondaryIndexOutputWithContext(ctx context.Context) GetTableGlobalSecondaryIndexOutput
- func (o GetTableGlobalSecondaryIndexOutput) WriteCapacity() pulumi.IntOutput
- type GetTableLocalSecondaryIndex
- type GetTableLocalSecondaryIndexArgs
- func (GetTableLocalSecondaryIndexArgs) ElementType() reflect.Type
- func (i GetTableLocalSecondaryIndexArgs) ToGetTableLocalSecondaryIndexOutput() GetTableLocalSecondaryIndexOutput
- func (i GetTableLocalSecondaryIndexArgs) ToGetTableLocalSecondaryIndexOutputWithContext(ctx context.Context) GetTableLocalSecondaryIndexOutput
- type GetTableLocalSecondaryIndexArray
- func (GetTableLocalSecondaryIndexArray) ElementType() reflect.Type
- func (i GetTableLocalSecondaryIndexArray) ToGetTableLocalSecondaryIndexArrayOutput() GetTableLocalSecondaryIndexArrayOutput
- func (i GetTableLocalSecondaryIndexArray) ToGetTableLocalSecondaryIndexArrayOutputWithContext(ctx context.Context) GetTableLocalSecondaryIndexArrayOutput
- type GetTableLocalSecondaryIndexArrayInput
- type GetTableLocalSecondaryIndexArrayOutput
- func (GetTableLocalSecondaryIndexArrayOutput) ElementType() reflect.Type
- func (o GetTableLocalSecondaryIndexArrayOutput) Index(i pulumi.IntInput) GetTableLocalSecondaryIndexOutput
- func (o GetTableLocalSecondaryIndexArrayOutput) ToGetTableLocalSecondaryIndexArrayOutput() GetTableLocalSecondaryIndexArrayOutput
- func (o GetTableLocalSecondaryIndexArrayOutput) ToGetTableLocalSecondaryIndexArrayOutputWithContext(ctx context.Context) GetTableLocalSecondaryIndexArrayOutput
- type GetTableLocalSecondaryIndexInput
- type GetTableLocalSecondaryIndexOutput
- func (GetTableLocalSecondaryIndexOutput) ElementType() reflect.Type
- func (o GetTableLocalSecondaryIndexOutput) Name() pulumi.StringOutput
- func (o GetTableLocalSecondaryIndexOutput) NonKeyAttributes() pulumi.StringArrayOutput
- func (o GetTableLocalSecondaryIndexOutput) ProjectionType() pulumi.StringOutput
- func (o GetTableLocalSecondaryIndexOutput) RangeKey() pulumi.StringOutput
- func (o GetTableLocalSecondaryIndexOutput) ToGetTableLocalSecondaryIndexOutput() GetTableLocalSecondaryIndexOutput
- func (o GetTableLocalSecondaryIndexOutput) ToGetTableLocalSecondaryIndexOutputWithContext(ctx context.Context) GetTableLocalSecondaryIndexOutput
- type GetTablePointInTimeRecovery
- type GetTablePointInTimeRecoveryArgs
- func (GetTablePointInTimeRecoveryArgs) ElementType() reflect.Type
- func (i GetTablePointInTimeRecoveryArgs) ToGetTablePointInTimeRecoveryOutput() GetTablePointInTimeRecoveryOutput
- func (i GetTablePointInTimeRecoveryArgs) ToGetTablePointInTimeRecoveryOutputWithContext(ctx context.Context) GetTablePointInTimeRecoveryOutput
- type GetTablePointInTimeRecoveryInput
- type GetTablePointInTimeRecoveryOutput
- func (GetTablePointInTimeRecoveryOutput) ElementType() reflect.Type
- func (o GetTablePointInTimeRecoveryOutput) Enabled() pulumi.BoolOutput
- func (o GetTablePointInTimeRecoveryOutput) ToGetTablePointInTimeRecoveryOutput() GetTablePointInTimeRecoveryOutput
- func (o GetTablePointInTimeRecoveryOutput) ToGetTablePointInTimeRecoveryOutputWithContext(ctx context.Context) GetTablePointInTimeRecoveryOutput
- type GetTableReplica
- type GetTableReplicaArgs
- type GetTableReplicaArray
- type GetTableReplicaArrayInput
- type GetTableReplicaArrayOutput
- func (GetTableReplicaArrayOutput) ElementType() reflect.Type
- func (o GetTableReplicaArrayOutput) Index(i pulumi.IntInput) GetTableReplicaOutput
- func (o GetTableReplicaArrayOutput) ToGetTableReplicaArrayOutput() GetTableReplicaArrayOutput
- func (o GetTableReplicaArrayOutput) ToGetTableReplicaArrayOutputWithContext(ctx context.Context) GetTableReplicaArrayOutput
- type GetTableReplicaInput
- type GetTableReplicaOutput
- func (GetTableReplicaOutput) ElementType() reflect.Type
- func (o GetTableReplicaOutput) RegionName() pulumi.StringOutput
- func (o GetTableReplicaOutput) ToGetTableReplicaOutput() GetTableReplicaOutput
- func (o GetTableReplicaOutput) ToGetTableReplicaOutputWithContext(ctx context.Context) GetTableReplicaOutput
- type GetTableServerSideEncryption
- type GetTableServerSideEncryptionArgs
- func (GetTableServerSideEncryptionArgs) ElementType() reflect.Type
- func (i GetTableServerSideEncryptionArgs) ToGetTableServerSideEncryptionOutput() GetTableServerSideEncryptionOutput
- func (i GetTableServerSideEncryptionArgs) ToGetTableServerSideEncryptionOutputWithContext(ctx context.Context) GetTableServerSideEncryptionOutput
- type GetTableServerSideEncryptionInput
- type GetTableServerSideEncryptionOutput
- func (GetTableServerSideEncryptionOutput) ElementType() reflect.Type
- func (o GetTableServerSideEncryptionOutput) Enabled() pulumi.BoolOutput
- func (o GetTableServerSideEncryptionOutput) KmsKeyArn() pulumi.StringOutput
- func (o GetTableServerSideEncryptionOutput) ToGetTableServerSideEncryptionOutput() GetTableServerSideEncryptionOutput
- func (o GetTableServerSideEncryptionOutput) ToGetTableServerSideEncryptionOutputWithContext(ctx context.Context) GetTableServerSideEncryptionOutput
- type GetTableTtl
- type GetTableTtlArgs
- type GetTableTtlInput
- type GetTableTtlOutput
- func (o GetTableTtlOutput) AttributeName() pulumi.StringOutput
- func (GetTableTtlOutput) ElementType() reflect.Type
- func (o GetTableTtlOutput) Enabled() pulumi.BoolOutput
- func (o GetTableTtlOutput) ToGetTableTtlOutput() GetTableTtlOutput
- func (o GetTableTtlOutput) ToGetTableTtlOutputWithContext(ctx context.Context) GetTableTtlOutput
- type GlobalTable
- type GlobalTableArgs
- type GlobalTableReplica
- type GlobalTableReplicaArgs
- type GlobalTableReplicaArray
- type GlobalTableReplicaArrayInput
- type GlobalTableReplicaArrayOutput
- func (GlobalTableReplicaArrayOutput) ElementType() reflect.Type
- func (o GlobalTableReplicaArrayOutput) Index(i pulumi.IntInput) GlobalTableReplicaOutput
- func (o GlobalTableReplicaArrayOutput) ToGlobalTableReplicaArrayOutput() GlobalTableReplicaArrayOutput
- func (o GlobalTableReplicaArrayOutput) ToGlobalTableReplicaArrayOutputWithContext(ctx context.Context) GlobalTableReplicaArrayOutput
- type GlobalTableReplicaInput
- type GlobalTableReplicaOutput
- func (GlobalTableReplicaOutput) ElementType() reflect.Type
- func (o GlobalTableReplicaOutput) RegionName() pulumi.StringOutput
- func (o GlobalTableReplicaOutput) ToGlobalTableReplicaOutput() GlobalTableReplicaOutput
- func (o GlobalTableReplicaOutput) ToGlobalTableReplicaOutputWithContext(ctx context.Context) GlobalTableReplicaOutput
- type GlobalTableState
- type LookupTableArgs
- type LookupTableResult
- type Table
- type TableArgs
- type TableAttribute
- type TableAttributeArgs
- type TableAttributeArray
- type TableAttributeArrayInput
- type TableAttributeArrayOutput
- func (TableAttributeArrayOutput) ElementType() reflect.Type
- func (o TableAttributeArrayOutput) Index(i pulumi.IntInput) TableAttributeOutput
- func (o TableAttributeArrayOutput) ToTableAttributeArrayOutput() TableAttributeArrayOutput
- func (o TableAttributeArrayOutput) ToTableAttributeArrayOutputWithContext(ctx context.Context) TableAttributeArrayOutput
- type TableAttributeInput
- type TableAttributeOutput
- func (TableAttributeOutput) ElementType() reflect.Type
- func (o TableAttributeOutput) Name() pulumi.StringOutput
- func (o TableAttributeOutput) ToTableAttributeOutput() TableAttributeOutput
- func (o TableAttributeOutput) ToTableAttributeOutputWithContext(ctx context.Context) TableAttributeOutput
- func (o TableAttributeOutput) Type() pulumi.StringOutput
- type TableGlobalSecondaryIndex
- type TableGlobalSecondaryIndexArgs
- func (TableGlobalSecondaryIndexArgs) ElementType() reflect.Type
- func (i TableGlobalSecondaryIndexArgs) ToTableGlobalSecondaryIndexOutput() TableGlobalSecondaryIndexOutput
- func (i TableGlobalSecondaryIndexArgs) ToTableGlobalSecondaryIndexOutputWithContext(ctx context.Context) TableGlobalSecondaryIndexOutput
- type TableGlobalSecondaryIndexArray
- func (TableGlobalSecondaryIndexArray) ElementType() reflect.Type
- func (i TableGlobalSecondaryIndexArray) ToTableGlobalSecondaryIndexArrayOutput() TableGlobalSecondaryIndexArrayOutput
- func (i TableGlobalSecondaryIndexArray) ToTableGlobalSecondaryIndexArrayOutputWithContext(ctx context.Context) TableGlobalSecondaryIndexArrayOutput
- type TableGlobalSecondaryIndexArrayInput
- type TableGlobalSecondaryIndexArrayOutput
- func (TableGlobalSecondaryIndexArrayOutput) ElementType() reflect.Type
- func (o TableGlobalSecondaryIndexArrayOutput) Index(i pulumi.IntInput) TableGlobalSecondaryIndexOutput
- func (o TableGlobalSecondaryIndexArrayOutput) ToTableGlobalSecondaryIndexArrayOutput() TableGlobalSecondaryIndexArrayOutput
- func (o TableGlobalSecondaryIndexArrayOutput) ToTableGlobalSecondaryIndexArrayOutputWithContext(ctx context.Context) TableGlobalSecondaryIndexArrayOutput
- type TableGlobalSecondaryIndexInput
- type TableGlobalSecondaryIndexOutput
- func (TableGlobalSecondaryIndexOutput) ElementType() reflect.Type
- func (o TableGlobalSecondaryIndexOutput) HashKey() pulumi.StringOutput
- func (o TableGlobalSecondaryIndexOutput) Name() pulumi.StringOutput
- func (o TableGlobalSecondaryIndexOutput) NonKeyAttributes() pulumi.StringArrayOutput
- func (o TableGlobalSecondaryIndexOutput) ProjectionType() pulumi.StringOutput
- func (o TableGlobalSecondaryIndexOutput) RangeKey() pulumi.StringPtrOutput
- func (o TableGlobalSecondaryIndexOutput) ReadCapacity() pulumi.IntPtrOutput
- func (o TableGlobalSecondaryIndexOutput) ToTableGlobalSecondaryIndexOutput() TableGlobalSecondaryIndexOutput
- func (o TableGlobalSecondaryIndexOutput) ToTableGlobalSecondaryIndexOutputWithContext(ctx context.Context) TableGlobalSecondaryIndexOutput
- func (o TableGlobalSecondaryIndexOutput) WriteCapacity() pulumi.IntPtrOutput
- type TableItem
- type TableItemArgs
- type TableItemState
- type TableLocalSecondaryIndex
- type TableLocalSecondaryIndexArgs
- func (TableLocalSecondaryIndexArgs) ElementType() reflect.Type
- func (i TableLocalSecondaryIndexArgs) ToTableLocalSecondaryIndexOutput() TableLocalSecondaryIndexOutput
- func (i TableLocalSecondaryIndexArgs) ToTableLocalSecondaryIndexOutputWithContext(ctx context.Context) TableLocalSecondaryIndexOutput
- type TableLocalSecondaryIndexArray
- func (TableLocalSecondaryIndexArray) ElementType() reflect.Type
- func (i TableLocalSecondaryIndexArray) ToTableLocalSecondaryIndexArrayOutput() TableLocalSecondaryIndexArrayOutput
- func (i TableLocalSecondaryIndexArray) ToTableLocalSecondaryIndexArrayOutputWithContext(ctx context.Context) TableLocalSecondaryIndexArrayOutput
- type TableLocalSecondaryIndexArrayInput
- type TableLocalSecondaryIndexArrayOutput
- func (TableLocalSecondaryIndexArrayOutput) ElementType() reflect.Type
- func (o TableLocalSecondaryIndexArrayOutput) Index(i pulumi.IntInput) TableLocalSecondaryIndexOutput
- func (o TableLocalSecondaryIndexArrayOutput) ToTableLocalSecondaryIndexArrayOutput() TableLocalSecondaryIndexArrayOutput
- func (o TableLocalSecondaryIndexArrayOutput) ToTableLocalSecondaryIndexArrayOutputWithContext(ctx context.Context) TableLocalSecondaryIndexArrayOutput
- type TableLocalSecondaryIndexInput
- type TableLocalSecondaryIndexOutput
- func (TableLocalSecondaryIndexOutput) ElementType() reflect.Type
- func (o TableLocalSecondaryIndexOutput) Name() pulumi.StringOutput
- func (o TableLocalSecondaryIndexOutput) NonKeyAttributes() pulumi.StringArrayOutput
- func (o TableLocalSecondaryIndexOutput) ProjectionType() pulumi.StringOutput
- func (o TableLocalSecondaryIndexOutput) RangeKey() pulumi.StringOutput
- func (o TableLocalSecondaryIndexOutput) ToTableLocalSecondaryIndexOutput() TableLocalSecondaryIndexOutput
- func (o TableLocalSecondaryIndexOutput) ToTableLocalSecondaryIndexOutputWithContext(ctx context.Context) TableLocalSecondaryIndexOutput
- type TablePointInTimeRecovery
- type TablePointInTimeRecoveryArgs
- func (TablePointInTimeRecoveryArgs) ElementType() reflect.Type
- func (i TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryOutput() TablePointInTimeRecoveryOutput
- func (i TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryOutputWithContext(ctx context.Context) TablePointInTimeRecoveryOutput
- func (i TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryPtrOutput() TablePointInTimeRecoveryPtrOutput
- func (i TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryPtrOutputWithContext(ctx context.Context) TablePointInTimeRecoveryPtrOutput
- type TablePointInTimeRecoveryInput
- type TablePointInTimeRecoveryOutput
- func (TablePointInTimeRecoveryOutput) ElementType() reflect.Type
- func (o TablePointInTimeRecoveryOutput) Enabled() pulumi.BoolOutput
- func (o TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryOutput() TablePointInTimeRecoveryOutput
- func (o TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryOutputWithContext(ctx context.Context) TablePointInTimeRecoveryOutput
- func (o TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryPtrOutput() TablePointInTimeRecoveryPtrOutput
- func (o TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryPtrOutputWithContext(ctx context.Context) TablePointInTimeRecoveryPtrOutput
- type TablePointInTimeRecoveryPtrInput
- type TablePointInTimeRecoveryPtrOutput
- func (o TablePointInTimeRecoveryPtrOutput) Elem() TablePointInTimeRecoveryOutput
- func (TablePointInTimeRecoveryPtrOutput) ElementType() reflect.Type
- func (o TablePointInTimeRecoveryPtrOutput) Enabled() pulumi.BoolPtrOutput
- func (o TablePointInTimeRecoveryPtrOutput) ToTablePointInTimeRecoveryPtrOutput() TablePointInTimeRecoveryPtrOutput
- func (o TablePointInTimeRecoveryPtrOutput) ToTablePointInTimeRecoveryPtrOutputWithContext(ctx context.Context) TablePointInTimeRecoveryPtrOutput
- type TableReplica
- type TableReplicaArgs
- type TableReplicaArray
- type TableReplicaArrayInput
- type TableReplicaArrayOutput
- func (TableReplicaArrayOutput) ElementType() reflect.Type
- func (o TableReplicaArrayOutput) Index(i pulumi.IntInput) TableReplicaOutput
- func (o TableReplicaArrayOutput) ToTableReplicaArrayOutput() TableReplicaArrayOutput
- func (o TableReplicaArrayOutput) ToTableReplicaArrayOutputWithContext(ctx context.Context) TableReplicaArrayOutput
- type TableReplicaInput
- type TableReplicaOutput
- type TableServerSideEncryption
- type TableServerSideEncryptionArgs
- func (TableServerSideEncryptionArgs) ElementType() reflect.Type
- func (i TableServerSideEncryptionArgs) ToTableServerSideEncryptionOutput() TableServerSideEncryptionOutput
- func (i TableServerSideEncryptionArgs) ToTableServerSideEncryptionOutputWithContext(ctx context.Context) TableServerSideEncryptionOutput
- func (i TableServerSideEncryptionArgs) ToTableServerSideEncryptionPtrOutput() TableServerSideEncryptionPtrOutput
- func (i TableServerSideEncryptionArgs) ToTableServerSideEncryptionPtrOutputWithContext(ctx context.Context) TableServerSideEncryptionPtrOutput
- type TableServerSideEncryptionInput
- type TableServerSideEncryptionOutput
- func (TableServerSideEncryptionOutput) ElementType() reflect.Type
- func (o TableServerSideEncryptionOutput) Enabled() pulumi.BoolOutput
- func (o TableServerSideEncryptionOutput) KmsKeyArn() pulumi.StringPtrOutput
- func (o TableServerSideEncryptionOutput) ToTableServerSideEncryptionOutput() TableServerSideEncryptionOutput
- func (o TableServerSideEncryptionOutput) ToTableServerSideEncryptionOutputWithContext(ctx context.Context) TableServerSideEncryptionOutput
- func (o TableServerSideEncryptionOutput) ToTableServerSideEncryptionPtrOutput() TableServerSideEncryptionPtrOutput
- func (o TableServerSideEncryptionOutput) ToTableServerSideEncryptionPtrOutputWithContext(ctx context.Context) TableServerSideEncryptionPtrOutput
- type TableServerSideEncryptionPtrInput
- type TableServerSideEncryptionPtrOutput
- func (o TableServerSideEncryptionPtrOutput) Elem() TableServerSideEncryptionOutput
- func (TableServerSideEncryptionPtrOutput) ElementType() reflect.Type
- func (o TableServerSideEncryptionPtrOutput) Enabled() pulumi.BoolPtrOutput
- func (o TableServerSideEncryptionPtrOutput) KmsKeyArn() pulumi.StringPtrOutput
- func (o TableServerSideEncryptionPtrOutput) ToTableServerSideEncryptionPtrOutput() TableServerSideEncryptionPtrOutput
- func (o TableServerSideEncryptionPtrOutput) ToTableServerSideEncryptionPtrOutputWithContext(ctx context.Context) TableServerSideEncryptionPtrOutput
- type TableState
- type TableTtl
- type TableTtlArgs
- func (TableTtlArgs) ElementType() reflect.Type
- func (i TableTtlArgs) ToTableTtlOutput() TableTtlOutput
- func (i TableTtlArgs) ToTableTtlOutputWithContext(ctx context.Context) TableTtlOutput
- func (i TableTtlArgs) ToTableTtlPtrOutput() TableTtlPtrOutput
- func (i TableTtlArgs) ToTableTtlPtrOutputWithContext(ctx context.Context) TableTtlPtrOutput
- type TableTtlInput
- type TableTtlOutput
- func (o TableTtlOutput) AttributeName() pulumi.StringOutput
- func (TableTtlOutput) ElementType() reflect.Type
- func (o TableTtlOutput) Enabled() pulumi.BoolPtrOutput
- func (o TableTtlOutput) ToTableTtlOutput() TableTtlOutput
- func (o TableTtlOutput) ToTableTtlOutputWithContext(ctx context.Context) TableTtlOutput
- func (o TableTtlOutput) ToTableTtlPtrOutput() TableTtlPtrOutput
- func (o TableTtlOutput) ToTableTtlPtrOutputWithContext(ctx context.Context) TableTtlPtrOutput
- type TableTtlPtrInput
- type TableTtlPtrOutput
- func (o TableTtlPtrOutput) AttributeName() pulumi.StringPtrOutput
- func (o TableTtlPtrOutput) Elem() TableTtlOutput
- func (TableTtlPtrOutput) ElementType() reflect.Type
- func (o TableTtlPtrOutput) Enabled() pulumi.BoolPtrOutput
- func (o TableTtlPtrOutput) ToTableTtlPtrOutput() TableTtlPtrOutput
- func (o TableTtlPtrOutput) ToTableTtlPtrOutputWithContext(ctx context.Context) TableTtlPtrOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetTableAttribute ¶
type GetTableAttributeArgs ¶
type GetTableAttributeArgs struct { // The name of the DynamoDB table. Name pulumi.StringInput `pulumi:"name"` Type pulumi.StringInput `pulumi:"type"` }
func (GetTableAttributeArgs) ElementType ¶
func (GetTableAttributeArgs) ElementType() reflect.Type
func (GetTableAttributeArgs) ToGetTableAttributeOutput ¶
func (i GetTableAttributeArgs) ToGetTableAttributeOutput() GetTableAttributeOutput
func (GetTableAttributeArgs) ToGetTableAttributeOutputWithContext ¶
func (i GetTableAttributeArgs) ToGetTableAttributeOutputWithContext(ctx context.Context) GetTableAttributeOutput
type GetTableAttributeArray ¶
type GetTableAttributeArray []GetTableAttributeInput
func (GetTableAttributeArray) ElementType ¶
func (GetTableAttributeArray) ElementType() reflect.Type
func (GetTableAttributeArray) ToGetTableAttributeArrayOutput ¶
func (i GetTableAttributeArray) ToGetTableAttributeArrayOutput() GetTableAttributeArrayOutput
func (GetTableAttributeArray) ToGetTableAttributeArrayOutputWithContext ¶
func (i GetTableAttributeArray) ToGetTableAttributeArrayOutputWithContext(ctx context.Context) GetTableAttributeArrayOutput
type GetTableAttributeArrayInput ¶
type GetTableAttributeArrayInput interface { pulumi.Input ToGetTableAttributeArrayOutput() GetTableAttributeArrayOutput ToGetTableAttributeArrayOutputWithContext(context.Context) GetTableAttributeArrayOutput }
GetTableAttributeArrayInput is an input type that accepts GetTableAttributeArray and GetTableAttributeArrayOutput values. You can construct a concrete instance of `GetTableAttributeArrayInput` via:
GetTableAttributeArray{ GetTableAttributeArgs{...} }
type GetTableAttributeArrayOutput ¶
type GetTableAttributeArrayOutput struct{ *pulumi.OutputState }
func (GetTableAttributeArrayOutput) ElementType ¶
func (GetTableAttributeArrayOutput) ElementType() reflect.Type
func (GetTableAttributeArrayOutput) Index ¶
func (o GetTableAttributeArrayOutput) Index(i pulumi.IntInput) GetTableAttributeOutput
func (GetTableAttributeArrayOutput) ToGetTableAttributeArrayOutput ¶
func (o GetTableAttributeArrayOutput) ToGetTableAttributeArrayOutput() GetTableAttributeArrayOutput
func (GetTableAttributeArrayOutput) ToGetTableAttributeArrayOutputWithContext ¶
func (o GetTableAttributeArrayOutput) ToGetTableAttributeArrayOutputWithContext(ctx context.Context) GetTableAttributeArrayOutput
type GetTableAttributeInput ¶
type GetTableAttributeInput interface { pulumi.Input ToGetTableAttributeOutput() GetTableAttributeOutput ToGetTableAttributeOutputWithContext(context.Context) GetTableAttributeOutput }
GetTableAttributeInput is an input type that accepts GetTableAttributeArgs and GetTableAttributeOutput values. You can construct a concrete instance of `GetTableAttributeInput` via:
GetTableAttributeArgs{...}
type GetTableAttributeOutput ¶
type GetTableAttributeOutput struct{ *pulumi.OutputState }
func (GetTableAttributeOutput) ElementType ¶
func (GetTableAttributeOutput) ElementType() reflect.Type
func (GetTableAttributeOutput) Name ¶
func (o GetTableAttributeOutput) Name() pulumi.StringOutput
The name of the DynamoDB table.
func (GetTableAttributeOutput) ToGetTableAttributeOutput ¶
func (o GetTableAttributeOutput) ToGetTableAttributeOutput() GetTableAttributeOutput
func (GetTableAttributeOutput) ToGetTableAttributeOutputWithContext ¶
func (o GetTableAttributeOutput) ToGetTableAttributeOutputWithContext(ctx context.Context) GetTableAttributeOutput
func (GetTableAttributeOutput) Type ¶
func (o GetTableAttributeOutput) Type() pulumi.StringOutput
type GetTableGlobalSecondaryIndex ¶
type GetTableGlobalSecondaryIndex struct { HashKey string `pulumi:"hashKey"` // The name of the DynamoDB table. Name string `pulumi:"name"` NonKeyAttributes []string `pulumi:"nonKeyAttributes"` ProjectionType string `pulumi:"projectionType"` RangeKey string `pulumi:"rangeKey"` ReadCapacity int `pulumi:"readCapacity"` WriteCapacity int `pulumi:"writeCapacity"` }
type GetTableGlobalSecondaryIndexArgs ¶
type GetTableGlobalSecondaryIndexArgs struct { HashKey pulumi.StringInput `pulumi:"hashKey"` // The name of the DynamoDB table. Name pulumi.StringInput `pulumi:"name"` NonKeyAttributes pulumi.StringArrayInput `pulumi:"nonKeyAttributes"` ProjectionType pulumi.StringInput `pulumi:"projectionType"` RangeKey pulumi.StringInput `pulumi:"rangeKey"` ReadCapacity pulumi.IntInput `pulumi:"readCapacity"` WriteCapacity pulumi.IntInput `pulumi:"writeCapacity"` }
func (GetTableGlobalSecondaryIndexArgs) ElementType ¶
func (GetTableGlobalSecondaryIndexArgs) ElementType() reflect.Type
func (GetTableGlobalSecondaryIndexArgs) ToGetTableGlobalSecondaryIndexOutput ¶
func (i GetTableGlobalSecondaryIndexArgs) ToGetTableGlobalSecondaryIndexOutput() GetTableGlobalSecondaryIndexOutput
func (GetTableGlobalSecondaryIndexArgs) ToGetTableGlobalSecondaryIndexOutputWithContext ¶
func (i GetTableGlobalSecondaryIndexArgs) ToGetTableGlobalSecondaryIndexOutputWithContext(ctx context.Context) GetTableGlobalSecondaryIndexOutput
type GetTableGlobalSecondaryIndexArray ¶
type GetTableGlobalSecondaryIndexArray []GetTableGlobalSecondaryIndexInput
func (GetTableGlobalSecondaryIndexArray) ElementType ¶
func (GetTableGlobalSecondaryIndexArray) ElementType() reflect.Type
func (GetTableGlobalSecondaryIndexArray) ToGetTableGlobalSecondaryIndexArrayOutput ¶
func (i GetTableGlobalSecondaryIndexArray) ToGetTableGlobalSecondaryIndexArrayOutput() GetTableGlobalSecondaryIndexArrayOutput
func (GetTableGlobalSecondaryIndexArray) ToGetTableGlobalSecondaryIndexArrayOutputWithContext ¶
func (i GetTableGlobalSecondaryIndexArray) ToGetTableGlobalSecondaryIndexArrayOutputWithContext(ctx context.Context) GetTableGlobalSecondaryIndexArrayOutput
type GetTableGlobalSecondaryIndexArrayInput ¶
type GetTableGlobalSecondaryIndexArrayInput interface { pulumi.Input ToGetTableGlobalSecondaryIndexArrayOutput() GetTableGlobalSecondaryIndexArrayOutput ToGetTableGlobalSecondaryIndexArrayOutputWithContext(context.Context) GetTableGlobalSecondaryIndexArrayOutput }
GetTableGlobalSecondaryIndexArrayInput is an input type that accepts GetTableGlobalSecondaryIndexArray and GetTableGlobalSecondaryIndexArrayOutput values. You can construct a concrete instance of `GetTableGlobalSecondaryIndexArrayInput` via:
GetTableGlobalSecondaryIndexArray{ GetTableGlobalSecondaryIndexArgs{...} }
type GetTableGlobalSecondaryIndexArrayOutput ¶
type GetTableGlobalSecondaryIndexArrayOutput struct{ *pulumi.OutputState }
func (GetTableGlobalSecondaryIndexArrayOutput) ElementType ¶
func (GetTableGlobalSecondaryIndexArrayOutput) ElementType() reflect.Type
func (GetTableGlobalSecondaryIndexArrayOutput) ToGetTableGlobalSecondaryIndexArrayOutput ¶
func (o GetTableGlobalSecondaryIndexArrayOutput) ToGetTableGlobalSecondaryIndexArrayOutput() GetTableGlobalSecondaryIndexArrayOutput
func (GetTableGlobalSecondaryIndexArrayOutput) ToGetTableGlobalSecondaryIndexArrayOutputWithContext ¶
func (o GetTableGlobalSecondaryIndexArrayOutput) ToGetTableGlobalSecondaryIndexArrayOutputWithContext(ctx context.Context) GetTableGlobalSecondaryIndexArrayOutput
type GetTableGlobalSecondaryIndexInput ¶
type GetTableGlobalSecondaryIndexInput interface { pulumi.Input ToGetTableGlobalSecondaryIndexOutput() GetTableGlobalSecondaryIndexOutput ToGetTableGlobalSecondaryIndexOutputWithContext(context.Context) GetTableGlobalSecondaryIndexOutput }
GetTableGlobalSecondaryIndexInput is an input type that accepts GetTableGlobalSecondaryIndexArgs and GetTableGlobalSecondaryIndexOutput values. You can construct a concrete instance of `GetTableGlobalSecondaryIndexInput` via:
GetTableGlobalSecondaryIndexArgs{...}
type GetTableGlobalSecondaryIndexOutput ¶
type GetTableGlobalSecondaryIndexOutput struct{ *pulumi.OutputState }
func (GetTableGlobalSecondaryIndexOutput) ElementType ¶
func (GetTableGlobalSecondaryIndexOutput) ElementType() reflect.Type
func (GetTableGlobalSecondaryIndexOutput) HashKey ¶
func (o GetTableGlobalSecondaryIndexOutput) HashKey() pulumi.StringOutput
func (GetTableGlobalSecondaryIndexOutput) Name ¶
func (o GetTableGlobalSecondaryIndexOutput) Name() pulumi.StringOutput
The name of the DynamoDB table.
func (GetTableGlobalSecondaryIndexOutput) NonKeyAttributes ¶
func (o GetTableGlobalSecondaryIndexOutput) NonKeyAttributes() pulumi.StringArrayOutput
func (GetTableGlobalSecondaryIndexOutput) ProjectionType ¶
func (o GetTableGlobalSecondaryIndexOutput) ProjectionType() pulumi.StringOutput
func (GetTableGlobalSecondaryIndexOutput) RangeKey ¶
func (o GetTableGlobalSecondaryIndexOutput) RangeKey() pulumi.StringOutput
func (GetTableGlobalSecondaryIndexOutput) ReadCapacity ¶
func (o GetTableGlobalSecondaryIndexOutput) ReadCapacity() pulumi.IntOutput
func (GetTableGlobalSecondaryIndexOutput) ToGetTableGlobalSecondaryIndexOutput ¶
func (o GetTableGlobalSecondaryIndexOutput) ToGetTableGlobalSecondaryIndexOutput() GetTableGlobalSecondaryIndexOutput
func (GetTableGlobalSecondaryIndexOutput) ToGetTableGlobalSecondaryIndexOutputWithContext ¶
func (o GetTableGlobalSecondaryIndexOutput) ToGetTableGlobalSecondaryIndexOutputWithContext(ctx context.Context) GetTableGlobalSecondaryIndexOutput
func (GetTableGlobalSecondaryIndexOutput) WriteCapacity ¶
func (o GetTableGlobalSecondaryIndexOutput) WriteCapacity() pulumi.IntOutput
type GetTableLocalSecondaryIndexArgs ¶
type GetTableLocalSecondaryIndexArgs struct { // The name of the DynamoDB table. Name pulumi.StringInput `pulumi:"name"` NonKeyAttributes pulumi.StringArrayInput `pulumi:"nonKeyAttributes"` ProjectionType pulumi.StringInput `pulumi:"projectionType"` RangeKey pulumi.StringInput `pulumi:"rangeKey"` }
func (GetTableLocalSecondaryIndexArgs) ElementType ¶
func (GetTableLocalSecondaryIndexArgs) ElementType() reflect.Type
func (GetTableLocalSecondaryIndexArgs) ToGetTableLocalSecondaryIndexOutput ¶
func (i GetTableLocalSecondaryIndexArgs) ToGetTableLocalSecondaryIndexOutput() GetTableLocalSecondaryIndexOutput
func (GetTableLocalSecondaryIndexArgs) ToGetTableLocalSecondaryIndexOutputWithContext ¶
func (i GetTableLocalSecondaryIndexArgs) ToGetTableLocalSecondaryIndexOutputWithContext(ctx context.Context) GetTableLocalSecondaryIndexOutput
type GetTableLocalSecondaryIndexArray ¶
type GetTableLocalSecondaryIndexArray []GetTableLocalSecondaryIndexInput
func (GetTableLocalSecondaryIndexArray) ElementType ¶
func (GetTableLocalSecondaryIndexArray) ElementType() reflect.Type
func (GetTableLocalSecondaryIndexArray) ToGetTableLocalSecondaryIndexArrayOutput ¶
func (i GetTableLocalSecondaryIndexArray) ToGetTableLocalSecondaryIndexArrayOutput() GetTableLocalSecondaryIndexArrayOutput
func (GetTableLocalSecondaryIndexArray) ToGetTableLocalSecondaryIndexArrayOutputWithContext ¶
func (i GetTableLocalSecondaryIndexArray) ToGetTableLocalSecondaryIndexArrayOutputWithContext(ctx context.Context) GetTableLocalSecondaryIndexArrayOutput
type GetTableLocalSecondaryIndexArrayInput ¶
type GetTableLocalSecondaryIndexArrayInput interface { pulumi.Input ToGetTableLocalSecondaryIndexArrayOutput() GetTableLocalSecondaryIndexArrayOutput ToGetTableLocalSecondaryIndexArrayOutputWithContext(context.Context) GetTableLocalSecondaryIndexArrayOutput }
GetTableLocalSecondaryIndexArrayInput is an input type that accepts GetTableLocalSecondaryIndexArray and GetTableLocalSecondaryIndexArrayOutput values. You can construct a concrete instance of `GetTableLocalSecondaryIndexArrayInput` via:
GetTableLocalSecondaryIndexArray{ GetTableLocalSecondaryIndexArgs{...} }
type GetTableLocalSecondaryIndexArrayOutput ¶
type GetTableLocalSecondaryIndexArrayOutput struct{ *pulumi.OutputState }
func (GetTableLocalSecondaryIndexArrayOutput) ElementType ¶
func (GetTableLocalSecondaryIndexArrayOutput) ElementType() reflect.Type
func (GetTableLocalSecondaryIndexArrayOutput) ToGetTableLocalSecondaryIndexArrayOutput ¶
func (o GetTableLocalSecondaryIndexArrayOutput) ToGetTableLocalSecondaryIndexArrayOutput() GetTableLocalSecondaryIndexArrayOutput
func (GetTableLocalSecondaryIndexArrayOutput) ToGetTableLocalSecondaryIndexArrayOutputWithContext ¶
func (o GetTableLocalSecondaryIndexArrayOutput) ToGetTableLocalSecondaryIndexArrayOutputWithContext(ctx context.Context) GetTableLocalSecondaryIndexArrayOutput
type GetTableLocalSecondaryIndexInput ¶
type GetTableLocalSecondaryIndexInput interface { pulumi.Input ToGetTableLocalSecondaryIndexOutput() GetTableLocalSecondaryIndexOutput ToGetTableLocalSecondaryIndexOutputWithContext(context.Context) GetTableLocalSecondaryIndexOutput }
GetTableLocalSecondaryIndexInput is an input type that accepts GetTableLocalSecondaryIndexArgs and GetTableLocalSecondaryIndexOutput values. You can construct a concrete instance of `GetTableLocalSecondaryIndexInput` via:
GetTableLocalSecondaryIndexArgs{...}
type GetTableLocalSecondaryIndexOutput ¶
type GetTableLocalSecondaryIndexOutput struct{ *pulumi.OutputState }
func (GetTableLocalSecondaryIndexOutput) ElementType ¶
func (GetTableLocalSecondaryIndexOutput) ElementType() reflect.Type
func (GetTableLocalSecondaryIndexOutput) Name ¶
func (o GetTableLocalSecondaryIndexOutput) Name() pulumi.StringOutput
The name of the DynamoDB table.
func (GetTableLocalSecondaryIndexOutput) NonKeyAttributes ¶
func (o GetTableLocalSecondaryIndexOutput) NonKeyAttributes() pulumi.StringArrayOutput
func (GetTableLocalSecondaryIndexOutput) ProjectionType ¶
func (o GetTableLocalSecondaryIndexOutput) ProjectionType() pulumi.StringOutput
func (GetTableLocalSecondaryIndexOutput) RangeKey ¶
func (o GetTableLocalSecondaryIndexOutput) RangeKey() pulumi.StringOutput
func (GetTableLocalSecondaryIndexOutput) ToGetTableLocalSecondaryIndexOutput ¶
func (o GetTableLocalSecondaryIndexOutput) ToGetTableLocalSecondaryIndexOutput() GetTableLocalSecondaryIndexOutput
func (GetTableLocalSecondaryIndexOutput) ToGetTableLocalSecondaryIndexOutputWithContext ¶
func (o GetTableLocalSecondaryIndexOutput) ToGetTableLocalSecondaryIndexOutputWithContext(ctx context.Context) GetTableLocalSecondaryIndexOutput
type GetTablePointInTimeRecovery ¶
type GetTablePointInTimeRecovery struct {
Enabled bool `pulumi:"enabled"`
}
type GetTablePointInTimeRecoveryArgs ¶
func (GetTablePointInTimeRecoveryArgs) ElementType ¶
func (GetTablePointInTimeRecoveryArgs) ElementType() reflect.Type
func (GetTablePointInTimeRecoveryArgs) ToGetTablePointInTimeRecoveryOutput ¶
func (i GetTablePointInTimeRecoveryArgs) ToGetTablePointInTimeRecoveryOutput() GetTablePointInTimeRecoveryOutput
func (GetTablePointInTimeRecoveryArgs) ToGetTablePointInTimeRecoveryOutputWithContext ¶
func (i GetTablePointInTimeRecoveryArgs) ToGetTablePointInTimeRecoveryOutputWithContext(ctx context.Context) GetTablePointInTimeRecoveryOutput
type GetTablePointInTimeRecoveryInput ¶
type GetTablePointInTimeRecoveryInput interface { pulumi.Input ToGetTablePointInTimeRecoveryOutput() GetTablePointInTimeRecoveryOutput ToGetTablePointInTimeRecoveryOutputWithContext(context.Context) GetTablePointInTimeRecoveryOutput }
GetTablePointInTimeRecoveryInput is an input type that accepts GetTablePointInTimeRecoveryArgs and GetTablePointInTimeRecoveryOutput values. You can construct a concrete instance of `GetTablePointInTimeRecoveryInput` via:
GetTablePointInTimeRecoveryArgs{...}
type GetTablePointInTimeRecoveryOutput ¶
type GetTablePointInTimeRecoveryOutput struct{ *pulumi.OutputState }
func (GetTablePointInTimeRecoveryOutput) ElementType ¶
func (GetTablePointInTimeRecoveryOutput) ElementType() reflect.Type
func (GetTablePointInTimeRecoveryOutput) Enabled ¶
func (o GetTablePointInTimeRecoveryOutput) Enabled() pulumi.BoolOutput
func (GetTablePointInTimeRecoveryOutput) ToGetTablePointInTimeRecoveryOutput ¶
func (o GetTablePointInTimeRecoveryOutput) ToGetTablePointInTimeRecoveryOutput() GetTablePointInTimeRecoveryOutput
func (GetTablePointInTimeRecoveryOutput) ToGetTablePointInTimeRecoveryOutputWithContext ¶
func (o GetTablePointInTimeRecoveryOutput) ToGetTablePointInTimeRecoveryOutputWithContext(ctx context.Context) GetTablePointInTimeRecoveryOutput
type GetTableReplica ¶
type GetTableReplica struct {
RegionName string `pulumi:"regionName"`
}
type GetTableReplicaArgs ¶
type GetTableReplicaArgs struct {
RegionName pulumi.StringInput `pulumi:"regionName"`
}
func (GetTableReplicaArgs) ElementType ¶
func (GetTableReplicaArgs) ElementType() reflect.Type
func (GetTableReplicaArgs) ToGetTableReplicaOutput ¶
func (i GetTableReplicaArgs) ToGetTableReplicaOutput() GetTableReplicaOutput
func (GetTableReplicaArgs) ToGetTableReplicaOutputWithContext ¶
func (i GetTableReplicaArgs) ToGetTableReplicaOutputWithContext(ctx context.Context) GetTableReplicaOutput
type GetTableReplicaArray ¶
type GetTableReplicaArray []GetTableReplicaInput
func (GetTableReplicaArray) ElementType ¶
func (GetTableReplicaArray) ElementType() reflect.Type
func (GetTableReplicaArray) ToGetTableReplicaArrayOutput ¶
func (i GetTableReplicaArray) ToGetTableReplicaArrayOutput() GetTableReplicaArrayOutput
func (GetTableReplicaArray) ToGetTableReplicaArrayOutputWithContext ¶
func (i GetTableReplicaArray) ToGetTableReplicaArrayOutputWithContext(ctx context.Context) GetTableReplicaArrayOutput
type GetTableReplicaArrayInput ¶
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 ¶
type GetTableReplicaArrayOutput struct{ *pulumi.OutputState }
func (GetTableReplicaArrayOutput) ElementType ¶
func (GetTableReplicaArrayOutput) ElementType() reflect.Type
func (GetTableReplicaArrayOutput) Index ¶
func (o GetTableReplicaArrayOutput) Index(i pulumi.IntInput) GetTableReplicaOutput
func (GetTableReplicaArrayOutput) ToGetTableReplicaArrayOutput ¶
func (o GetTableReplicaArrayOutput) ToGetTableReplicaArrayOutput() GetTableReplicaArrayOutput
func (GetTableReplicaArrayOutput) ToGetTableReplicaArrayOutputWithContext ¶
func (o GetTableReplicaArrayOutput) ToGetTableReplicaArrayOutputWithContext(ctx context.Context) GetTableReplicaArrayOutput
type GetTableReplicaInput ¶
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 ¶
type GetTableReplicaOutput struct{ *pulumi.OutputState }
func (GetTableReplicaOutput) ElementType ¶
func (GetTableReplicaOutput) ElementType() reflect.Type
func (GetTableReplicaOutput) RegionName ¶
func (o GetTableReplicaOutput) RegionName() pulumi.StringOutput
func (GetTableReplicaOutput) ToGetTableReplicaOutput ¶
func (o GetTableReplicaOutput) ToGetTableReplicaOutput() GetTableReplicaOutput
func (GetTableReplicaOutput) ToGetTableReplicaOutputWithContext ¶
func (o GetTableReplicaOutput) ToGetTableReplicaOutputWithContext(ctx context.Context) GetTableReplicaOutput
type GetTableServerSideEncryptionArgs ¶
type GetTableServerSideEncryptionArgs struct { Enabled pulumi.BoolInput `pulumi:"enabled"` KmsKeyArn pulumi.StringInput `pulumi:"kmsKeyArn"` }
func (GetTableServerSideEncryptionArgs) ElementType ¶
func (GetTableServerSideEncryptionArgs) ElementType() reflect.Type
func (GetTableServerSideEncryptionArgs) ToGetTableServerSideEncryptionOutput ¶
func (i GetTableServerSideEncryptionArgs) ToGetTableServerSideEncryptionOutput() GetTableServerSideEncryptionOutput
func (GetTableServerSideEncryptionArgs) ToGetTableServerSideEncryptionOutputWithContext ¶
func (i GetTableServerSideEncryptionArgs) ToGetTableServerSideEncryptionOutputWithContext(ctx context.Context) GetTableServerSideEncryptionOutput
type GetTableServerSideEncryptionInput ¶
type GetTableServerSideEncryptionInput interface { pulumi.Input ToGetTableServerSideEncryptionOutput() GetTableServerSideEncryptionOutput ToGetTableServerSideEncryptionOutputWithContext(context.Context) GetTableServerSideEncryptionOutput }
GetTableServerSideEncryptionInput is an input type that accepts GetTableServerSideEncryptionArgs and GetTableServerSideEncryptionOutput values. You can construct a concrete instance of `GetTableServerSideEncryptionInput` via:
GetTableServerSideEncryptionArgs{...}
type GetTableServerSideEncryptionOutput ¶
type GetTableServerSideEncryptionOutput struct{ *pulumi.OutputState }
func (GetTableServerSideEncryptionOutput) ElementType ¶
func (GetTableServerSideEncryptionOutput) ElementType() reflect.Type
func (GetTableServerSideEncryptionOutput) Enabled ¶
func (o GetTableServerSideEncryptionOutput) Enabled() pulumi.BoolOutput
func (GetTableServerSideEncryptionOutput) KmsKeyArn ¶
func (o GetTableServerSideEncryptionOutput) KmsKeyArn() pulumi.StringOutput
func (GetTableServerSideEncryptionOutput) ToGetTableServerSideEncryptionOutput ¶
func (o GetTableServerSideEncryptionOutput) ToGetTableServerSideEncryptionOutput() GetTableServerSideEncryptionOutput
func (GetTableServerSideEncryptionOutput) ToGetTableServerSideEncryptionOutputWithContext ¶
func (o GetTableServerSideEncryptionOutput) ToGetTableServerSideEncryptionOutputWithContext(ctx context.Context) GetTableServerSideEncryptionOutput
type GetTableTtl ¶
type GetTableTtlArgs ¶
type GetTableTtlArgs struct { AttributeName pulumi.StringInput `pulumi:"attributeName"` Enabled pulumi.BoolInput `pulumi:"enabled"` }
func (GetTableTtlArgs) ElementType ¶
func (GetTableTtlArgs) ElementType() reflect.Type
func (GetTableTtlArgs) ToGetTableTtlOutput ¶
func (i GetTableTtlArgs) ToGetTableTtlOutput() GetTableTtlOutput
func (GetTableTtlArgs) ToGetTableTtlOutputWithContext ¶
func (i GetTableTtlArgs) ToGetTableTtlOutputWithContext(ctx context.Context) GetTableTtlOutput
type GetTableTtlInput ¶
type GetTableTtlInput interface { pulumi.Input ToGetTableTtlOutput() GetTableTtlOutput ToGetTableTtlOutputWithContext(context.Context) GetTableTtlOutput }
GetTableTtlInput is an input type that accepts GetTableTtlArgs and GetTableTtlOutput values. You can construct a concrete instance of `GetTableTtlInput` via:
GetTableTtlArgs{...}
type GetTableTtlOutput ¶
type GetTableTtlOutput struct{ *pulumi.OutputState }
func (GetTableTtlOutput) AttributeName ¶
func (o GetTableTtlOutput) AttributeName() pulumi.StringOutput
func (GetTableTtlOutput) ElementType ¶
func (GetTableTtlOutput) ElementType() reflect.Type
func (GetTableTtlOutput) Enabled ¶
func (o GetTableTtlOutput) Enabled() pulumi.BoolOutput
func (GetTableTtlOutput) ToGetTableTtlOutput ¶
func (o GetTableTtlOutput) ToGetTableTtlOutput() GetTableTtlOutput
func (GetTableTtlOutput) ToGetTableTtlOutputWithContext ¶
func (o GetTableTtlOutput) ToGetTableTtlOutputWithContext(ctx context.Context) GetTableTtlOutput
type GlobalTable ¶
type GlobalTable struct { pulumi.CustomResourceState // The ARN of the DynamoDB Global Table Arn pulumi.StringOutput `pulumi:"arn"` // The name of the global table. Must match underlying DynamoDB Table names in all regions. Name pulumi.StringOutput `pulumi:"name"` // Underlying DynamoDB Table. At least 1 replica must be defined. See below. Replicas GlobalTableReplicaArrayOutput `pulumi:"replicas"` }
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 ¶
func GetGlobalTable(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GlobalTableState, opts ...pulumi.ResourceOption) (*GlobalTable, error)
GetGlobalTable gets an existing GlobalTable resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewGlobalTable ¶
func NewGlobalTable(ctx *pulumi.Context, name string, args *GlobalTableArgs, opts ...pulumi.ResourceOption) (*GlobalTable, error)
NewGlobalTable registers a new resource with the given unique name, arguments, and options.
type GlobalTableArgs ¶
type GlobalTableArgs struct { // The name of the global table. Must match underlying DynamoDB Table names in all regions. Name pulumi.StringPtrInput // Underlying DynamoDB Table. At least 1 replica must be defined. See below. Replicas GlobalTableReplicaArrayInput }
The set of arguments for constructing a GlobalTable resource.
func (GlobalTableArgs) ElementType ¶
func (GlobalTableArgs) ElementType() reflect.Type
type GlobalTableReplica ¶
type GlobalTableReplica struct { // AWS region name of replica DynamoDB Table. e.g. `us-east-1` RegionName string `pulumi:"regionName"` }
type GlobalTableReplicaArgs ¶
type GlobalTableReplicaArgs struct { // AWS region name of replica DynamoDB Table. e.g. `us-east-1` RegionName pulumi.StringInput `pulumi:"regionName"` }
func (GlobalTableReplicaArgs) ElementType ¶
func (GlobalTableReplicaArgs) ElementType() reflect.Type
func (GlobalTableReplicaArgs) ToGlobalTableReplicaOutput ¶
func (i GlobalTableReplicaArgs) ToGlobalTableReplicaOutput() GlobalTableReplicaOutput
func (GlobalTableReplicaArgs) ToGlobalTableReplicaOutputWithContext ¶
func (i GlobalTableReplicaArgs) ToGlobalTableReplicaOutputWithContext(ctx context.Context) GlobalTableReplicaOutput
type GlobalTableReplicaArray ¶
type GlobalTableReplicaArray []GlobalTableReplicaInput
func (GlobalTableReplicaArray) ElementType ¶
func (GlobalTableReplicaArray) ElementType() reflect.Type
func (GlobalTableReplicaArray) ToGlobalTableReplicaArrayOutput ¶
func (i GlobalTableReplicaArray) ToGlobalTableReplicaArrayOutput() GlobalTableReplicaArrayOutput
func (GlobalTableReplicaArray) ToGlobalTableReplicaArrayOutputWithContext ¶
func (i GlobalTableReplicaArray) ToGlobalTableReplicaArrayOutputWithContext(ctx context.Context) GlobalTableReplicaArrayOutput
type GlobalTableReplicaArrayInput ¶
type GlobalTableReplicaArrayInput interface { pulumi.Input ToGlobalTableReplicaArrayOutput() GlobalTableReplicaArrayOutput ToGlobalTableReplicaArrayOutputWithContext(context.Context) GlobalTableReplicaArrayOutput }
GlobalTableReplicaArrayInput is an input type that accepts GlobalTableReplicaArray and GlobalTableReplicaArrayOutput values. You can construct a concrete instance of `GlobalTableReplicaArrayInput` via:
GlobalTableReplicaArray{ GlobalTableReplicaArgs{...} }
type GlobalTableReplicaArrayOutput ¶
type GlobalTableReplicaArrayOutput struct{ *pulumi.OutputState }
func (GlobalTableReplicaArrayOutput) ElementType ¶
func (GlobalTableReplicaArrayOutput) ElementType() reflect.Type
func (GlobalTableReplicaArrayOutput) Index ¶
func (o GlobalTableReplicaArrayOutput) Index(i pulumi.IntInput) GlobalTableReplicaOutput
func (GlobalTableReplicaArrayOutput) ToGlobalTableReplicaArrayOutput ¶
func (o GlobalTableReplicaArrayOutput) ToGlobalTableReplicaArrayOutput() GlobalTableReplicaArrayOutput
func (GlobalTableReplicaArrayOutput) ToGlobalTableReplicaArrayOutputWithContext ¶
func (o GlobalTableReplicaArrayOutput) ToGlobalTableReplicaArrayOutputWithContext(ctx context.Context) GlobalTableReplicaArrayOutput
type GlobalTableReplicaInput ¶
type GlobalTableReplicaInput interface { pulumi.Input ToGlobalTableReplicaOutput() GlobalTableReplicaOutput ToGlobalTableReplicaOutputWithContext(context.Context) GlobalTableReplicaOutput }
GlobalTableReplicaInput is an input type that accepts GlobalTableReplicaArgs and GlobalTableReplicaOutput values. You can construct a concrete instance of `GlobalTableReplicaInput` via:
GlobalTableReplicaArgs{...}
type GlobalTableReplicaOutput ¶
type GlobalTableReplicaOutput struct{ *pulumi.OutputState }
func (GlobalTableReplicaOutput) ElementType ¶
func (GlobalTableReplicaOutput) ElementType() reflect.Type
func (GlobalTableReplicaOutput) RegionName ¶
func (o GlobalTableReplicaOutput) RegionName() pulumi.StringOutput
AWS region name of replica DynamoDB Table. e.g. `us-east-1`
func (GlobalTableReplicaOutput) ToGlobalTableReplicaOutput ¶
func (o GlobalTableReplicaOutput) ToGlobalTableReplicaOutput() GlobalTableReplicaOutput
func (GlobalTableReplicaOutput) ToGlobalTableReplicaOutputWithContext ¶
func (o GlobalTableReplicaOutput) ToGlobalTableReplicaOutputWithContext(ctx context.Context) GlobalTableReplicaOutput
type GlobalTableState ¶
type GlobalTableState struct { // The ARN of the DynamoDB Global Table Arn pulumi.StringPtrInput // The name of the global table. Must match underlying DynamoDB Table names in all regions. Name pulumi.StringPtrInput // Underlying DynamoDB Table. At least 1 replica must be defined. See below. Replicas GlobalTableReplicaArrayInput }
func (GlobalTableState) ElementType ¶
func (GlobalTableState) ElementType() reflect.Type
type LookupTableArgs ¶
type LookupTableArgs struct { // The name of the DynamoDB table. Name string `pulumi:"name"` ServerSideEncryption *GetTableServerSideEncryption `pulumi:"serverSideEncryption"` Tags map[string]string `pulumi:"tags"` }
A collection of arguments for invoking getTable.
type LookupTableResult ¶
type LookupTableResult struct { Arn string `pulumi:"arn"` Attributes []GetTableAttribute `pulumi:"attributes"` BillingMode string `pulumi:"billingMode"` GlobalSecondaryIndexes []GetTableGlobalSecondaryIndex `pulumi:"globalSecondaryIndexes"` HashKey string `pulumi:"hashKey"` // 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 ¶
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 ¶
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 ¶
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).
type TableArgs ¶
type TableArgs struct { // List of nested attribute definitions. Only required for `hashKey` and `rangeKey` attributes. Each attribute has two properties: Attributes TableAttributeArrayInput // Controls how you are charged for read and write throughput and how you manage capacity. The valid values are `PROVISIONED` and `PAY_PER_REQUEST`. Defaults to `PROVISIONED`. BillingMode pulumi.StringPtrInput // Describe a GSI for the table; // subject to the normal limits on the number of GSIs, projected // attributes, etc. GlobalSecondaryIndexes TableGlobalSecondaryIndexArrayInput // The name of the hash key in the index; must be // defined as an attribute in the resource. HashKey pulumi.StringInput // Describe an LSI on the table; // these can only be allocated *at creation* so you cannot change this // definition after you have created the resource. LocalSecondaryIndexes TableLocalSecondaryIndexArrayInput // The name of the index Name pulumi.StringPtrInput // Point-in-time recovery options. PointInTimeRecovery TablePointInTimeRecoveryPtrInput // The name of the range key; must be defined RangeKey pulumi.StringPtrInput // The number of read units for this index. Must be set if billingMode is set to PROVISIONED. ReadCapacity pulumi.IntPtrInput // 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 ¶
type TableAttribute ¶
type TableAttributeArgs ¶
type TableAttributeArgs struct { // The name of the index Name pulumi.StringInput `pulumi:"name"` // Attribute type, which must be a scalar type: `S`, `N`, or `B` for (S)tring, (N)umber or (B)inary data Type pulumi.StringInput `pulumi:"type"` }
func (TableAttributeArgs) ElementType ¶
func (TableAttributeArgs) ElementType() reflect.Type
func (TableAttributeArgs) ToTableAttributeOutput ¶
func (i TableAttributeArgs) ToTableAttributeOutput() TableAttributeOutput
func (TableAttributeArgs) ToTableAttributeOutputWithContext ¶
func (i TableAttributeArgs) ToTableAttributeOutputWithContext(ctx context.Context) TableAttributeOutput
type TableAttributeArray ¶
type TableAttributeArray []TableAttributeInput
func (TableAttributeArray) ElementType ¶
func (TableAttributeArray) ElementType() reflect.Type
func (TableAttributeArray) ToTableAttributeArrayOutput ¶
func (i TableAttributeArray) ToTableAttributeArrayOutput() TableAttributeArrayOutput
func (TableAttributeArray) ToTableAttributeArrayOutputWithContext ¶
func (i TableAttributeArray) ToTableAttributeArrayOutputWithContext(ctx context.Context) TableAttributeArrayOutput
type TableAttributeArrayInput ¶
type TableAttributeArrayInput interface { pulumi.Input ToTableAttributeArrayOutput() TableAttributeArrayOutput ToTableAttributeArrayOutputWithContext(context.Context) TableAttributeArrayOutput }
TableAttributeArrayInput is an input type that accepts TableAttributeArray and TableAttributeArrayOutput values. You can construct a concrete instance of `TableAttributeArrayInput` via:
TableAttributeArray{ TableAttributeArgs{...} }
type TableAttributeArrayOutput ¶
type TableAttributeArrayOutput struct{ *pulumi.OutputState }
func (TableAttributeArrayOutput) ElementType ¶
func (TableAttributeArrayOutput) ElementType() reflect.Type
func (TableAttributeArrayOutput) Index ¶
func (o TableAttributeArrayOutput) Index(i pulumi.IntInput) TableAttributeOutput
func (TableAttributeArrayOutput) ToTableAttributeArrayOutput ¶
func (o TableAttributeArrayOutput) ToTableAttributeArrayOutput() TableAttributeArrayOutput
func (TableAttributeArrayOutput) ToTableAttributeArrayOutputWithContext ¶
func (o TableAttributeArrayOutput) ToTableAttributeArrayOutputWithContext(ctx context.Context) TableAttributeArrayOutput
type TableAttributeInput ¶
type TableAttributeInput interface { pulumi.Input ToTableAttributeOutput() TableAttributeOutput ToTableAttributeOutputWithContext(context.Context) TableAttributeOutput }
TableAttributeInput is an input type that accepts TableAttributeArgs and TableAttributeOutput values. You can construct a concrete instance of `TableAttributeInput` via:
TableAttributeArgs{...}
type TableAttributeOutput ¶
type TableAttributeOutput struct{ *pulumi.OutputState }
func (TableAttributeOutput) ElementType ¶
func (TableAttributeOutput) ElementType() reflect.Type
func (TableAttributeOutput) Name ¶
func (o TableAttributeOutput) Name() pulumi.StringOutput
The name of the index
func (TableAttributeOutput) ToTableAttributeOutput ¶
func (o TableAttributeOutput) ToTableAttributeOutput() TableAttributeOutput
func (TableAttributeOutput) ToTableAttributeOutputWithContext ¶
func (o TableAttributeOutput) ToTableAttributeOutputWithContext(ctx context.Context) TableAttributeOutput
func (TableAttributeOutput) Type ¶
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 ¶
type TableGlobalSecondaryIndex struct { // The name of the hash key in the index; must be // defined as an attribute in the resource. HashKey string `pulumi:"hashKey"` // The name of the index Name string `pulumi:"name"` // Only required with `INCLUDE` as a // projection type; a list of attributes to project into the index. These // do not need to be defined as attributes on the table. NonKeyAttributes []string `pulumi:"nonKeyAttributes"` // One of `ALL`, `INCLUDE` or `KEYS_ONLY` // where `ALL` projects every attribute into the index, `KEYS_ONLY` // projects just the hash and range key into the index, and `INCLUDE` // projects only the keys specified in the _non_key_attributes_ // parameter. ProjectionType string `pulumi:"projectionType"` // The name of the range key; must be defined RangeKey *string `pulumi:"rangeKey"` // The number of read units for this index. Must be set if billingMode is set to PROVISIONED. ReadCapacity *int `pulumi:"readCapacity"` // The number of write units for this index. Must be set if billingMode is set to PROVISIONED. WriteCapacity *int `pulumi:"writeCapacity"` }
type TableGlobalSecondaryIndexArgs ¶
type TableGlobalSecondaryIndexArgs struct { // The name of the hash key in the index; must be // defined as an attribute in the resource. HashKey pulumi.StringInput `pulumi:"hashKey"` // The name of the index Name pulumi.StringInput `pulumi:"name"` // Only required with `INCLUDE` as a // projection type; a list of attributes to project into the index. These // do not need to be defined as attributes on the table. NonKeyAttributes pulumi.StringArrayInput `pulumi:"nonKeyAttributes"` // One of `ALL`, `INCLUDE` or `KEYS_ONLY` // where `ALL` projects every attribute into the index, `KEYS_ONLY` // projects just the hash and range key into the index, and `INCLUDE` // projects only the keys specified in the _non_key_attributes_ // parameter. ProjectionType pulumi.StringInput `pulumi:"projectionType"` // The name of the range key; must be defined RangeKey pulumi.StringPtrInput `pulumi:"rangeKey"` // The number of read units for this index. Must be set if billingMode is set to PROVISIONED. ReadCapacity pulumi.IntPtrInput `pulumi:"readCapacity"` // The number of write units for this index. Must be set if billingMode is set to PROVISIONED. WriteCapacity pulumi.IntPtrInput `pulumi:"writeCapacity"` }
func (TableGlobalSecondaryIndexArgs) ElementType ¶
func (TableGlobalSecondaryIndexArgs) ElementType() reflect.Type
func (TableGlobalSecondaryIndexArgs) ToTableGlobalSecondaryIndexOutput ¶
func (i TableGlobalSecondaryIndexArgs) ToTableGlobalSecondaryIndexOutput() TableGlobalSecondaryIndexOutput
func (TableGlobalSecondaryIndexArgs) ToTableGlobalSecondaryIndexOutputWithContext ¶
func (i TableGlobalSecondaryIndexArgs) ToTableGlobalSecondaryIndexOutputWithContext(ctx context.Context) TableGlobalSecondaryIndexOutput
type TableGlobalSecondaryIndexArray ¶
type TableGlobalSecondaryIndexArray []TableGlobalSecondaryIndexInput
func (TableGlobalSecondaryIndexArray) ElementType ¶
func (TableGlobalSecondaryIndexArray) ElementType() reflect.Type
func (TableGlobalSecondaryIndexArray) ToTableGlobalSecondaryIndexArrayOutput ¶
func (i TableGlobalSecondaryIndexArray) ToTableGlobalSecondaryIndexArrayOutput() TableGlobalSecondaryIndexArrayOutput
func (TableGlobalSecondaryIndexArray) ToTableGlobalSecondaryIndexArrayOutputWithContext ¶
func (i TableGlobalSecondaryIndexArray) ToTableGlobalSecondaryIndexArrayOutputWithContext(ctx context.Context) TableGlobalSecondaryIndexArrayOutput
type TableGlobalSecondaryIndexArrayInput ¶
type TableGlobalSecondaryIndexArrayInput interface { pulumi.Input ToTableGlobalSecondaryIndexArrayOutput() TableGlobalSecondaryIndexArrayOutput ToTableGlobalSecondaryIndexArrayOutputWithContext(context.Context) TableGlobalSecondaryIndexArrayOutput }
TableGlobalSecondaryIndexArrayInput is an input type that accepts TableGlobalSecondaryIndexArray and TableGlobalSecondaryIndexArrayOutput values. You can construct a concrete instance of `TableGlobalSecondaryIndexArrayInput` via:
TableGlobalSecondaryIndexArray{ TableGlobalSecondaryIndexArgs{...} }
type TableGlobalSecondaryIndexArrayOutput ¶
type TableGlobalSecondaryIndexArrayOutput struct{ *pulumi.OutputState }
func (TableGlobalSecondaryIndexArrayOutput) ElementType ¶
func (TableGlobalSecondaryIndexArrayOutput) ElementType() reflect.Type
func (TableGlobalSecondaryIndexArrayOutput) Index ¶
func (o TableGlobalSecondaryIndexArrayOutput) Index(i pulumi.IntInput) TableGlobalSecondaryIndexOutput
func (TableGlobalSecondaryIndexArrayOutput) ToTableGlobalSecondaryIndexArrayOutput ¶
func (o TableGlobalSecondaryIndexArrayOutput) ToTableGlobalSecondaryIndexArrayOutput() TableGlobalSecondaryIndexArrayOutput
func (TableGlobalSecondaryIndexArrayOutput) ToTableGlobalSecondaryIndexArrayOutputWithContext ¶
func (o TableGlobalSecondaryIndexArrayOutput) ToTableGlobalSecondaryIndexArrayOutputWithContext(ctx context.Context) TableGlobalSecondaryIndexArrayOutput
type TableGlobalSecondaryIndexInput ¶
type TableGlobalSecondaryIndexInput interface { pulumi.Input ToTableGlobalSecondaryIndexOutput() TableGlobalSecondaryIndexOutput ToTableGlobalSecondaryIndexOutputWithContext(context.Context) TableGlobalSecondaryIndexOutput }
TableGlobalSecondaryIndexInput is an input type that accepts TableGlobalSecondaryIndexArgs and TableGlobalSecondaryIndexOutput values. You can construct a concrete instance of `TableGlobalSecondaryIndexInput` via:
TableGlobalSecondaryIndexArgs{...}
type TableGlobalSecondaryIndexOutput ¶
type TableGlobalSecondaryIndexOutput struct{ *pulumi.OutputState }
func (TableGlobalSecondaryIndexOutput) ElementType ¶
func (TableGlobalSecondaryIndexOutput) ElementType() reflect.Type
func (TableGlobalSecondaryIndexOutput) HashKey ¶
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 ¶
func (o TableGlobalSecondaryIndexOutput) Name() pulumi.StringOutput
The name of the index
func (TableGlobalSecondaryIndexOutput) NonKeyAttributes ¶
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 ¶
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 ¶
func (o TableGlobalSecondaryIndexOutput) RangeKey() pulumi.StringPtrOutput
The name of the range key; must be defined
func (TableGlobalSecondaryIndexOutput) ReadCapacity ¶
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 ¶
func (o TableGlobalSecondaryIndexOutput) ToTableGlobalSecondaryIndexOutput() TableGlobalSecondaryIndexOutput
func (TableGlobalSecondaryIndexOutput) ToTableGlobalSecondaryIndexOutputWithContext ¶
func (o TableGlobalSecondaryIndexOutput) ToTableGlobalSecondaryIndexOutputWithContext(ctx context.Context) TableGlobalSecondaryIndexOutput
func (TableGlobalSecondaryIndexOutput) WriteCapacity ¶
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 ¶
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 ¶
func GetTableItem(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TableItemState, opts ...pulumi.ResourceOption) (*TableItem, error)
GetTableItem gets an existing TableItem resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTableItem ¶
func NewTableItem(ctx *pulumi.Context, name string, args *TableItemArgs, opts ...pulumi.ResourceOption) (*TableItem, error)
NewTableItem registers a new resource with the given unique name, arguments, and options.
type TableItemArgs ¶
type TableItemArgs struct { // Hash key to use for lookups and identification of the item HashKey pulumi.StringInput // JSON representation of a map of attribute name/value pairs, one for each attribute. // Only the primary key attributes are required; you can optionally provide other attribute name-value pairs for the item. Item pulumi.StringInput // Range key to use for lookups and identification of the item. Required if there is range key defined in the table. RangeKey pulumi.StringPtrInput // The name of the table to contain the item. TableName pulumi.StringInput }
The set of arguments for constructing a TableItem resource.
func (TableItemArgs) ElementType ¶
func (TableItemArgs) ElementType() reflect.Type
type TableItemState ¶
type TableItemState struct { // Hash key to use for lookups and identification of the item HashKey pulumi.StringPtrInput // JSON representation of a map of attribute name/value pairs, one for each attribute. // Only the primary key attributes are required; you can optionally provide other attribute name-value pairs for the item. Item pulumi.StringPtrInput // Range key to use for lookups and identification of the item. Required if there is range key defined in the table. RangeKey pulumi.StringPtrInput // The name of the table to contain the item. TableName pulumi.StringPtrInput }
func (TableItemState) ElementType ¶
func (TableItemState) ElementType() reflect.Type
type TableLocalSecondaryIndex ¶
type TableLocalSecondaryIndex struct { // The name of the index Name string `pulumi:"name"` // Only required with `INCLUDE` as a // projection type; a list of attributes to project into the index. These // do not need to be defined as attributes on the table. NonKeyAttributes []string `pulumi:"nonKeyAttributes"` // One of `ALL`, `INCLUDE` or `KEYS_ONLY` // where `ALL` projects every attribute into the index, `KEYS_ONLY` // projects just the hash and range key into the index, and `INCLUDE` // projects only the keys specified in the _non_key_attributes_ // parameter. ProjectionType string `pulumi:"projectionType"` // The name of the range key; must be defined RangeKey string `pulumi:"rangeKey"` }
type TableLocalSecondaryIndexArgs ¶
type TableLocalSecondaryIndexArgs struct { // The name of the index Name pulumi.StringInput `pulumi:"name"` // Only required with `INCLUDE` as a // projection type; a list of attributes to project into the index. These // do not need to be defined as attributes on the table. NonKeyAttributes pulumi.StringArrayInput `pulumi:"nonKeyAttributes"` // One of `ALL`, `INCLUDE` or `KEYS_ONLY` // where `ALL` projects every attribute into the index, `KEYS_ONLY` // projects just the hash and range key into the index, and `INCLUDE` // projects only the keys specified in the _non_key_attributes_ // parameter. ProjectionType pulumi.StringInput `pulumi:"projectionType"` // The name of the range key; must be defined RangeKey pulumi.StringInput `pulumi:"rangeKey"` }
func (TableLocalSecondaryIndexArgs) ElementType ¶
func (TableLocalSecondaryIndexArgs) ElementType() reflect.Type
func (TableLocalSecondaryIndexArgs) ToTableLocalSecondaryIndexOutput ¶
func (i TableLocalSecondaryIndexArgs) ToTableLocalSecondaryIndexOutput() TableLocalSecondaryIndexOutput
func (TableLocalSecondaryIndexArgs) ToTableLocalSecondaryIndexOutputWithContext ¶
func (i TableLocalSecondaryIndexArgs) ToTableLocalSecondaryIndexOutputWithContext(ctx context.Context) TableLocalSecondaryIndexOutput
type TableLocalSecondaryIndexArray ¶
type TableLocalSecondaryIndexArray []TableLocalSecondaryIndexInput
func (TableLocalSecondaryIndexArray) ElementType ¶
func (TableLocalSecondaryIndexArray) ElementType() reflect.Type
func (TableLocalSecondaryIndexArray) ToTableLocalSecondaryIndexArrayOutput ¶
func (i TableLocalSecondaryIndexArray) ToTableLocalSecondaryIndexArrayOutput() TableLocalSecondaryIndexArrayOutput
func (TableLocalSecondaryIndexArray) ToTableLocalSecondaryIndexArrayOutputWithContext ¶
func (i TableLocalSecondaryIndexArray) ToTableLocalSecondaryIndexArrayOutputWithContext(ctx context.Context) TableLocalSecondaryIndexArrayOutput
type TableLocalSecondaryIndexArrayInput ¶
type TableLocalSecondaryIndexArrayInput interface { pulumi.Input ToTableLocalSecondaryIndexArrayOutput() TableLocalSecondaryIndexArrayOutput ToTableLocalSecondaryIndexArrayOutputWithContext(context.Context) TableLocalSecondaryIndexArrayOutput }
TableLocalSecondaryIndexArrayInput is an input type that accepts TableLocalSecondaryIndexArray and TableLocalSecondaryIndexArrayOutput values. You can construct a concrete instance of `TableLocalSecondaryIndexArrayInput` via:
TableLocalSecondaryIndexArray{ TableLocalSecondaryIndexArgs{...} }
type TableLocalSecondaryIndexArrayOutput ¶
type TableLocalSecondaryIndexArrayOutput struct{ *pulumi.OutputState }
func (TableLocalSecondaryIndexArrayOutput) ElementType ¶
func (TableLocalSecondaryIndexArrayOutput) ElementType() reflect.Type
func (TableLocalSecondaryIndexArrayOutput) Index ¶
func (o TableLocalSecondaryIndexArrayOutput) Index(i pulumi.IntInput) TableLocalSecondaryIndexOutput
func (TableLocalSecondaryIndexArrayOutput) ToTableLocalSecondaryIndexArrayOutput ¶
func (o TableLocalSecondaryIndexArrayOutput) ToTableLocalSecondaryIndexArrayOutput() TableLocalSecondaryIndexArrayOutput
func (TableLocalSecondaryIndexArrayOutput) ToTableLocalSecondaryIndexArrayOutputWithContext ¶
func (o TableLocalSecondaryIndexArrayOutput) ToTableLocalSecondaryIndexArrayOutputWithContext(ctx context.Context) TableLocalSecondaryIndexArrayOutput
type TableLocalSecondaryIndexInput ¶
type TableLocalSecondaryIndexInput interface { pulumi.Input ToTableLocalSecondaryIndexOutput() TableLocalSecondaryIndexOutput ToTableLocalSecondaryIndexOutputWithContext(context.Context) TableLocalSecondaryIndexOutput }
TableLocalSecondaryIndexInput is an input type that accepts TableLocalSecondaryIndexArgs and TableLocalSecondaryIndexOutput values. You can construct a concrete instance of `TableLocalSecondaryIndexInput` via:
TableLocalSecondaryIndexArgs{...}
type TableLocalSecondaryIndexOutput ¶
type TableLocalSecondaryIndexOutput struct{ *pulumi.OutputState }
func (TableLocalSecondaryIndexOutput) ElementType ¶
func (TableLocalSecondaryIndexOutput) ElementType() reflect.Type
func (TableLocalSecondaryIndexOutput) Name ¶
func (o TableLocalSecondaryIndexOutput) Name() pulumi.StringOutput
The name of the index
func (TableLocalSecondaryIndexOutput) NonKeyAttributes ¶
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 ¶
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 ¶
func (o TableLocalSecondaryIndexOutput) RangeKey() pulumi.StringOutput
The name of the range key; must be defined
func (TableLocalSecondaryIndexOutput) ToTableLocalSecondaryIndexOutput ¶
func (o TableLocalSecondaryIndexOutput) ToTableLocalSecondaryIndexOutput() TableLocalSecondaryIndexOutput
func (TableLocalSecondaryIndexOutput) ToTableLocalSecondaryIndexOutputWithContext ¶
func (o TableLocalSecondaryIndexOutput) ToTableLocalSecondaryIndexOutputWithContext(ctx context.Context) TableLocalSecondaryIndexOutput
type TablePointInTimeRecovery ¶
type TablePointInTimeRecovery struct { // Indicates whether ttl is enabled (true) or disabled (false). Enabled bool `pulumi:"enabled"` }
type TablePointInTimeRecoveryArgs ¶
type TablePointInTimeRecoveryArgs struct { // Indicates whether ttl is enabled (true) or disabled (false). Enabled pulumi.BoolInput `pulumi:"enabled"` }
func (TablePointInTimeRecoveryArgs) ElementType ¶
func (TablePointInTimeRecoveryArgs) ElementType() reflect.Type
func (TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryOutput ¶
func (i TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryOutput() TablePointInTimeRecoveryOutput
func (TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryOutputWithContext ¶
func (i TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryOutputWithContext(ctx context.Context) TablePointInTimeRecoveryOutput
func (TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryPtrOutput ¶
func (i TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryPtrOutput() TablePointInTimeRecoveryPtrOutput
func (TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryPtrOutputWithContext ¶
func (i TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryPtrOutputWithContext(ctx context.Context) TablePointInTimeRecoveryPtrOutput
type TablePointInTimeRecoveryInput ¶
type TablePointInTimeRecoveryInput interface { pulumi.Input ToTablePointInTimeRecoveryOutput() TablePointInTimeRecoveryOutput ToTablePointInTimeRecoveryOutputWithContext(context.Context) TablePointInTimeRecoveryOutput }
TablePointInTimeRecoveryInput is an input type that accepts TablePointInTimeRecoveryArgs and TablePointInTimeRecoveryOutput values. You can construct a concrete instance of `TablePointInTimeRecoveryInput` via:
TablePointInTimeRecoveryArgs{...}
type TablePointInTimeRecoveryOutput ¶
type TablePointInTimeRecoveryOutput struct{ *pulumi.OutputState }
func (TablePointInTimeRecoveryOutput) ElementType ¶
func (TablePointInTimeRecoveryOutput) ElementType() reflect.Type
func (TablePointInTimeRecoveryOutput) Enabled ¶
func (o TablePointInTimeRecoveryOutput) Enabled() pulumi.BoolOutput
Indicates whether ttl is enabled (true) or disabled (false).
func (TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryOutput ¶
func (o TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryOutput() TablePointInTimeRecoveryOutput
func (TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryOutputWithContext ¶
func (o TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryOutputWithContext(ctx context.Context) TablePointInTimeRecoveryOutput
func (TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryPtrOutput ¶
func (o TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryPtrOutput() TablePointInTimeRecoveryPtrOutput
func (TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryPtrOutputWithContext ¶
func (o TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryPtrOutputWithContext(ctx context.Context) TablePointInTimeRecoveryPtrOutput
type TablePointInTimeRecoveryPtrInput ¶
type TablePointInTimeRecoveryPtrInput interface { pulumi.Input ToTablePointInTimeRecoveryPtrOutput() TablePointInTimeRecoveryPtrOutput ToTablePointInTimeRecoveryPtrOutputWithContext(context.Context) TablePointInTimeRecoveryPtrOutput }
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 ¶
func TablePointInTimeRecoveryPtr(v *TablePointInTimeRecoveryArgs) TablePointInTimeRecoveryPtrInput
type TablePointInTimeRecoveryPtrOutput ¶
type TablePointInTimeRecoveryPtrOutput struct{ *pulumi.OutputState }
func (TablePointInTimeRecoveryPtrOutput) Elem ¶
func (o TablePointInTimeRecoveryPtrOutput) Elem() TablePointInTimeRecoveryOutput
func (TablePointInTimeRecoveryPtrOutput) ElementType ¶
func (TablePointInTimeRecoveryPtrOutput) ElementType() reflect.Type
func (TablePointInTimeRecoveryPtrOutput) Enabled ¶
func (o TablePointInTimeRecoveryPtrOutput) Enabled() pulumi.BoolPtrOutput
Indicates whether ttl is enabled (true) or disabled (false).
func (TablePointInTimeRecoveryPtrOutput) ToTablePointInTimeRecoveryPtrOutput ¶
func (o TablePointInTimeRecoveryPtrOutput) ToTablePointInTimeRecoveryPtrOutput() TablePointInTimeRecoveryPtrOutput
func (TablePointInTimeRecoveryPtrOutput) ToTablePointInTimeRecoveryPtrOutputWithContext ¶
func (o TablePointInTimeRecoveryPtrOutput) ToTablePointInTimeRecoveryPtrOutputWithContext(ctx context.Context) TablePointInTimeRecoveryPtrOutput
type TableReplica ¶
type TableReplica struct { // Region name of the replica. RegionName string `pulumi:"regionName"` }
type TableReplicaArgs ¶
type TableReplicaArgs struct { // Region name of the replica. RegionName pulumi.StringInput `pulumi:"regionName"` }
func (TableReplicaArgs) ElementType ¶
func (TableReplicaArgs) ElementType() reflect.Type
func (TableReplicaArgs) ToTableReplicaOutput ¶
func (i TableReplicaArgs) ToTableReplicaOutput() TableReplicaOutput
func (TableReplicaArgs) ToTableReplicaOutputWithContext ¶
func (i TableReplicaArgs) ToTableReplicaOutputWithContext(ctx context.Context) TableReplicaOutput
type TableReplicaArray ¶
type TableReplicaArray []TableReplicaInput
func (TableReplicaArray) ElementType ¶
func (TableReplicaArray) ElementType() reflect.Type
func (TableReplicaArray) ToTableReplicaArrayOutput ¶
func (i TableReplicaArray) ToTableReplicaArrayOutput() TableReplicaArrayOutput
func (TableReplicaArray) ToTableReplicaArrayOutputWithContext ¶
func (i TableReplicaArray) ToTableReplicaArrayOutputWithContext(ctx context.Context) TableReplicaArrayOutput
type TableReplicaArrayInput ¶
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 ¶
type TableReplicaArrayOutput struct{ *pulumi.OutputState }
func (TableReplicaArrayOutput) ElementType ¶
func (TableReplicaArrayOutput) ElementType() reflect.Type
func (TableReplicaArrayOutput) Index ¶
func (o TableReplicaArrayOutput) Index(i pulumi.IntInput) TableReplicaOutput
func (TableReplicaArrayOutput) ToTableReplicaArrayOutput ¶
func (o TableReplicaArrayOutput) ToTableReplicaArrayOutput() TableReplicaArrayOutput
func (TableReplicaArrayOutput) ToTableReplicaArrayOutputWithContext ¶
func (o TableReplicaArrayOutput) ToTableReplicaArrayOutputWithContext(ctx context.Context) TableReplicaArrayOutput
type TableReplicaInput ¶
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 ¶
type TableReplicaOutput struct{ *pulumi.OutputState }
func (TableReplicaOutput) ElementType ¶
func (TableReplicaOutput) ElementType() reflect.Type
func (TableReplicaOutput) RegionName ¶
func (o TableReplicaOutput) RegionName() pulumi.StringOutput
Region name of the replica.
func (TableReplicaOutput) ToTableReplicaOutput ¶
func (o TableReplicaOutput) ToTableReplicaOutput() TableReplicaOutput
func (TableReplicaOutput) ToTableReplicaOutputWithContext ¶
func (o TableReplicaOutput) ToTableReplicaOutputWithContext(ctx context.Context) TableReplicaOutput
type TableServerSideEncryption ¶
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 ¶
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 ¶
func (TableServerSideEncryptionArgs) ElementType() reflect.Type
func (TableServerSideEncryptionArgs) ToTableServerSideEncryptionOutput ¶
func (i TableServerSideEncryptionArgs) ToTableServerSideEncryptionOutput() TableServerSideEncryptionOutput
func (TableServerSideEncryptionArgs) ToTableServerSideEncryptionOutputWithContext ¶
func (i TableServerSideEncryptionArgs) ToTableServerSideEncryptionOutputWithContext(ctx context.Context) TableServerSideEncryptionOutput
func (TableServerSideEncryptionArgs) ToTableServerSideEncryptionPtrOutput ¶
func (i TableServerSideEncryptionArgs) ToTableServerSideEncryptionPtrOutput() TableServerSideEncryptionPtrOutput
func (TableServerSideEncryptionArgs) ToTableServerSideEncryptionPtrOutputWithContext ¶
func (i TableServerSideEncryptionArgs) ToTableServerSideEncryptionPtrOutputWithContext(ctx context.Context) TableServerSideEncryptionPtrOutput
type TableServerSideEncryptionInput ¶
type TableServerSideEncryptionInput interface { pulumi.Input ToTableServerSideEncryptionOutput() TableServerSideEncryptionOutput ToTableServerSideEncryptionOutputWithContext(context.Context) TableServerSideEncryptionOutput }
TableServerSideEncryptionInput is an input type that accepts TableServerSideEncryptionArgs and TableServerSideEncryptionOutput values. You can construct a concrete instance of `TableServerSideEncryptionInput` via:
TableServerSideEncryptionArgs{...}
type TableServerSideEncryptionOutput ¶
type TableServerSideEncryptionOutput struct{ *pulumi.OutputState }
func (TableServerSideEncryptionOutput) ElementType ¶
func (TableServerSideEncryptionOutput) ElementType() reflect.Type
func (TableServerSideEncryptionOutput) Enabled ¶
func (o TableServerSideEncryptionOutput) Enabled() pulumi.BoolOutput
Indicates whether ttl is enabled (true) or disabled (false).
func (TableServerSideEncryptionOutput) KmsKeyArn ¶
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 ¶
func (o TableServerSideEncryptionOutput) ToTableServerSideEncryptionOutput() TableServerSideEncryptionOutput
func (TableServerSideEncryptionOutput) ToTableServerSideEncryptionOutputWithContext ¶
func (o TableServerSideEncryptionOutput) ToTableServerSideEncryptionOutputWithContext(ctx context.Context) TableServerSideEncryptionOutput
func (TableServerSideEncryptionOutput) ToTableServerSideEncryptionPtrOutput ¶
func (o TableServerSideEncryptionOutput) ToTableServerSideEncryptionPtrOutput() TableServerSideEncryptionPtrOutput
func (TableServerSideEncryptionOutput) ToTableServerSideEncryptionPtrOutputWithContext ¶
func (o TableServerSideEncryptionOutput) ToTableServerSideEncryptionPtrOutputWithContext(ctx context.Context) TableServerSideEncryptionPtrOutput
type TableServerSideEncryptionPtrInput ¶
type TableServerSideEncryptionPtrInput interface { pulumi.Input ToTableServerSideEncryptionPtrOutput() TableServerSideEncryptionPtrOutput ToTableServerSideEncryptionPtrOutputWithContext(context.Context) TableServerSideEncryptionPtrOutput }
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 ¶
func TableServerSideEncryptionPtr(v *TableServerSideEncryptionArgs) TableServerSideEncryptionPtrInput
type TableServerSideEncryptionPtrOutput ¶
type TableServerSideEncryptionPtrOutput struct{ *pulumi.OutputState }
func (TableServerSideEncryptionPtrOutput) Elem ¶
func (o TableServerSideEncryptionPtrOutput) Elem() TableServerSideEncryptionOutput
func (TableServerSideEncryptionPtrOutput) ElementType ¶
func (TableServerSideEncryptionPtrOutput) ElementType() reflect.Type
func (TableServerSideEncryptionPtrOutput) Enabled ¶
func (o TableServerSideEncryptionPtrOutput) Enabled() pulumi.BoolPtrOutput
Indicates whether ttl is enabled (true) or disabled (false).
func (TableServerSideEncryptionPtrOutput) KmsKeyArn ¶
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 ¶
func (o TableServerSideEncryptionPtrOutput) ToTableServerSideEncryptionPtrOutput() TableServerSideEncryptionPtrOutput
func (TableServerSideEncryptionPtrOutput) ToTableServerSideEncryptionPtrOutputWithContext ¶
func (o TableServerSideEncryptionPtrOutput) ToTableServerSideEncryptionPtrOutputWithContext(ctx context.Context) TableServerSideEncryptionPtrOutput
type TableState ¶
type TableState struct { // The arn of the table Arn pulumi.StringPtrInput // List of nested attribute definitions. Only required for `hashKey` and `rangeKey` attributes. Each attribute has two properties: Attributes TableAttributeArrayInput // Controls how you are charged for read and write throughput and how you manage capacity. The valid values are `PROVISIONED` and `PAY_PER_REQUEST`. Defaults to `PROVISIONED`. BillingMode pulumi.StringPtrInput // Describe a GSI for the table; // subject to the normal limits on the number of GSIs, projected // attributes, etc. GlobalSecondaryIndexes TableGlobalSecondaryIndexArrayInput // The name of the hash key in the index; must be // defined as an attribute in the resource. HashKey pulumi.StringPtrInput // Describe an LSI on the table; // these can only be allocated *at creation* so you cannot change this // definition after you have created the resource. LocalSecondaryIndexes TableLocalSecondaryIndexArrayInput // The name of the index Name pulumi.StringPtrInput // Point-in-time recovery options. PointInTimeRecovery TablePointInTimeRecoveryPtrInput // The name of the range key; must be defined RangeKey pulumi.StringPtrInput // The number of read units for this index. Must be set if billingMode is set to PROVISIONED. ReadCapacity pulumi.IntPtrInput // 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 ¶
func (TableState) ElementType() reflect.Type
type TableTtlArgs ¶
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 ¶
func (TableTtlArgs) ElementType() reflect.Type
func (TableTtlArgs) ToTableTtlOutput ¶
func (i TableTtlArgs) ToTableTtlOutput() TableTtlOutput
func (TableTtlArgs) ToTableTtlOutputWithContext ¶
func (i TableTtlArgs) ToTableTtlOutputWithContext(ctx context.Context) TableTtlOutput
func (TableTtlArgs) ToTableTtlPtrOutput ¶
func (i TableTtlArgs) ToTableTtlPtrOutput() TableTtlPtrOutput
func (TableTtlArgs) ToTableTtlPtrOutputWithContext ¶
func (i TableTtlArgs) ToTableTtlPtrOutputWithContext(ctx context.Context) TableTtlPtrOutput
type TableTtlInput ¶
type TableTtlInput interface { pulumi.Input ToTableTtlOutput() TableTtlOutput ToTableTtlOutputWithContext(context.Context) TableTtlOutput }
TableTtlInput is an input type that accepts TableTtlArgs and TableTtlOutput values. You can construct a concrete instance of `TableTtlInput` via:
TableTtlArgs{...}
type TableTtlOutput ¶
type TableTtlOutput struct{ *pulumi.OutputState }
func (TableTtlOutput) AttributeName ¶
func (o TableTtlOutput) AttributeName() pulumi.StringOutput
The name of the table attribute to store the TTL timestamp in.
func (TableTtlOutput) ElementType ¶
func (TableTtlOutput) ElementType() reflect.Type
func (TableTtlOutput) Enabled ¶
func (o TableTtlOutput) Enabled() pulumi.BoolPtrOutput
Indicates whether ttl is enabled (true) or disabled (false).
func (TableTtlOutput) ToTableTtlOutput ¶
func (o TableTtlOutput) ToTableTtlOutput() TableTtlOutput
func (TableTtlOutput) ToTableTtlOutputWithContext ¶
func (o TableTtlOutput) ToTableTtlOutputWithContext(ctx context.Context) TableTtlOutput
func (TableTtlOutput) ToTableTtlPtrOutput ¶
func (o TableTtlOutput) ToTableTtlPtrOutput() TableTtlPtrOutput
func (TableTtlOutput) ToTableTtlPtrOutputWithContext ¶
func (o TableTtlOutput) ToTableTtlPtrOutputWithContext(ctx context.Context) TableTtlPtrOutput
type TableTtlPtrInput ¶
type TableTtlPtrInput interface { pulumi.Input ToTableTtlPtrOutput() TableTtlPtrOutput ToTableTtlPtrOutputWithContext(context.Context) TableTtlPtrOutput }
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 ¶
func TableTtlPtr(v *TableTtlArgs) TableTtlPtrInput
type TableTtlPtrOutput ¶
type TableTtlPtrOutput struct{ *pulumi.OutputState }
func (TableTtlPtrOutput) AttributeName ¶
func (o TableTtlPtrOutput) AttributeName() pulumi.StringPtrOutput
The name of the table attribute to store the TTL timestamp in.
func (TableTtlPtrOutput) Elem ¶
func (o TableTtlPtrOutput) Elem() TableTtlOutput
func (TableTtlPtrOutput) ElementType ¶
func (TableTtlPtrOutput) ElementType() reflect.Type
func (TableTtlPtrOutput) Enabled ¶
func (o TableTtlPtrOutput) Enabled() pulumi.BoolPtrOutput
Indicates whether ttl is enabled (true) or disabled (false).
func (TableTtlPtrOutput) ToTableTtlPtrOutput ¶
func (o TableTtlPtrOutput) ToTableTtlPtrOutput() TableTtlPtrOutput
func (TableTtlPtrOutput) ToTableTtlPtrOutputWithContext ¶
func (o TableTtlPtrOutput) ToTableTtlPtrOutputWithContext(ctx context.Context) TableTtlPtrOutput