Component: Neptune
You can use the Neptune component to represent and visualize serverless graph databases from your Amazon Web Services architecture with Cloudcraft.
Toolbar
To configure or customize how your repository looks in a diagram, you can use the toolbar that appears when selecting a component inside the application.
Options
For the Neptune component, the following options are available:
- Color. Select a fill color for the body of the component and an accent color for its symbol. You can use the same colors on 2D and 3D views or different colors for each.
- Role. Select the role of the Neptune database.
- Instance type. Select the Neptune instance type. Changing the instance type changes the hardware details shown in the toolbar to reflect what is used by the hypervisor.
- Size. Select the size of the Neptune instance. As with instance type, the hardware details shown in the toolbar change to reflect the size.
- Storage (GB). Enter the total amount of storage available for the database in gigabytes. Not available for role reader.
- Snapshot (GB). Enter the total amount of storage provisioned for snapshots in gigabytes. Not available for role reader.
- IOPS (Millions). Enter the monthly I/O limit for the instance in the millions. Not available for role reader.
- Instances. Enter the number of Neptune instances. Only available for role serverless.
- Min NCUs. Enter the minimum amount of NCUs available for the database. Only available for role serverless.
- Max NCUs. Enter the maximum amount of NCUs available for the database. Only available for role serverless.
API
Suppose you need programmatic access and remote rendering of architecture diagrams. In that case, the Cloudcraft API provides an interface for you to interact with your AWS account within Cloudcraft by sending and receiving data as JSON objects.
Schema
1{ 2 "type": "neptune", 3 "id": "7d2ac4f8-2b7d-4617-98cb-ff792963df6d", 4 "region": "us-east-1", 5 "mapPos": [-2,12], 6 "role": "writer", 7 "instanceType": "r5", 8 "instanceSize": "large", 9 "storage": 10, 10 "snapshots": 0, 11 "iops": 0, 12 "instances": "1", 13 "minNCUs": 1, 14 "maxNCUs": 2.5, 15 "color": { 16 "isometric": "#ECECED", 17 "2d": "#3B48CC" 18 }, 19 "accentColor": { 20 "isometric": "#4286C5", 21 "2d": "#FFFFFF" 22 }, 23 "link": "https://aws.amazon.com/neptune/", 24 "locked": true 25}
The Neptune component schema representation follows the format above and defines all fields within a diagram for this component.
- type: string. The type of component. Must be a string of value
neptune
for this component. - id: string, uuid. The unique identifier for the component. The API uses a UUID v4 internally but accepts any unique string.
- arn: string. The globally unique identifier for the component within AWS, known as Amazon Resource Names.
- region: string. The AWS region for the component. The API supports all global regions, except for AWS China.
- mapPos: array. The position of the component in the blueprint. The API uses a unique X and Y coordinate pair to express positioning.
- role: string. The role of the Neptune database. Accepts one of three values,
serverless
,writer
, orreader
. Defaults towriter
. - instanceType: string. The Neptune instance type. See below for more information. Defaults to
r5
. - instanceSize: string. The size of the Neptune instance. Not applicable if
role
isreader
. Defaults tolarge
. - storage: number. The total amount of storage available for the database in gigabytes. Not applicable if
role
isreader
. Defaults to10
. - snapshots: number. The total amount of storage provisioned for snapshots in gigabytes. Not applicable if
role
isreader
. Defaults to0
. - iops: number. The monthly I/O limit for the instance in the millions. Not applicable if
role
isreader
. Defaults to0
. - instances: number. The number of Neptune instances. Only applicable if
role
isserverless. Defaults to
1`. - minNCUs: number. The minimum amount of NCUs available for the database. Only applicable if
role
isserverless
. Defaults to1
. - maxNCUs: number. The maximum amount of NCUs available for the database. Only applicable if
role
isserverless
. Defaults to2.5
. - color: object. The fill color for the component body.
- isometric: string. A hexadecimal color for the component body in 3D view. Defaults to
#ECECED
. - 2d: string. A hexadecimal color for the component body in 2D view. Defaults to
#3B48CC
.
- isometric: string. A hexadecimal color for the component body in 3D view. Defaults to
- accentColor: object. The accent color for the component logo.
- isometric: string. A hexadecimal color for the component logo in 3D view. Defaults to
#4286C5
. - 2d: string. A hexadecimal color for the component logo in 2D view. Defaults to
#FFFFFF
.
- isometric: string. A hexadecimal color for the component logo in 3D view. Defaults to
- link: string, uri. A URI that links the component to another diagram or an external website. Accepts one of two formats,
blueprint://
orhttps://
. - locked: boolean. Whether to allow changes to the position of the component through the web interface. Defaults to
false
.
Accepted values for instanceType
The instanceType
key accepts the following values:
t4g, t3, x2g, x2iedn, r6g, r6i, r5, r5d, r4