Socket
Book a DemoInstallSign in
Socket

route53-zone-file-exporter

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

route53-zone-file-exporter

Export AWS Route53 hosted zone data as a zone file

latest
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

route53-zone-file-exporter

version build license

Export Route53 hosted zone record sets into a zone file

Install

$ npm install -g route53-zone-file-exporter

CLI Usage

Usage: route53-zone-file-exporter [options]

Options:
  -V, --version                        output the version number
  -z, --zoneId <hosted-zone-id>        Route53 hosted zone ID
  --hostedZoneId <hosted-zone-id>      Route53 hosted zone ID (same as -z flag)
  -o --output <path>                   Output path to store zone file
  --accessKeyId <accessKeyId>          AWS accessKeyId
  --secretAccessKey <secretAccessKey>  AWS secretAccessKey
  -h, --help                           output usage information

API Usage

const exporter = require('route53-zone-file-exporter')

const options = {
  zoneId: 'AWSRoute53ZoneID',
  ttl: 3600,
  output: './exportedZoneFile'
}
// For full configuration options for aws config
// https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/Route53.html#constructor-property
const awsConfig = {}

exporter(options, awsConfig)
  .then(zoneFile => console.log(zoneFile))
  .catch(err => console.error(err))

Contributing

Contributions welcome! Please read the contributing guidelines first.

License

MIT

Keywords

aws

FAQs

Package last updated on 20 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts