Skip to content

Commit

Permalink
docs: added attributes and values; xml prettified
Browse files Browse the repository at this point in the history
  • Loading branch information
tsypuk committed Aug 8, 2023
1 parent d08ba2e commit f7c81c3
Show file tree
Hide file tree
Showing 14 changed files with 406 additions and 380 deletions.
59 changes: 28 additions & 31 deletions docs/docs/aws-components/api_gw.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,13 @@ New (v0.2.0)

![lambda](output/jpg/api_gw.jpg)


## drawio api_gw vertex:

```xml
<?xml version="1.0" ?>
<mxCell id="vertex:api_gw:esf19s3pag" parent="1" vertex="1">

<mxGeometry width="76.5" height="93" as="geometry"/>

<mxGeometry width="76.5" height="93" as="geometry"/>
</mxCell>

```

## Advanced for Geeks:
Expand All @@ -43,40 +39,41 @@ New (v0.2.0)
```html
style="outlineConnect=0;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=left;html=1;shape=mxgraph.aws3.api_gateway;fillColor=#D9A741;gradientColor=none;"
```

| attribute | value |
|:----------|:------|
|align| left |
|dashed| 0 |
|fillColor| #D9A741 |
|gradientColor| none |
|html| 1 |
|outlineConnect| 0 |
|shape| mxgraph.aws3.api_gateway |
|verticalAlign| top |
|verticalLabelPosition| bottom |

### Vertex size:

| width | height |
|:----------|:---------|
| 76.5 | 93|
| width | 76.5 |
|:---------|:-----------|
| height | 93 |

### Full XML dump:
```xml
<?xml version="1.0" ?>
<mxfile host="multicloud-diagrams" agent="PIP package multicloud-diagrams. Generate resources in draw.io compatible format for Cloud infrastructure. Copyrights @ Roman Tsypuk 2023. MIT license." type="MultiCloud">

<diagram id="diagram_1" name="AWS components">

<mxGraphModel dx="1015" dy="661" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="1">

<root>

<mxCell id="0"/>

<mxCell id="1" parent="0"/>

<mxCell id="vertex:api_gw:esf19s3pag" parent="1" vertex="1">

<mxGeometry width="76.5" height="93" as="geometry"/>

</mxCell>

</root>

</mxGraphModel>

</diagram>
<diagram id="diagram_1" name="AWS components">
<mxGraphModel dx="1015" dy="661" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="1">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="vertex:api_gw:esf19s3pag" value="&lt;b&gt;Name&lt;/b&gt;: APIGW integration with DynamoDB&lt;BR&gt;&lt;b&gt;ARN&lt;/b&gt;: esf19s3pag&lt;BR&gt;-----------&lt;BR&gt;&lt;b&gt;api_key_source&lt;/b&gt;: HEADER&lt;BR&gt;&lt;b&gt;endpoint_configuration&lt;/b&gt;: {'types': ['EDGE']}" style="outlineConnect=0;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=left;html=1;shape=mxgraph.aws3.api_gateway;fillColor=#D9A741;gradientColor=none;" parent="1" vertex="1">
<mxGeometry width="76.5" height="93" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

```

### drawio file:
Expand Down
59 changes: 28 additions & 31 deletions docs/docs/aws-components/dynamo.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,13 @@ New (v0.2.0)

![lambda](output/jpg/dynamo.jpg)


## drawio dynamo vertex:

```xml
<?xml version="1.0" ?>
<mxCell id="vertex:dynamo:arn:aws:dynamodb:eu-west-1:123456789012:table/prod-dynamo-table" parent="1" vertex="1">

<mxGeometry width="72" height="81" as="geometry"/>

<mxGeometry width="72" height="81" as="geometry"/>
</mxCell>

```

## Advanced for Geeks:
Expand All @@ -43,40 +39,41 @@ New (v0.2.0)
```html
style="outlineConnect=0;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=left;html=1;shape=mxgraph.aws3.dynamo_db;fillColor=#2E73B8;gradientColor=none;"
```

| attribute | value |
|:----------|:------|
|align| left |
|dashed| 0 |
|fillColor| #2E73B8 |
|gradientColor| none |
|html| 1 |
|outlineConnect| 0 |
|shape| mxgraph.aws3.dynamo_db |
|verticalAlign| top |
|verticalLabelPosition| bottom |

### Vertex size:

| width | height |
|:----------|:---------|
| 72 | 81|
| width | 72 |
|:---------|:-----------|
| height | 81 |

### Full XML dump:
```xml
<?xml version="1.0" ?>
<mxfile host="multicloud-diagrams" agent="PIP package multicloud-diagrams. Generate resources in draw.io compatible format for Cloud infrastructure. Copyrights @ Roman Tsypuk 2023. MIT license." type="MultiCloud">

<diagram id="diagram_1" name="AWS components">

<mxGraphModel dx="1015" dy="661" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="1">

<root>

<mxCell id="0"/>

<mxCell id="1" parent="0"/>

<mxCell id="vertex:dynamo:arn:aws:dynamodb:eu-west-1:123456789012:table/prod-dynamo-table" parent="1" vertex="1">

<mxGeometry width="72" height="81" as="geometry"/>

</mxCell>

</root>

</mxGraphModel>

</diagram>
<diagram id="diagram_1" name="AWS components">
<mxGraphModel dx="1015" dy="661" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="1">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="vertex:dynamo:arn:aws:dynamodb:eu-west-1:123456789012:table/prod-dynamo-table" value="&lt;b&gt;Name&lt;/b&gt;: prod-dynamo-table&lt;BR&gt;&lt;b&gt;ARN&lt;/b&gt;: arn:aws:dynamodb:eu-west-1:123456789012:table/prod-dynamo-table&lt;BR&gt;-----------&lt;BR&gt;&lt;b&gt;DeletionProtectionEnabled&lt;/b&gt;: True&lt;BR&gt;&lt;b&gt;ItemCount&lt;/b&gt;: 900&lt;BR&gt;&lt;b&gt;TableSizeBytes&lt;/b&gt;: 123&lt;BR&gt;&lt;b&gt;Replicas&lt;/b&gt;: 0&lt;BR&gt;&lt;b&gt;RCU&lt;/b&gt;: 1&lt;BR&gt;&lt;b&gt;WCU&lt;/b&gt;: 1" style="outlineConnect=0;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=left;html=1;shape=mxgraph.aws3.dynamo_db;fillColor=#2E73B8;gradientColor=none;" parent="1" vertex="1">
<mxGeometry width="72" height="81" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

```

### drawio file:
Expand Down
66 changes: 35 additions & 31 deletions docs/docs/aws-components/dynamo_stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,13 @@ New (v0.2.0)

![lambda](output/jpg/dynamo_stream.jpg)


## drawio dynamo_stream vertex:

```xml
<?xml version="1.0" ?>
<mxCell id="vertex:dynamo_stream:arn:aws:dynamodb:eu-west-1:123456789012:table/test-table/stream" parent="1" vertex="1">

<mxGeometry width="78" height="78" as="geometry"/>

<mxGeometry width="78" height="78" as="geometry"/>
</mxCell>

```

## Advanced for Geeks:
Expand All @@ -43,40 +39,48 @@ New (v0.2.0)
```html
style="sketch=0;outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#2E27AD;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=left;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;shape=mxgraph.aws4.dynamodb_stream"
```

| attribute | value |
|:----------|:------|
|align| left |
|aspect| fixed |
|dashed| 0 |
|fillColor| #2E27AD |
|fontColor| #232F3E |
|fontSize| 12 |
|fontStyle| 0 |
|gradientColor| none |
|html| 1 |
|outlineConnect| 0 |
|pointerEvents| 1 |
|shape| mxgraph.aws4.dynamodb_stream |
|sketch| 0 |
|strokeColor| none |
|verticalAlign| top |
|verticalLabelPosition| bottom |

### Vertex size:

| width | height |
|:----------|:---------|
| 78 | 78|
| width | 78 |
|:---------|:-----------|
| height | 78 |

### Full XML dump:
```xml
<?xml version="1.0" ?>
<mxfile host="multicloud-diagrams" agent="PIP package multicloud-diagrams. Generate resources in draw.io compatible format for Cloud infrastructure. Copyrights @ Roman Tsypuk 2023. MIT license." type="MultiCloud">

<diagram id="diagram_1" name="AWS components">

<mxGraphModel dx="1015" dy="661" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="1">

<root>

<mxCell id="0"/>

<mxCell id="1" parent="0"/>

<mxCell id="vertex:dynamo_stream:arn:aws:dynamodb:eu-west-1:123456789012:table/test-table/stream" parent="1" vertex="1">

<mxGeometry width="78" height="78" as="geometry"/>

</mxCell>

</root>

</mxGraphModel>

</diagram>
<diagram id="diagram_1" name="AWS components">
<mxGraphModel dx="1015" dy="661" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="1">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="vertex:dynamo_stream:arn:aws:dynamodb:eu-west-1:123456789012:table/test-table/stream" value="&lt;b&gt;Name&lt;/b&gt;: 2022-12-05T06:41:33.817&lt;BR&gt;&lt;b&gt;ARN&lt;/b&gt;: arn:aws:dynamodb:eu-west-1:123456789012:table/test-table/stream&lt;BR&gt;-----------&lt;BR&gt;&lt;b&gt;LatestStreamLabel&lt;/b&gt;: 2022-12-05T06:41:33.817&lt;BR&gt;&lt;b&gt;StreamViewType&lt;/b&gt;: NEW_AND_OLD_IMAGES" style="sketch=0;outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#2E27AD;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=left;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;shape=mxgraph.aws4.dynamodb_stream" parent="1" vertex="1">
<mxGeometry width="78" height="78" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

```

### drawio file:
Expand Down
67 changes: 36 additions & 31 deletions docs/docs/aws-components/event_bridge.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,13 @@ New (v0.3.11)

![lambda](output/jpg/event_bridge.jpg)


## drawio event_bridge vertex:

```xml
<?xml version="1.0" ?>
<mxCell id="vertex:event_bridge:arn:aws:scheduler:eu-west-1:123456789012:schedule/group-1/schedule-rate" parent="1" vertex="1">

<mxGeometry width="78" height="78" as="geometry"/>

<mxGeometry width="78" height="78" as="geometry"/>
</mxCell>

```

## Advanced for Geeks:
Expand All @@ -43,40 +39,49 @@ New (v0.3.11)
```html
style="sketch=0;outlineConnect=0;fontColor=#232F3E;gradientColor=#FF4F8B;gradientDirection=north;fillColor=#BC1356;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=left;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.eventbridge;"
```

| attribute | value |
|:----------|:------|
|align| left |
|aspect| fixed |
|dashed| 0 |
|fillColor| #BC1356 |
|fontColor| #232F3E |
|fontSize| 12 |
|fontStyle| 0 |
|gradientColor| #FF4F8B |
|gradientDirection| north |
|html| 1 |
|outlineConnect| 0 |
|resIcon| mxgraph.aws4.eventbridge |
|shape| mxgraph.aws4.resourceIcon |
|sketch| 0 |
|strokeColor| #ffffff |
|verticalAlign| top |
|verticalLabelPosition| bottom |

### Vertex size:

| width | height |
|:----------|:---------|
| 78 | 78|
| width | 78 |
|:---------|:-----------|
| height | 78 |

### Full XML dump:
```xml
<?xml version="1.0" ?>
<mxfile host="multicloud-diagrams" agent="PIP package multicloud-diagrams. Generate resources in draw.io compatible format for Cloud infrastructure. Copyrights @ Roman Tsypuk 2023. MIT license." type="MultiCloud">

<diagram id="diagram_1" name="AWS components">

<mxGraphModel dx="1015" dy="661" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="1">

<root>

<mxCell id="0"/>

<mxCell id="1" parent="0"/>

<mxCell id="vertex:event_bridge:arn:aws:scheduler:eu-west-1:123456789012:schedule/group-1/schedule-rate" parent="1" vertex="1">

<mxGeometry width="78" height="78" as="geometry"/>

</mxCell>

</root>

</mxGraphModel>

</diagram>
<diagram id="diagram_1" name="AWS components">
<mxGraphModel dx="1015" dy="661" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="1">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="vertex:event_bridge:arn:aws:scheduler:eu-west-1:123456789012:schedule/group-1/schedule-rate" value="&lt;b&gt;Name&lt;/b&gt;: schedule-rate&lt;BR&gt;&lt;b&gt;ARN&lt;/b&gt;: arn:aws:scheduler:eu-west-1:123456789012:schedule/group-1/schedule-rate&lt;BR&gt;-----------&lt;BR&gt;&lt;b&gt;Creation Date&lt;/b&gt;: 2023-06-19 13:16:38&lt;BR&gt;&lt;b&gt;End Date&lt;/b&gt;: 2023-09-30 12:30:00&lt;BR&gt;&lt;b&gt;SubscriptionsPending&lt;/b&gt;: 0&lt;BR&gt;&lt;b&gt;Flexible Time Window&lt;/b&gt;: {'Mode': 'OFF'}&lt;BR&gt;&lt;b&gt;Group Name&lt;/b&gt;: group-1&lt;BR&gt;&lt;b&gt;input&lt;/b&gt;: {&quot;key1&quot;:&quot;val1&quot;,&quot;key2&quot;:&quot;val2&quot;}&lt;BR&gt;&lt;b&gt;Modification Date&lt;/b&gt;: 2023-06-19 13:30:33&lt;BR&gt;&lt;b&gt;Retry Policy&lt;/b&gt;: {'MaximumEventAgeInSeconds': 86400, 'MaximumRetryAttempts': 185}&lt;BR&gt;&lt;b&gt;Role ARN&lt;/b&gt;: arn:aws:iam::123456789012:role/serverless/event_bridge_role&lt;BR&gt;&lt;b&gt;Schedule Expression&lt;/b&gt;: rate(60 days)&lt;BR&gt;&lt;b&gt;Schedule Expression_timezone&lt;/b&gt;: UTC&lt;BR&gt;&lt;b&gt;State&lt;/b&gt;: ENABLED&lt;BR&gt;&lt;b&gt;Target&lt;/b&gt;: arn:aws:lambda:eu-west-1:123456789012:function:target-lambda" style="sketch=0;outlineConnect=0;fontColor=#232F3E;gradientColor=#FF4F8B;gradientDirection=north;fillColor=#BC1356;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=left;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.eventbridge;" parent="1" vertex="1">
<mxGeometry width="78" height="78" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

```

### drawio file:
Expand Down

0 comments on commit f7c81c3

Please sign in to comment.