%%{ init : { "theme" : "default" } }%%
flowchart TD
A[Client Application] --> B[API Gateway]
B --> C[Service A]
B --> D[Service B]
C --> E[DynamoDB]
D --> F[EC2 Instance]
D --> G[S3 Bucket]
C --> H[SNS Topic]
H --> I[SQS Queue]
I --> J[Lambda Function]
classDef service fill:#f9f,stroke:#333,stroke-width:2px;
class C,D service;
classDef database fill:#ccf,stroke:#333,stroke-width:2px;
class E, database;
classDef storage fill:#fcf,stroke:#333,stroke-width:2px;
class G, storage;
classDef messaging fill:#cfc,stroke:#333,stroke-width:2px;
class H,I messaging;
classDef compute fill:#cff,stroke:#333,stroke-width:2px;
class F,J compute;