Store, read and lookup AWS SSM Parameters cross-region
Currently, only supports StringParameter except simple name. Implements
aws_ssm.IParameter
and can be used asaws_ssm.StringParameter
replacement.
npm install @pepperize/cdk-ssm-parameters-cross-region
or
yarn add @pepperize/cdk-ssm-parameters-cross-region
pip install pepperize.cdk-ssm-parameters-cross-region
dotnet add package Pepperize.CDK.SsmParametersCrossRegion
<dependency>
<groupId>com.pepperize</groupId>
<artifactId>cdk-ssm-parameters-cross-region</artifactId>
<version>${cdkSsmParametersCrossRegion.version}</version>
</dependency>
new StringParameter(scope, "PutParameter", {
region: "eu-central-1",
parameterName: "/path/name/example",
stringValue: "Say hello from another region",
});
See StringParameter
StringParameter.fromStringParameterName(scope, "GetParameter", "eu-central-1", "/path/name/example");
See StringParameter.fromStringParameterName
StringParameter.valueFromLookup(scope, "eu-central-1", "/path/name/example");