Customizing SSM Parameters
You can customize the SSM parameter names that SST creates behind the scenes to power Resource Binding.
Setting the SSM name prefix
To provide a prefix, open up the sst.json
and add a ssmPrefix
field.
{
"name": "my-sst-app",
"region": "us-east-1",
- "main": "lib/index.ts"
+ "main": "lib/index.ts",
+ "ssmPrefix": "/myOrg/myTeam/"
}
For example, the default SSM parameter name that's created for a Bucket is:
/sst/my-sst-app/dev/Bucket/myBucket/bucketName
With the ssmPrefix
specified, the SSM parameter name will be:
/myOrg/myTeam/Bucket/myBucket/bucketName