Skip to content

Instantly share code, notes, and snippets.

@JelsB
Created January 10, 2021 16:37
Show Gist options
  • Save JelsB/e9d352463a8f6cd3ea8e52db98fe41f6 to your computer and use it in GitHub Desktop.
Save JelsB/e9d352463a8f6cd3ea8e52db98fe41f6 to your computer and use it in GitHub Desktop.
export class TargetStage extends Stage {
// ...
// Create SSM reader
const mySSMreader = new SSMParameterReader(this, 'reader-name', {
parameterName: 'param-name',
region: '<region-of-the-origin-stage>'
})
// use the fetched param value
const paramValue = mySSMreader.getParameterValue()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment