DynamoDB Table
Serverless NoSQL key-value table.
Configuration
Section titled “Configuration”| Setting | Type | Required | Default |
|---|---|---|---|
| Table name | Text | Yes | — |
| Partition key | Text | Yes | pk |
| Partition key type Options: String (S), Number (N), Binary (B) | Choice | — | S |
| Sort key | Text | — | — |
| Sort key type Options: String (S), Number (N), Binary (B) | Choice | — | S |
| Billing mode Options: On-demand, Provisioned | Choice | — | PAY_PER_REQUEST |
| Read capacity (provisioned) | Number | — | — |
| Write capacity (provisioned) | Number | — | — |
| Stream view type Options: Disabled, KEYS_ONLY, NEW_IMAGE, OLD_IMAGE, NEW_AND_OLD_IMAGES | Choice | — | — |
| Point-in-time recovery | Toggle | — | false |
| TTL attribute name | Text | — | — |
| Table class Options: STANDARD, STANDARD_INFREQUENT_ACCESS | Choice | — | STANDARD |
| Deletion protection | Toggle | — | false |
| KMS key ARN (encryption) | Text | — | — |
| Customer-managed SSE | Toggle | — | false |
| Tags | Key–value | — | — |
Connections
Section titled “Connections”| Socket | Direction | Accepts | Terraform arg |
|---|---|---|---|
| Encryption KMS key | Input | aws.kms-key | server_side_encryption.kms_key_arn |
| Client | Input | any | — |
| Streamed by | Output | aws.appsync-datasource, aws.lambda-event-source-mapping | — |