Overview
Use the DynamoDB component to represent and visualize NoSQL, serverless, managed databases in your Amazon Web Services architecture.
Use the toolbar to configure the component. Available options include:
- Color: Select a fill color for the body of the component and an accent color for its symbol. You can use the same colors for both the 2D and 3D views, or choose different colors for each.
- Table class: Select the class of the DynamoDB table.
- Capacity mode: Select the capacity mode of the DynamoDB table.
- Dataset (GiB): Enter the size of the dataset in GiB.
- Read units: Enter the number of read capacity units.
- Write units: Enter the number of write capacity units.
- Read consistency: Select the read consistency of the DynamoDB table.
API
Use the Cloudcraft API to programmatically access and render your architecture diagrams as JSON objects.
Schema
The following is an example JSON object of a DynamoDB component:
{
"type": "dynamodb",
"id": "29c1f0fa-3f1c-4566-ad33-ae307feee4f0-0",
"region": "us-east-1",
"mapPos": [39,148],
"tableClass": "standard",
"capacityMode": "on-demand",
"datasetGb": 0,
"readUnits": 0,
"writeUnits": 0,
"readConsistency": "strong",
"color": {
"isometric": "#ececed",
"2d": "#ececed"
},
"accentColor": {
"isometric": "#4286c5",
"2d": "#4286c5"
},
"link": "https://aws.amazon.com/dynamodb/",
"locked": true
}
- type: string: The component type. Must be
dynamodb
. - id: string, uuid: The unique identifier for the component. Typically a UUID v4.
- arn: string: The Amazon Resource Name (ARN) for the component.
- region: string: The AWS region for the component. All global regions are supported, except for AWS China.
- mapPos: array: The component’s position in the blueprint, defined as an
[x, y]
coordinate pair. - tableClass: string: The class of the DynamoDB table. Accepts
standard
or standardInfrequentAccess
. Defaults to standard
. - capacityMode: string: The capacity mode of the DynamoDB table. Accepts
provisioned
or on-demand
. Defaults to provisioned
. - datasetGb: number: The size of the dataset in GiB. Defaults to
10
. - readUnits: number: The number of read capacity units. Defaults to
5
. - writeUnits: number: The number of write capacity units. Defaults to
5
. - readConsistency: string: The read consistency of the DynamoDB table. Accepts
strong
or eventual
. Defaults to strong
. - color: object: The fill color for the component body.
- isometric: string: A hexadecimal color for the component body in the 3D view. Defaults to
#ECECED
. - 2d: string: A hexadecimal color for the component body in the 2D view. Defaults to
#ECECED
.
- accentColor: object: The accent color for the component logo.
- isometric: string: A hexadecimal color for the component logo in the 3D view. Defaults to
#4286C5
. - 2d: string: A hexadecimal color for the component logo in the 2D view. Defaults to
#4286C5
.
- link: string, uri: A URI that links the component to another diagram or an external website. Accepts the following formats:
blueprint://
or https://
. - locked: boolean: Whether to allow changes to the position of the component through the web interface. Defaults to
false
.