@pepperize/cdk-ssm-parameters-cross-region
TypeScript icon, indicating that this package has built-in type declarations

0.0.444 • Public • Published

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

Package Sidebar

Install

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

Weekly Downloads

605

Version

0.0.444

License

MIT

Unpacked Size

180 kB

Total Files

21

Last publish

Collaborators

  • acfo
  • pflorek