DynamoDB Table
Add a DynamoDB Table resource to your Altostra project
The DynamoDB Table resource creates a DynamoDB table.
To add a DynamoDB Table resource in the designer, go to "Database" and select the
"DynamoDB Table" resource, or search "dynamo" in the search box:

Add a new DynamoDB Table

Name:
type: string
| required
- Altostra will use the name for generating a logical ID:
- Only strict alpha-numeric characters will be used (by the restrictions of CFN)
- If no alpha-numeric characters were used in the name, the logical ID will be generated by the resource type.
Primary Key:
type: string
| required
- The name of the primary key attribute.
- A hash key is treated as the primary key. Single attribute primary keys have one index value.
Primary Key Type:
type: string
|default: String
| required
- The type of the primary-key attribute.
- Allowed values:
- String
- Number
- Binary
Secondary Key:
type: string
| optional
- The name of the secondary key attribute.
- A range key element is treated as a secondary key (used in conjunction with the primary key), and is only used for hash-and-range primary keys.
Secondary Key Type:
type: string
|default: String
| optional
- The type of the primary-key attribute.
- Allowed values:
- String
- Number
- Binary
Billing Model:
type: string
|default: Pay Per Request
| required
- Specify how you are charged for read and write throughput and how you manage capacity.
- Allowed values:
- Pay Per Request: DynamoDB on-demand offers pay-per-request pricing for read and write requests so that you pay only for what you use.
- Provisioned: Specify the number of reads and writes per second that you require for your application.
Read Capacity:
type: integer
|default: 5
| required if billing model isProvisioned
- The maximum number of strongly consistent reads consumed per second before DynamoDB
returns a
ThrottlingException
.
For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.
Write Capacity:
type: integer
|default: 5
| required if billing model isProvisioned
- The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException
.
For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.
TTL Attribute Name:
type: string
| optional
- The name of the TTL attribute used to store the expiration time for items in the table.
For more information, see Time To Live in the Amazon DynamoDB Developer Guide.
Point-in-Time Recovery:
type: toggle
- Indicates whether point in time recovery is enabled or disabled on the table.
For more information, see Point-in-time recovery for DynamoDB in the Amazon DynamoDB Developer Guide.
Indices:
Use add and remove indices from the DynamoDB table.

Index Name:
type: string
| required
- The name of the global secondary index.
- The name must be unique among all other indexes on this table.
- Minimum:
3
- Maximum:
255
- Pattern:
[a-zA-Z0-9_.-]+
Primary Key:
type: string
| required
- The name of the primary key attribute of the index.
Primary Key Type:
type: string
|default: String
| required
- The type of the primary-key attribute of the index.
- Allowed values:
- String
- Number
- Binary
Secondary Key:
type: string
| optional
- The name of the secondary key attribute of the index.
Secondary Key Type:
type: string
|default: String
| optional
- The type of the primary-key attribute of the index.
- Allowed values:
- String
- Number
- Binary
Projection Type:
type: string
|default: All
| required
- Specified the set of attributes that are projected into the index.
- Allowed values:
- All
- All of the table attributes are projected into the index.
- Keys
- Only the index and table's keys are projected into the index.
- Include
- Specify which attributes the secondary index will include, in addition to the attributes described in
Keys
.
- Specify which attributes the secondary index will include, in addition to the attributes described in
- All
Projected Fields
type: string
| required if projected type isInclude
- Specify a comma-separated-list of the attributes that are projected to the index in addition to the Key attributes.
DynamoDB Table connections

The DynamoDB Table can connect to the following resources:
- Compute
- Lambda Function