feat(aws): add Amazon Nova and core AI/ML service icons

- Add Amazon Nova icon and AmazonNova class
- Add AWS App Studio icon and AWSAppStudio class
- Add Amazon CodeWhisperer icon and AmazonCodewhisperer class
- Add AWS Neuron icon and AWSNeuron class
- Update diagrams/aws/ml.py with new classes via autogen
- Include test diagram for validation
- Icons sourced from AWS Architecture Icons Q1 2025 package

This enables users to create diagrams with the latest AWS AI/ML services
including Amazon Nova, the new foundation model service.
pull/1158/head
Michael Tran 2 months ago
parent c0a1758c72
commit cfad8846ad

@ -8,6 +8,14 @@ class _ML(_AWS):
_icon_dir = "resources/aws/ml"
class AmazonCodewhisperer(_ML):
_icon = "amazon-codewhisperer.png"
class AmazonNova(_ML):
_icon = "amazon-nova.png"
class ApacheMxnetOnAWS(_ML):
_icon = "apache-mxnet-on-aws.png"
@ -16,6 +24,14 @@ class AugmentedAi(_ML):
_icon = "augmented-ai.png"
class AWSAppStudio(_ML):
_icon = "aws-app-studio.png"
class AWSNeuron(_ML):
_icon = "aws-neuron.png"
class Bedrock(_ML):
_icon = "bedrock.png"

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

@ -0,0 +1,29 @@
#!/usr/bin/env python3
"""
Test script for new AWS AI/ML service icons
Tests Amazon Nova, AWS App Studio, Amazon CodeWhisperer, and AWS Neuron
"""
from diagrams import Diagram
from diagrams.aws.ml import AmazonNova, AWSAppStudio, AmazonCodewhisperer, AWSNeuron
def test_nova_icons():
"""Test the new Nova and AI service icons"""
with Diagram("New AWS AI/ML Services", show=False, filename="nova_test"):
# Create instances of the new services
nova = AmazonNova("Amazon Nova")
app_studio = AWSAppStudio("AWS App Studio")
codewhisperer = AmazonCodewhisperer("CodeWhisperer")
neuron = AWSNeuron("AWS Neuron")
# Create a simple flow
nova >> app_studio >> codewhisperer >> neuron
print("✅ Test diagram created successfully!")
print("📁 Generated file: nova_test.png")
print("🔍 Please verify the icons render correctly in the diagram")
if __name__ == "__main__":
test_nova_icons()
Loading…
Cancel
Save