Basic Linking
Link resources in your infrastructure code:sst.config.ts
main.go
Automatic Permissions
Linking automatically grants IAM permissions:Multiple Resources
Link multiple resources:Linking Secrets
sst.config.ts
main.go
Building Go Functions
SST automatically builds your Go functions:sst.config.ts
Best Practices
Link Only What You Need
Initialize Clients Once
Use Structured Error Handling
Related
Resource Access
Learn more about the Resource API for Go
Go Functions
Deploy Go Lambda functions