Class TableArgs
Inherited Members
Namespace: Pulumi.Aws.DynamoDB
Assembly: Pulumi.Aws.dll
Syntax
public sealed class TableArgs : ResourceArgs
Constructors
View SourceTableArgs()
Declaration
public TableArgs()
Properties
View SourceAttributes
List of nested attribute definitions. Only required for hash_key and range_key attributes. Each attribute has two properties:
Declaration
public InputList<TableAttributeArgs> Attributes { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<TableAttributeArgs> |
BillingMode
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.
Declaration
public Input<string> BillingMode { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
GlobalSecondaryIndexes
Describe a GSI for the table; subject to the normal limits on the number of GSIs, projected attributes, etc.
Declaration
public InputList<TableGlobalSecondaryIndexArgs> GlobalSecondaryIndexes { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<TableGlobalSecondaryIndexArgs> |
HashKey
The name of the hash key in the index; must be defined as an attribute in the resource.
Declaration
public Input<string> HashKey { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
LocalSecondaryIndexes
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.
Declaration
public InputList<TableLocalSecondaryIndexArgs> LocalSecondaryIndexes { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<TableLocalSecondaryIndexArgs> |
Name
The name of the index
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PointInTimeRecovery
Point-in-time recovery options.
Declaration
public Input<TablePointInTimeRecoveryArgs> PointInTimeRecovery { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<TablePointInTimeRecoveryArgs> |
RangeKey
The name of the range key; must be defined
Declaration
public Input<string> RangeKey { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ReadCapacity
The number of read units for this index. Must be set if billing_mode is set to PROVISIONED.
Declaration
public Input<int> ReadCapacity { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Replicas
Configuration block(s) with DynamoDB Global Tables V2 (version 2019.11.21) replication configurations. Detailed below.
Declaration
public InputList<TableReplicaArgs> Replicas { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<TableReplicaArgs> |
ServerSideEncryption
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.
Declaration
public Input<TableServerSideEncryptionArgs> ServerSideEncryption { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<TableServerSideEncryptionArgs> |
StreamEnabled
Indicates whether Streams are to be enabled (true) or disabled (false).
Declaration
public Input<bool> StreamEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
StreamViewType
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.
Declaration
public Input<string> StreamViewType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Tags
A map of tags to populate on the created table.
Declaration
public InputMap<object> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |
Ttl
Defines ttl, has two properties, and can only be specified once:
Declaration
public Input<TableTtlArgs> Ttl { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<TableTtlArgs> |
WriteCapacity
The number of write units for this index. Must be set if billing_mode is set to PROVISIONED.
Declaration
public Input<int> WriteCapacity { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |