Skip to content

Commit

Permalink
feat(node): add AWS resources (mingrammer#381)
Browse files Browse the repository at this point in the history
* Add AWS resources

* Add some aliases for the ELB
  • Loading branch information
semnil authored Feb 10, 2021
1 parent 8768d68 commit 8abbf8a
Show file tree
Hide file tree
Showing 225 changed files with 993 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@
},
"compute": {
"ApplicationAutoScaling": "AutoScaling",
"EC2Ami": "AMI",
"EC2ContainerRegistry": "ECR",
"ElasticBeanstalk": "EB",
"ElasticContainerService": "ECS",
Expand Down Expand Up @@ -215,6 +216,9 @@
"network": {
"CloudFront": "CF",
"ElasticLoadBalancing": "ELB",
"ElbApplicationLoadBalancer": "ALB",
"ElbClassicLoadBalancer": "CLB",
"ElbNetworkLoadBalancer": "NLB",
"GlobalAccelerator": "GAX",
},
"security": {
Expand Down
20 changes: 20 additions & 0 deletions diagrams/aws/analytics.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ class Cloudsearch(_Analytics):
_icon = "cloudsearch.png"


class DataLakeResource(_Analytics):
_icon = "data-lake-resource.png"


class DataPipeline(_Analytics):
_icon = "data-pipeline.png"

Expand All @@ -36,6 +40,22 @@ class EMRCluster(_Analytics):
_icon = "emr-cluster.png"


class EMREngineMaprM3(_Analytics):
_icon = "emr-engine-mapr-m3.png"


class EMREngineMaprM5(_Analytics):
_icon = "emr-engine-mapr-m5.png"


class EMREngineMaprM7(_Analytics):
_icon = "emr-engine-mapr-m7.png"


class EMREngine(_Analytics):
_icon = "emr-engine.png"


class EMRHdfsCluster(_Analytics):
_icon = "emr-hdfs-cluster.png"

Expand Down
4 changes: 4 additions & 0 deletions diagrams/aws/ar.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ class _Ar(_AWS):
_icon_dir = "resources/aws/ar"


class ArVr(_Ar):
_icon = "ar-vr.png"


class Sumerian(_Ar):
_icon = "sumerian.png"

Expand Down
8 changes: 8 additions & 0 deletions diagrams/aws/blockchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ class _Blockchain(_AWS):
_icon_dir = "resources/aws/blockchain"


class BlockchainResource(_Blockchain):
_icon = "blockchain-resource.png"


class Blockchain(_Blockchain):
_icon = "blockchain.png"


class ManagedBlockchain(_Blockchain):
_icon = "managed-blockchain.png"

Expand Down
4 changes: 4 additions & 0 deletions diagrams/aws/business.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ class AlexaForBusiness(_Business):
_icon = "alexa-for-business.png"


class BusinessApplications(_Business):
_icon = "business-applications.png"


class Chime(_Business):
_icon = "chime.png"

Expand Down
73 changes: 73 additions & 0 deletions diagrams/aws/compute.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,82 @@ class Batch(_Compute):
_icon = "batch.png"


class ComputeOptimizer(_Compute):
_icon = "compute-optimizer.png"


class Compute(_Compute):
_icon = "compute.png"


class EC2Ami(_Compute):
_icon = "ec2-ami.png"


class EC2AutoScaling(_Compute):
_icon = "ec2-auto-scaling.png"


class EC2ContainerRegistryImage(_Compute):
_icon = "ec2-container-registry-image.png"


class EC2ContainerRegistryRegistry(_Compute):
_icon = "ec2-container-registry-registry.png"


class EC2ContainerRegistry(_Compute):
_icon = "ec2-container-registry.png"


class EC2ElasticIpAddress(_Compute):
_icon = "ec2-elastic-ip-address.png"


class EC2ImageBuilder(_Compute):
_icon = "ec2-image-builder.png"


class EC2Instance(_Compute):
_icon = "ec2-instance.png"


class EC2Instances(_Compute):
_icon = "ec2-instances.png"


class EC2Rescue(_Compute):
_icon = "ec2-rescue.png"


class EC2SpotInstance(_Compute):
_icon = "ec2-spot-instance.png"


class EC2(_Compute):
_icon = "ec2.png"


class ElasticBeanstalkApplication(_Compute):
_icon = "elastic-beanstalk-application.png"


class ElasticBeanstalkDeployment(_Compute):
_icon = "elastic-beanstalk-deployment.png"


class ElasticBeanstalk(_Compute):
_icon = "elastic-beanstalk.png"


class ElasticContainerServiceContainer(_Compute):
_icon = "elastic-container-service-container.png"


class ElasticContainerServiceService(_Compute):
_icon = "elastic-container-service-service.png"


class ElasticContainerService(_Compute):
_icon = "elastic-container-service.png"

Expand All @@ -44,6 +104,10 @@ class Fargate(_Compute):
_icon = "fargate.png"


class LambdaFunction(_Compute):
_icon = "lambda-function.png"


class Lambda(_Compute):
_icon = "lambda.png"

Expand All @@ -52,6 +116,10 @@ class Lightsail(_Compute):
_icon = "lightsail.png"


class LocalZones(_Compute):
_icon = "local-zones.png"


class Outposts(_Compute):
_icon = "outposts.png"

Expand Down Expand Up @@ -92,9 +160,14 @@ class VmwareCloudOnAWS(_Compute):
_icon = "vmware-cloud-on-aws.png"


class Wavelength(_Compute):
_icon = "wavelength.png"


# Aliases

AutoScaling = ApplicationAutoScaling
AMI = EC2Ami
ECR = EC2ContainerRegistry
EB = ElasticBeanstalk
ECS = ElasticContainerService
Expand Down
4 changes: 4 additions & 0 deletions diagrams/aws/cost.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ class CostExplorer(_Cost):
_icon = "cost-explorer.png"


class CostManagement(_Cost):
_icon = "cost-management.png"


class ReservedInstanceReporting(_Cost):
_icon = "reserved-instance-reporting.png"

Expand Down
72 changes: 72 additions & 0 deletions diagrams/aws/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,18 @@ class _Database(_AWS):
_icon_dir = "resources/aws/database"


class AuroraInstance(_Database):
_icon = "aurora-instance.png"


class Aurora(_Database):
_icon = "aurora.png"


class DatabaseMigrationServiceDatabaseMigrationWorkflow(_Database):
_icon = "database-migration-service-database-migration-workflow.png"


class DatabaseMigrationService(_Database):
_icon = "database-migration-service.png"

Expand All @@ -24,6 +32,14 @@ class DocumentdbMongodbCompatibility(_Database):
_icon = "documentdb-mongodb-compatibility.png"


class DynamodbAttribute(_Database):
_icon = "dynamodb-attribute.png"


class DynamodbAttributes(_Database):
_icon = "dynamodb-attributes.png"


class DynamodbDax(_Database):
_icon = "dynamodb-dax.png"

Expand All @@ -32,6 +48,14 @@ class DynamodbGlobalSecondaryIndex(_Database):
_icon = "dynamodb-global-secondary-index.png"


class DynamodbItem(_Database):
_icon = "dynamodb-item.png"


class DynamodbItems(_Database):
_icon = "dynamodb-items.png"


class DynamodbTable(_Database):
_icon = "dynamodb-table.png"

Expand All @@ -40,10 +64,26 @@ class Dynamodb(_Database):
_icon = "dynamodb.png"


class ElasticacheCacheNode(_Database):
_icon = "elasticache-cache-node.png"


class ElasticacheForMemcached(_Database):
_icon = "elasticache-for-memcached.png"


class ElasticacheForRedis(_Database):
_icon = "elasticache-for-redis.png"


class Elasticache(_Database):
_icon = "elasticache.png"


class KeyspacesManagedApacheCassandraService(_Database):
_icon = "keyspaces-managed-apache-cassandra-service.png"


class Neptune(_Database):
_icon = "neptune.png"

Expand All @@ -52,14 +92,46 @@ class QuantumLedgerDatabaseQldb(_Database):
_icon = "quantum-ledger-database-qldb.png"


class RDSInstance(_Database):
_icon = "rds-instance.png"


class RDSMariadbInstance(_Database):
_icon = "rds-mariadb-instance.png"


class RDSMysqlInstance(_Database):
_icon = "rds-mysql-instance.png"


class RDSOnVmware(_Database):
_icon = "rds-on-vmware.png"


class RDSOracleInstance(_Database):
_icon = "rds-oracle-instance.png"


class RDSPostgresqlInstance(_Database):
_icon = "rds-postgresql-instance.png"


class RDSSqlServerInstance(_Database):
_icon = "rds-sql-server-instance.png"


class RDS(_Database):
_icon = "rds.png"


class RedshiftDenseComputeNode(_Database):
_icon = "redshift-dense-compute-node.png"


class RedshiftDenseStorageNode(_Database):
_icon = "redshift-dense-storage-node.png"


class Redshift(_Database):
_icon = "redshift.png"

Expand Down
4 changes: 4 additions & 0 deletions diagrams/aws/devtools.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ class CloudDevelopmentKit(_Devtools):
_icon = "cloud-development-kit.png"


class Cloud9Resource(_Devtools):
_icon = "cloud9-resource.png"


class Cloud9(_Devtools):
_icon = "cloud9.png"

Expand Down
4 changes: 4 additions & 0 deletions diagrams/aws/enablement.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ class _Enablement(_AWS):
_icon_dir = "resources/aws/enablement"


class CustomerEnablement(_Enablement):
_icon = "customer-enablement.png"


class Iq(_Enablement):
_icon = "iq.png"

Expand Down
4 changes: 4 additions & 0 deletions diagrams/aws/enduser.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ class Appstream20(_Enduser):
_icon = "appstream-2-0.png"


class DesktopAndAppStreaming(_Enduser):
_icon = "desktop-and-app-streaming.png"


class Workdocs(_Enduser):
_icon = "workdocs.png"

Expand Down
8 changes: 8 additions & 0 deletions diagrams/aws/engagement.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,18 @@ class Connect(_Engagement):
_icon = "connect.png"


class CustomerEngagement(_Engagement):
_icon = "customer-engagement.png"


class Pinpoint(_Engagement):
_icon = "pinpoint.png"


class SimpleEmailServiceSesEmail(_Engagement):
_icon = "simple-email-service-ses-email.png"


class SimpleEmailServiceSes(_Engagement):
_icon = "simple-email-service-ses.png"

Expand Down
Loading

0 comments on commit 8abbf8a

Please sign in to comment.