Last updated:
0 purchases
pepperize.cdkssmparameterscrossregion 0.0.414
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
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.