Class TableState
Inherited Members
Namespace: Pulumi.Aws.DynamoDB
Assembly: Pulumi.Aws.dll
Syntax
public sealed class TableState : ResourceArgs
Constructors
View SourceTableState()
Declaration
public TableState()
Properties
View SourceArn
The arn of the table
Declaration
public Input<string> Arn { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Attributes
List of nested attribute definitions. Only required for hash_key and range_key attributes. Each attribute has two properties:
Declaration
public InputList<TableAttributeGetArgs> Attributes { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<TableAttributeGetArgs> |
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<TableGlobalSecondaryIndexGetArgs> GlobalSecondaryIndexes { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<TableGlobalSecondaryIndexGetArgs> |
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<TableLocalSecondaryIndexGetArgs> LocalSecondaryIndexes { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<TableLocalSecondaryIndexGetArgs> |
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<TablePointInTimeRecoveryGetArgs> PointInTimeRecovery { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<TablePointInTimeRecoveryGetArgs> |
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<TableReplicaGetArgs> Replicas { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<TableReplicaGetArgs> |
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<TableServerSideEncryptionGetArgs> ServerSideEncryption { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<TableServerSideEncryptionGetArgs> |
StreamArn
The ARN of the Table Stream. Only available when stream_enabled = true
Declaration
public Input<string> StreamArn { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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> |
StreamLabel
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 stream_enabled = true
Declaration
public Input<string> StreamLabel { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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<TableTtlGetArgs> Ttl { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<TableTtlGetArgs> |
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> |