-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added integration; added s3 to docs; added list and snapshot
- Loading branch information
Showing
36 changed files
with
940 additions
and
241 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<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:s3:arn:aws:s3:::content_bucket" value="<b>Name</b>: content_bucket<BR><b>ARN</b>: arn:aws:s3:::content_bucket<BR>-----------<BR><b>x-amz-bucket-region</b>: eu-west-1<BR><b>CreationDate</b>: 2023-11-11<BR><b>Transitions</b>: [{'Days': 60, 'StorageClass': 'GLACIER'}]<BR><b>AbortIncompleteMultipartUpload</b>: {'DaysAfterInitiation': 5}<BR><b>PublicAccessBlockConfiguration</b>: {'BlockPublicAcls': True, 'IgnorePublicAcls': True, 'BlockPublicPolicy': True, 'RestrictPublicBuckets': True}<BR><b>Expiration</b>: {'Days': 90}<BR><b>LifecycleConfiguration</b>: NO<BR><b>CORSConfiguration</b>: NO<BR><b>LoggingConfiguration</b>: NO<BR><b>Versioning</b>: Enabled<BR><b>MFADelete</b>: Disabled" style="outlineConnect=0;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=left;html=1;shape=mxgraph.aws3.bucket_with_objects;fillColor=#E05243;gradientColor=none;" parent="1" vertex="1"> | ||
<mxGeometry width="78" height="78" as="geometry" /> | ||
</mxCell> | ||
</root> | ||
</mxGraphModel> | ||
</diagram> | ||
</mxfile> |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
--- | ||
layout: default | ||
title: S3 | ||
parent: AWS Components | ||
nav_order: 1 | ||
date: 2023-08-06 | ||
--- | ||
|
||
# S3 | ||
{: .d-inline-block } | ||
|
||
New (v0.2.0) | ||
{: .label .label-green } | ||
|
||
## Node Type: ``s3`` | ||
|
||
## Code Snippet: | ||
|
||
```python | ||
{% root_include_snippet ../tests/aws/test_s3.py %} | ||
``` | ||
|
||
## Rendering: | ||
|
||
![lambda](output/jpg/s3.jpg) | ||
|
||
## drawio s3 vertex: | ||
|
||
```xml | ||
<?xml version="1.0" ?> | ||
<mxCell id="vertex:s3:arn:aws:s3:::content_bucket" parent="1" vertex="1"> | ||
<mxGeometry width="78" height="78" as="geometry"/> | ||
</mxCell> | ||
``` | ||
|
||
## Advanced for Geeks: | ||
|
||
### Style: | ||
```html | ||
style="outlineConnect=0;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=left;html=1;shape=mxgraph.aws3.bucket_with_objects;fillColor=#E05243;gradientColor=none;" | ||
``` | ||
|
||
| attribute | value | | ||
|:----------|:------| | ||
|align| left | | ||
|dashed| 0 | | ||
|fillColor| #E05243 | | ||
|gradientColor| none | | ||
|html| 1 | | ||
|outlineConnect| 0 | | ||
|shape| mxgraph.aws3.bucket_with_objects | | ||
|verticalAlign| top | | ||
|verticalLabelPosition| bottom | | ||
|
||
### Vertex size: | ||
|
||
| attribute | value | | ||
|:---------|:-----------| | ||
| 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:s3:arn:aws:s3:::content_bucket" value="<b>Name</b>: content_bucket<BR><b>ARN</b>: arn:aws:s3:::content_bucket<BR>-----------<BR><b>x-amz-bucket-region</b>: eu-west-1<BR><b>CreationDate</b>: 2023-11-11<BR><b>Transitions</b>: [{'Days': 60, 'StorageClass': 'GLACIER'}]<BR><b>AbortIncompleteMultipartUpload</b>: {'DaysAfterInitiation': 5}<BR><b>PublicAccessBlockConfiguration</b>: {'BlockPublicAcls': True, 'IgnorePublicAcls': True, 'BlockPublicPolicy': True, 'RestrictPublicBuckets': True}<BR><b>Expiration</b>: {'Days': 90}<BR><b>LifecycleConfiguration</b>: NO<BR><b>CORSConfiguration</b>: NO<BR><b>LoggingConfiguration</b>: NO<BR><b>Versioning</b>: Enabled<BR><b>MFADelete</b>: Disabled" style="outlineConnect=0;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=left;html=1;shape=mxgraph.aws3.bucket_with_objects;fillColor=#E05243;gradientColor=none;" parent="1" vertex="1"> | ||
<mxGeometry width="78" height="78" as="geometry"/> | ||
</mxCell> | ||
</root> | ||
</mxGraphModel> | ||
</diagram> | ||
</mxfile> | ||
``` | ||
|
||
### drawio file: | ||
|
||
Download generated ``s3.drawio``: | ||
|
||
[Download](output/drawio/s3.drawio){: .btn .btn-purple } |
Oops, something went wrong.