# pulumi/pulumi-aws architecture

> Architecture diagram of the GitHub repository pulumi/pulumi-aws, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/pulumi/pulumi-aws
- Repository: https://github.com/pulumi/pulumi-aws

## Overview

Pulumi AWS is an infrastructure-as-code provider and set of language SDKs for declaring AWS resources. The main workflow is a user program expressing desired resources through an SDK, followed by Pulumi’s provider managing those resources in AWS. The README documents broad SDK and provider capabilities, including strongly typed resource APIs and convenience APIs; sampled SDK excerpts show generated resource inputs, outputs, and lookups. Provider internals are represented at a high level because their runtime relationships were not shown in the excerpts.

Main entry points: [`provider/cmd/pulumi-resource-aws/main.go`](https://github.com/pulumi/pulumi-aws/blob/master/provider/cmd/pulumi-resource-aws/main.go) (AWS Provider), [`sdk/dotnet`](https://github.com/pulumi/pulumi-aws/tree/master/sdk/dotnet) (.NET Resources), [`sdk/go/aws`](https://github.com/pulumi/pulumi-aws/tree/master/sdk/go/aws) (Go Resources), [`sdk/java/src/main/java/com/pulumi/aws`](https://github.com/pulumi/pulumi-aws/tree/master/sdk/java/src/main/java/com/pulumi/aws) (Java Resources)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_sdk["Language SDKs"]
  node_dotnet[".NET Resources"]
  node_go["Go Resources"]
  node_java["Java Resources"]
end

subgraph group_provider["Provider Runtime"]
  node_provider_process["AWS Provider<br/>[main.go]"]
  node_provider_config["Provider Config<br/>[config.go]"]
  node_resource_mapping["Resource Mapping<br/>[resources.go]"]
  node_upstream["Upstream Provider"]
end

node_user(("Pulumi Program"))
node_aws{{"AWS Services"}}

node_user -->|"declares resources"| node_dotnet
node_user -->|"declares resources"| node_go
node_user -->|"declares resources"| node_java
node_dotnet -.->|"submits desired state"| node_provider_process
node_go -.->|"submits desired state"| node_provider_process
node_java -.->|"submits desired state"| node_provider_process
node_provider_process -.->|"loads settings"| node_provider_config
node_provider_process -.->|"registers resources"| node_resource_mapping
node_provider_process -.->|"delegates operations"| node_upstream
node_upstream -.->|"manages resources"| node_aws

click node_dotnet "https://github.com/pulumi/pulumi-aws/tree/master/sdk/dotnet"
click node_go "https://github.com/pulumi/pulumi-aws/tree/master/sdk/go/aws"
click node_java "https://github.com/pulumi/pulumi-aws/tree/master/sdk/java/src/main/java/com/pulumi/aws"
click node_provider_process "https://github.com/pulumi/pulumi-aws/blob/master/provider/cmd/pulumi-resource-aws/main.go"
click node_provider_config "https://github.com/pulumi/pulumi-aws/blob/master/provider/config.go"
click node_resource_mapping "https://github.com/pulumi/pulumi-aws/blob/master/provider/resources.go"
click node_upstream "https://github.com/pulumi/pulumi-aws/blob/master/provider/upstream_provider.go"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_dotnet,node_go,node_java toneBlue
class node_provider_process,node_provider_config,node_resource_mapping,node_upstream toneAmber
class node_user,node_aws toneIndigo
```

## Components

### Language SDKs

- [.NET Resources](https://github.com/pulumi/pulumi-aws/tree/master/sdk/dotnet): `sdk/dotnet`
- [Go Resources](https://github.com/pulumi/pulumi-aws/tree/master/sdk/go/aws): `sdk/go/aws`
- [Java Resources](https://github.com/pulumi/pulumi-aws/tree/master/sdk/java/src/main/java/com/pulumi/aws): `sdk/java/src/main/java/com/pulumi/aws`

### Provider Runtime

- [AWS Provider](https://github.com/pulumi/pulumi-aws/blob/master/provider/cmd/pulumi-resource-aws/main.go): `provider/cmd/pulumi-resource-aws/main.go`
- [Provider Config](https://github.com/pulumi/pulumi-aws/blob/master/provider/config.go): `provider/config.go`
- [Resource Mapping](https://github.com/pulumi/pulumi-aws/blob/master/provider/resources.go): `provider/resources.go`
- [Upstream Provider](https://github.com/pulumi/pulumi-aws/blob/master/provider/upstream_provider.go): `provider/upstream_provider.go`

### Other components

- **Pulumi Program**
- **AWS Services**

## Connections

- Pulumi Program → .NET Resources: declares resources (evidence: `README.md`)
- Pulumi Program → Go Resources: declares resources (evidence: `README.md`)
- Pulumi Program → Java Resources: declares resources (evidence: `README.md`)
- .NET Resources → AWS Provider: submits desired state
- Go Resources → AWS Provider: submits desired state
- Java Resources → AWS Provider: submits desired state
- AWS Provider → Provider Config: loads settings
- AWS Provider → Resource Mapping: registers resources
- AWS Provider → Upstream Provider: delegates operations
- Upstream Provider → AWS Services: manages resources
