diff --git a/config.py b/config.py index 58c447554..86a58342b 100644 --- a/config.py +++ b/config.py @@ -246,6 +246,9 @@ "ElbClassicLoadBalancer": "CLB", "ElbNetworkLoadBalancer": "NLB", "GlobalAccelerator": "GAX", + "InternetGateway": "IGW", + "TransitGateway": "TGW", + "TransitGatewayAttachment": "TGWAttach", }, "security": { "CertificateManager": "ACM", diff --git a/diagrams/aws/network.py b/diagrams/aws/network.py index e9291a5ec..4f0727561 100644 --- a/diagrams/aws/network.py +++ b/diagrams/aws/network.py @@ -120,6 +120,10 @@ class SiteToSiteVpn(_Network): _icon = "site-to-site-vpn.png" +class TransitGatewayAttachment(_Network): + _icon = "transit-gateway-attachment.png" + + class TransitGateway(_Network): _icon = "transit-gateway.png" @@ -172,3 +176,6 @@ class VpnGateway(_Network): CLB = ElbClassicLoadBalancer NLB = ElbNetworkLoadBalancer GAX = GlobalAccelerator +IGW = InternetGateway +TGW = TransitGateway +TGWAttach = TransitGatewayAttachment diff --git a/docs/nodes/aws.md b/docs/nodes/aws.md index cf9e2cf63..aede97f78 100644 --- a/docs/nodes/aws.md +++ b/docs/nodes/aws.md @@ -1221,7 +1221,7 @@ Node classes list of the aws provider. **diagrams.aws.network.GlobalAccelerator**, **GAX** (alias) InternetGateway -**diagrams.aws.network.InternetGateway** +**diagrams.aws.network.InternetGateway**, **IGW** (alias) Nacl **diagrams.aws.network.Nacl** @@ -1256,8 +1256,11 @@ Node classes list of the aws provider. SiteToSiteVpn **diagrams.aws.network.SiteToSiteVpn** +TransitGatewayAttachment +**diagrams.aws.network.TransitGatewayAttachment**, **TGWAttach** (alias) + TransitGateway -**diagrams.aws.network.TransitGateway** +**diagrams.aws.network.TransitGateway**, **TGW** (alias) VPCCustomerGateway **diagrams.aws.network.VPCCustomerGateway** diff --git a/resources/aws/network/transit-gateway-attachment.png b/resources/aws/network/transit-gateway-attachment.png new file mode 100644 index 000000000..1e3fdaede Binary files /dev/null and b/resources/aws/network/transit-gateway-attachment.png differ diff --git a/website/static/img/resources/aws/network/transit-gateway-attachment.png b/website/static/img/resources/aws/network/transit-gateway-attachment.png new file mode 100644 index 000000000..1e3fdaede Binary files /dev/null and b/website/static/img/resources/aws/network/transit-gateway-attachment.png differ