Component: DocumentDB

The DocumentDB component is used to represent document database clusters 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.
- Color. 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.
- Role. Select the role of the DocumentDB instance. Can be writer or reader.
- Instance type. The type of the instance. Changing the instance type changes the hardware details shown in the toolbar to reflect what is used by the hypervisor.
- Size. The size of the database cluster. As with instance type, the hardware details shown in the toolbar change to reflect the size.
- Storage (GiB). Amount of storage provisioned for the cluster, in gibibytes. Only available for the writer role.
- Snapshots (GiB). Amount of storage provisioned for snapshots, in gibibytes. Only available for the writer role.
- IOPS (Millions). The monthly I/O limit for the cluster, in the millions. Only available for the writer role.
API
In the Cloudcraft API, a DocumentDB instance is represented in JSON.
{
"type": "docdb",
"id": "36f18266-2d25-4003-9719-ee64899e2c4e",
"region": "us-east-1",
"mapPos": [2,4],
"role": "writer",
"instanceType": "t3",
"instanceSize": "medium",
"storage": 10,
"snapshots": 4,
"iops": "200",
"color": {
"isometric": "#ececed",
"2d": "#3b48cc"
},
"accentColor": {
"isometric": "#4286c5",
"2d": "#ffffff"
},
"link": "blueprint://ae6349e1-fa15-41c8-8e89-d201f9fa3cc9",
"locked": true
}
- type: docdb. 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.
- role: string. The role used for the DocumentDB instance. Accepted values are
writer
andreader
. - instanceType: string. The type of the instance. Accepted values are
r4
,r5
, andt3
. - instanceSize: string. The size of the database cluster. See below for more information.
- storage: number. Amount of storage provisioned for the cluster, in gibibytes. Only applicable if
role
is set towriter
. - snapshots: number. Amount of storage provisioned for snapshots, in gibibytes. Only applicable if
role
is set towriter
. - iops: number. The monthly I/O limit for the cluster, in the millions. Only applicable if
role
is set towriter
. - 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 3D 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 3D view. Must be a hexadecimal color.
- link: uri. Link component to another diagram in the
blueprint://ID
format or to external website in thehttps://LINK
format. - locked: boolean. If true, changes to the component through the application are disabled until unlocked.
The DocumentDB component can be added to VPCs, security groups, and subnets.
Accepted values for instanceSize
The instanceSize
key accepts the following values:
medium, large, xlarge, 2xlarge, 4xlarge, 8xlarge, 12xlarge, 16xlarge, 24xlarge