sst-infra
Installation
SKILL.md
SST v3 (Ion)
SST v3 is a framework for defining and deploying full-stack applications on AWS. It uses Pulumi under the hood but exposes a simpler component API. All infrastructure is defined in TypeScript in sst.config.ts.
Important: SST v3 vs v2
SST v3 (Ion) is a complete rewrite from v2. Key differences:
| Aspect | SST v2 (Constructs) | SST v3 (Ion) |
|---|---|---|
| Engine | AWS CDK | Pulumi/Terraform |
| Config | stacks/ directory |
Single sst.config.ts |
| Components | new Table(stack, ...) |
new sst.aws.Dynamo(...) |
| Subscribers | .addConsumers() |
.subscribe() |
| Linking | bind: [...] |
link: [...] |
| SDK import | import { Config } from 'sst/node/config' |
import { Resource } from 'sst' |
Never generate SST v2 code. Always use the v3 patterns below.
Related skills