AWS CDK not having a way to create secure parameter store, and it recommends secret manager, which is costly. This construct provides a way to create secure parameter store using CDK Custom Resource
Similar to how other CDK constructs are used
new SecureParameterStore(stack, 'MySecureParameterStore', {
name: 'ParameterName',
value: 'Parameter Value',
});
This construt creates a Lambda backed Custom Resource, the lambda is using aws-sdk to create and delete parameter store, whenever Custom Resource is created and destroyed
For more info refer aws docs
npx projen build
yarn dev:deploy
npx cdk destroy --app='./lib/integ.default.js'