Skip to content
This repository has been archived by the owner on Sep 5, 2021. It is now read-only.

pahud/cdk-ssm-parameter-store

Repository files navigation

Deprecating

We are deprecating this construct library, please use the following method from @aws-cdk/aws-ssm instead.

ssm.StringParameter.valueForStringParameter()

NPM version PyPI version Release

cdk-ssm-parameter-store

AWS CDK construct that allows you to get the latest Version of the AWS SSM Parameters.

Sample

import * as param from 'cdk-ssm-parameter-store';

const stack = new Stack(app, 'testing-stack', { env });

const p = new param.Provider(stack, 'ParameterProvider');
const fooVersion = p.get('Foo').getAttString('Version');
const barVersion = p.get('Bar').getAttString('Version');

new CfnOutput(stack, 'FooVersion', { value: fooVersion });
new CfnOutput(stack, 'BarVersion', { value: barVersion });

About

AWS CDK construct that allows you to get the latest Version of the AWS SSM Parameters.

Resources

License

Stars

Watchers

Forks

Packages

No packages published