1.3.0 • Published 2 months ago
aws-info v1.3.0
aws-info
const { endpoint, regionName } = require('aws-info');
// https://s3.amazonzaws.com
const s3Endpoint = endpoint('S3', 'us-east-1');
// Canada (Central)
const name = regionName('ca-central-1');
You can also access the raw data:
const { data } = require('aws-info');
// data.regions ...
// data.services ...