1.0.6 • Published 3 years ago
aws-service-utils v1.0.6
aws-service-utils
What is aws-service-utils?
This package is a ever growing collection of aws functionalities written in typescript available to you in form of utils
Contribution
Currently this package only supports secretsmanager service. Expect others in future versions
Installation
$ npm i aws-service-utils
Usage
const { secretsManager } = require('aws-service-utils').services;
async function getConfig() {
const secret = await secretsManager.getSecret({
secretName: 'secretName',
region: 'ap-south-1'
});
return secret;
}