You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| attributes | List of nested attribute definitions. Only required for hash\_key and range\_key attributes. Each attribute has two properties: name - (Required) The name of the attribute, type - (Required) Attribute type, which must be a scalar type: S, N, or B for (S)tring, (N)umber or (B)inary data |`list(map(string))`|`[]`| no |
77
-
| autoscaling\_defaults | A map of default autoscaling settings |`map(string)`| <pre>{<br> "scale_in_cooldown": 0,<br> "scale_out_cooldown": 0,<br> "target_value": 70<br>}</pre> | no |
78
-
| autoscaling\_indexes | A map of index autoscaling configurations. See example in examples/autoscaling |`map(map(string))`|`{}`| no |
79
-
| autoscaling\_read | A map of read autoscaling settings. `max_capacity` is the only required key. See example in examples/autoscaling |`map(string)`|`{}`| no |
80
-
| autoscaling\_write | A map of write autoscaling settings. `max_capacity` is the only required key. See example in examples/autoscaling |`map(string)`|`{}`| no |
81
-
| billing\_mode | Controls how you are billed for read/write throughput and how you manage capacity. The valid values are PROVISIONED or PAY\_PER\_REQUEST |`string`|`"PAY_PER_REQUEST"`| no |
82
-
| create\_table | Controls if DynamoDB table and associated resources are created |`bool`|`true`| no |
83
-
| global\_secondary\_indexes | Describe a GSI for the table; subject to the normal limits on the number of GSIs, projected attributes, etc. |`any`|`[]`| no |
84
-
| hash\_key | The attribute to use as the hash (partition) key. Must also be defined as an attribute |`string`|`null`| no |
85
-
| local\_secondary\_indexes | 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. |`any`|`[]`| no |
86
-
| name | Name of the DynamoDB table |`string`|`null`| no |
87
-
| point\_in\_time\_recovery\_enabled | Whether to enable point-in-time recovery |`bool`|`false`| no |
88
-
| range\_key | The attribute to use as the range (sort) key. Must also be defined as an attribute |`string`|`null`| no |
89
-
| read\_capacity | The number of read units for this table. If the billing\_mode is PROVISIONED, this field should be greater than 0 |`number`|`null`| no |
90
-
| replica\_regions | Region names for creating replicas for a global DynamoDB table. |`list(string)`|`[]`| no |
91
-
| server\_side\_encryption\_enabled | Whether or not to enable encryption at rest using an AWS managed KMS customer master key (CMK) |`bool`|`false`| no |
92
-
| server\_side\_encryption\_kms\_key\_arn | 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. |`string`|`null`| no |
93
-
| stream\_enabled | Indicates whether Streams are to be enabled (true) or disabled (false). |`bool`|`false`| no |
94
-
| stream\_view\_type | 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. |`string`|`null`| no |
95
-
| tags | A map of tags to add to all resources |`map(string)`|`{}`| no |
| ttl\_attribute\_name | The name of the table attribute to store the TTL timestamp in |`string`|`""`| no |
98
-
| ttl\_enabled | Indicates whether ttl is enabled |`bool`|`false`| no |
99
-
| write\_capacity | The number of write units for this table. If the billing\_mode is PROVISIONED, this field should be greater than 0 |`number`|`null`| no |
82
+
|<aname="input_attributes"></a> [attributes](#input\_attributes)| List of nested attribute definitions. Only required for hash\_key and range\_key attributes. Each attribute has two properties: name - (Required) The name of the attribute, type - (Required) Attribute type, which must be a scalar type: S, N, or B for (S)tring, (N)umber or (B)inary data |`list(map(string))`|`[]`| no |
83
+
|<aname="input_autoscaling_defaults"></a> [autoscaling\_defaults](#input\_autoscaling\_defaults)| A map of default autoscaling settings |`map(string)`| <pre>{<br> "scale_in_cooldown": 0,<br> "scale_out_cooldown": 0,<br> "target_value": 70<br>}</pre> | no |
84
+
|<aname="input_autoscaling_indexes"></a> [autoscaling\_indexes](#input\_autoscaling\_indexes)| A map of index autoscaling configurations. See example in examples/autoscaling |`map(map(string))`|`{}`| no |
85
+
|<aname="input_autoscaling_read"></a> [autoscaling\_read](#input\_autoscaling\_read)| A map of read autoscaling settings. `max_capacity` is the only required key. See example in examples/autoscaling |`map(string)`|`{}`| no |
86
+
|<aname="input_autoscaling_write"></a> [autoscaling\_write](#input\_autoscaling\_write)| A map of write autoscaling settings. `max_capacity` is the only required key. See example in examples/autoscaling |`map(string)`|`{}`| no |
87
+
|<aname="input_billing_mode"></a> [billing\_mode](#input\_billing\_mode)| Controls how you are billed for read/write throughput and how you manage capacity. The valid values are PROVISIONED or PAY\_PER\_REQUEST |`string`|`"PAY_PER_REQUEST"`| no |
88
+
|<aname="input_create_table"></a> [create\_table](#input\_create\_table)| Controls if DynamoDB table and associated resources are created |`bool`|`true`| no |
89
+
|<aname="input_global_secondary_indexes"></a> [global\_secondary\_indexes](#input\_global\_secondary\_indexes)| Describe a GSI for the table; subject to the normal limits on the number of GSIs, projected attributes, etc. |`any`|`[]`| no |
90
+
|<aname="input_hash_key"></a> [hash\_key](#input\_hash\_key)| The attribute to use as the hash (partition) key. Must also be defined as an attribute |`string`|`null`| no |
91
+
|<aname="input_local_secondary_indexes"></a> [local\_secondary\_indexes](#input\_local\_secondary\_indexes)| 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. |`any`|`[]`| no |
92
+
|<aname="input_name"></a> [name](#input\_name)| Name of the DynamoDB table |`string`|`null`| no |
93
+
|<aname="input_point_in_time_recovery_enabled"></a> [point\_in\_time\_recovery\_enabled](#input\_point\_in\_time\_recovery\_enabled)| Whether to enable point-in-time recovery |`bool`|`false`| no |
94
+
|<aname="input_range_key"></a> [range\_key](#input\_range\_key)| The attribute to use as the range (sort) key. Must also be defined as an attribute |`string`|`null`| no |
95
+
|<aname="input_read_capacity"></a> [read\_capacity](#input\_read\_capacity)| The number of read units for this table. If the billing\_mode is PROVISIONED, this field should be greater than 0 |`number`|`null`| no |
96
+
|<aname="input_replica_regions"></a> [replica\_regions](#input\_replica\_regions)| Region names for creating replicas for a global DynamoDB table. |`list(string)`|`[]`| no |
97
+
|<aname="input_server_side_encryption_enabled"></a> [server\_side\_encryption\_enabled](#input\_server\_side\_encryption\_enabled)| Whether or not to enable encryption at rest using an AWS managed KMS customer master key (CMK) |`bool`|`false`| no |
98
+
|<aname="input_server_side_encryption_kms_key_arn"></a> [server\_side\_encryption\_kms\_key\_arn](#input\_server\_side\_encryption\_kms\_key\_arn)| 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. |`string`|`null`| no |
99
+
|<aname="input_stream_enabled"></a> [stream\_enabled](#input\_stream\_enabled)| Indicates whether Streams are to be enabled (true) or disabled (false). |`bool`|`false`| no |
100
+
|<aname="input_stream_view_type"></a> [stream\_view\_type](#input\_stream\_view\_type)| 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. |`string`|`null`| no |
101
+
|<aname="input_tags"></a> [tags](#input\_tags)| A map of tags to add to all resources |`map(string)`|`{}`| no |
|<aname="input_ttl_attribute_name"></a> [ttl\_attribute\_name](#input\_ttl\_attribute\_name)| The name of the table attribute to store the TTL timestamp in |`string`|`""`| no |
104
+
|<aname="input_ttl_enabled"></a> [ttl\_enabled](#input\_ttl\_enabled)| Indicates whether ttl is enabled |`bool`|`false`| no |
105
+
|<aname="input_write_capacity"></a> [write\_capacity](#input\_write\_capacity)| The number of write units for this table. If the billing\_mode is PROVISIONED, this field should be greater than 0 |`number`|`null`| no |
100
106
101
107
## Outputs
102
108
103
109
| Name | Description |
104
110
|------|-------------|
105
-
| this\_dynamodb\_table\_arn | ARN of the DynamoDB table |
106
-
| this\_dynamodb\_table\_id | ID of the DynamoDB table |
107
-
| this\_dynamodb\_table\_stream\_arn | The ARN of the Table Stream. Only available when var.stream\_enabled is true |
108
-
| this\_dynamodb\_table\_stream\_label | A timestamp, in ISO 8601 format of the Table Stream. Only available when var.stream\_enabled is true |
111
+
|<aname="output_this_dynamodb_table_arn"></a> [this\_dynamodb\_table\_arn](#output\_this\_dynamodb\_table\_arn)| ARN of the DynamoDB table |
112
+
|<aname="output_this_dynamodb_table_id"></a> [this\_dynamodb\_table\_id](#output\_this\_dynamodb\_table\_id)| ID of the DynamoDB table |
113
+
|<aname="output_this_dynamodb_table_stream_arn"></a> [this\_dynamodb\_table\_stream\_arn](#output\_this\_dynamodb\_table\_stream\_arn)| The ARN of the Table Stream. Only available when var.stream\_enabled is true |
114
+
|<aname="output_this_dynamodb_table_stream_label"></a> [this\_dynamodb\_table\_stream\_label](#output\_this\_dynamodb\_table\_stream\_label)| A timestamp, in ISO 8601 format of the Table Stream. Only available when var.stream\_enabled is true |
| this\_dynamodb\_table\_arn | ARN of the DynamoDB table |
54
-
| this\_dynamodb\_table\_id | ID of the DynamoDB table |
55
-
| this\_dynamodb\_table\_stream\_arn | The ARN of the Table Stream. Only available when var.stream\_enabled is true |
56
-
| this\_dynamodb\_table\_stream\_label | A timestamp, in ISO 8601 format of the Table Stream. Only available when var.stream\_enabled is true |
53
+
|<aname="output_this_dynamodb_table_arn"></a> [this\_dynamodb\_table\_arn](#output\_this\_dynamodb\_table\_arn)| ARN of the DynamoDB table |
54
+
|<aname="output_this_dynamodb_table_id"></a> [this\_dynamodb\_table\_id](#output\_this\_dynamodb\_table\_id)| ID of the DynamoDB table |
55
+
|<aname="output_this_dynamodb_table_stream_arn"></a> [this\_dynamodb\_table\_stream\_arn](#output\_this\_dynamodb\_table\_stream\_arn)| The ARN of the Table Stream. Only available when var.stream\_enabled is true |
56
+
|<aname="output_this_dynamodb_table_stream_label"></a> [this\_dynamodb\_table\_stream\_label](#output\_this\_dynamodb\_table\_stream\_label)| A timestamp, in ISO 8601 format of the Table Stream. Only available when var.stream\_enabled is true |
| this\_dynamodb\_table\_arn | ARN of the DynamoDB table |
54
-
| this\_dynamodb\_table\_id | ID of the DynamoDB table |
55
-
| this\_dynamodb\_table\_stream\_arn | The ARN of the Table Stream. Only available when var.stream\_enabled is true |
56
-
| this\_dynamodb\_table\_stream\_label | A timestamp, in ISO 8601 format of the Table Stream. Only available when var.stream\_enabled is true |
53
+
|<aname="output_this_dynamodb_table_arn"></a> [this\_dynamodb\_table\_arn](#output\_this\_dynamodb\_table\_arn)| ARN of the DynamoDB table |
54
+
|<aname="output_this_dynamodb_table_id"></a> [this\_dynamodb\_table\_id](#output\_this\_dynamodb\_table\_id)| ID of the DynamoDB table |
55
+
|<aname="output_this_dynamodb_table_stream_arn"></a> [this\_dynamodb\_table\_stream\_arn](#output\_this\_dynamodb\_table\_stream\_arn)| The ARN of the Table Stream. Only available when var.stream\_enabled is true |
56
+
|<aname="output_this_dynamodb_table_stream_label"></a> [this\_dynamodb\_table\_stream\_label](#output\_this\_dynamodb\_table\_stream\_label)| A timestamp, in ISO 8601 format of the Table Stream. Only available when var.stream\_enabled is true |
0 commit comments