2.0.45 • Published 3 years ago

typescript-aws-ssm-helper v2.0.45

Weekly downloads
56
License
MIT
Repository
github
Last release
3 years ago

CI/CD codecov NPM Version Downloads

Install

npm install typescript-aws-ssm-helper@latest

Usage

Default - running in Lambda in your own account

const logger = new Logger(LogLevel.Trace);

const helper = new SSMHelper(logger);

const response = await helper.GetParametersByPathAsync('path');

Running in separate account or not in Lambda

import * as SSM from '@aws-sdk/client-ssm';

const logger = new Logger(LogLevel.Trace);

const options: SSM.SSMClientConfig = {
  accessKeyId: '{access_key}',
  secretAccessKey: '{secret_key}',
  region: 'us-east-1',
};

const repository = new SSM.SSM(options);

const helper = new SSMHelper(logger, repository);

const response = await helper.GetParametersByPathAsync('path');

Notes

If no options are supplied, will default to us-east-1 as the region

Development

Clone the latest and run

npm run prep

to install packages and prep the git hooks

2.0.45

3 years ago

2.0.44

3 years ago

2.0.43

4 years ago

2.0.42

4 years ago

2.0.41

4 years ago

2.0.40

4 years ago

2.0.31

4 years ago

2.0.39

4 years ago

2.0.15

4 years ago

1.0.191

4 years ago

2.0.14

4 years ago

2.0.2

4 years ago

1.0.169

5 years ago

1.0.156

5 years ago

1.0.129

5 years ago

1.0.108

5 years ago

1.0.95

5 years ago

1.0.80

5 years ago

1.0.64

5 years ago

1.0.43

5 years ago

1.0.41

5 years ago

1.0.29

5 years ago

1.0.31

5 years ago

1.0.19

5 years ago

1.0.18

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.21

5 years ago

1.0.10

5 years ago

1.0.15

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago