Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 341 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 341 Bytes

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 ...