Component: DynamoDB

DynamoDB component

The DynamoDB component is used to represent NoSQL document database from your Amazon Web Services architecture with Cloudcraft.

Toolbar

The toolbar is displayed when selecting a component. It allows you to customize parts of your component and its visual to your liking.

  • Colors. Select a predefined color or enter the hexadecimal value of the color for the component and its accent. The component can use the same color for both 2D and 3D view, or different colors for each.
  • Capacity mode. Select the capacity mode for the DynamoDB instance.
  • Dataset (GiB). Amount of storage used by the database, in gibibytes.
  • Read units. Number of read request units for the database.
  • Write units. Number of write request units for the database.
  • Read consistency. Select the consistency mode for database reads.

API

In the Cloudcraft API, a DynamoDB instance is represented in JSON.

{
  "type": "dynamodb",
  "id": "7dc7d9b9-c099-4f2f-a961-6e622b898460",
  "region": "us-east-1",
  "mapPos": [0,10],
  "capacityMode": "provisioned",
  "datasetGb": 10,
  "readUnits": 5,
  "writeUnits": 5,
  "readConsistency": "strong",
  "color": {
    "isometric": "#ececed",
    "2d": "#3b48cc"
  },
  "accentColor": {
    "isometric": "#4286c5",
    "2d": "#ffffff"
  },
  "link": "blueprint://ae6349e1-fa15-41c8-8e89-d201f9fa3cc9",
  "locked": true
}
  • type: dynamodb. The type of component.
  • id: string. A unique identifier for the component in the uuid format.
  • region: string. The AWS region the RDS instance is deployed in. Except for cn- regions, all global regions are supported.
  • mapPos: [number, number]. The position of the component in the blueprint, expressed as a x,y coordinate pair.
  • capacityMode: string. The capacity mode for the DynamoDB instance. Accepted values are provisioned and on-demand.
  • datasetGb: number. The size of the database in gibibytes.
  • readUnits: number. Number of read request units for the database.
  • writeUnits: number. Number of write request units for the database.
  • readConsistency: string. The consistency mode for database reads. Accepted values are strong and eventual.
  • color: object. The fill color for the component body.
    • isometric: string. Fill color for the component in 3D view. Must be a hexadecimal color.
    • 2d: string. Fill color for the component in 2D view. Must be a hexadecimal color.
  • accentColor: object. The accent color used to display the component logo on the block.
    • isometric: string. Accent color for the component in 3D view. Must be a hexadecimal color.
    • 2d: string. Accent color for the component in 2D view. Must be a hexadecimal color.
  • link: uri. Link component to another diagram in the blueprint://ID format or to external website in the https://LINK format.
  • locked: boolean. If true, changes to the component through the application are disabled until unlocked.