parameter-store-to-object
v1.0.2
Published
Creates a plain JS object from AWS Parameter Store paths
Downloads
4
Readme
parameter-store-to-object
Installation
yarn add parameter-store-to-object
Usage
import ssmParamsToObj from 'parameter-store-to-object'
import * as aws from 'aws-sdk'
const getSSMParameters = async () => {
let ssm = new aws.SSM({region: 'us-east-1'})
return await ssmParamsToObj(
ssm,
['path:/foo/bar', '/foo/boz/baz'],
{relativeTo: '/foo'}
)
}