Skip to content

pepperize/cdk-ssm-parameters-cross-region

Repository files navigation

PRs Welcome GitHub npm (scoped) PyPI Nuget Sonatype Nexus (Releases) GitHub Workflow Status (branch) GitHub release (latest SemVer) Gitpod ready-to-code

CDK SSM Parameters cross-region

Store, read and lookup AWS SSM Parameters cross-region

Currently, only supports StringParameter except simple name. Implements aws_ssm.IParameter and can be used as aws_ssm.StringParameter replacement.

Install

TypeScript

npm install @pepperize/cdk-ssm-parameters-cross-region

or

yarn add @pepperize/cdk-ssm-parameters-cross-region

Python

pip install pepperize.cdk-ssm-parameters-cross-region

C# / .Net

dotnet add package Pepperize.CDK.SsmParametersCrossRegion 

Java

<dependency> <groupId>com.pepperize</groupId> <artifactId>cdk-ssm-parameters-cross-region</artifactId> <version>${cdkSsmParametersCrossRegion.version}</version> </dependency>

Usage

Store AWS SSM Parameter cross-region

new StringParameter(scope, "PutParameter", { region: "eu-central-1", parameterName: "/path/name/example", stringValue: "Say hello from another region", });

See StringParameter

Read AWS SSM Parameter cross-region

StringParameter.fromStringParameterName(scope, "GetParameter", "eu-central-1", "/path/name/example");

See StringParameter.fromStringParameterName

Lookup AWS SSM Parameter cross-region

StringParameter.valueFromLookup(scope, "eu-central-1", "/path/name/example");

See StringParameter.valueFromLookup

About

Store, read and lookup AWS SSM Parameters cross-region

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 7