AWS CDK: Retrieve SSM Parameters (4 Methods)

When working with AWS CDK and using SSM Parameters to store information in between stacks there are multiple ways to retrieve the value, with both advantages and disadvantages. In this post, I’ll go over the different ways to retrieve SSM parameters in AWS CDK and when to use them.

AWS Parameter Store vs Secrets Manager: Which to Use

Recently I’ve been using AWS Secrets to retrieve API keys which are needed to access external API’s, however, this turned out to be a more expensive service than we initially thought when starting.