0.0.10 • Published 1 year ago

aws-cdk-split-horizon-dns v0.0.10

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

AWS CDK Split Horizon DNS Construct

Small construct to help manage split-horizon DNS configs in AWS Route53

npm version

View on Construct Hub

Getting Started

These instructions will give you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on deploying the project on a live system.

See the API Doc for extended details Also see unit tests for extended usage details.

npm install aws-cdk-split-horizon-dns Then in your code:

import { SplitHorizonDns, AliasTarget } from 'aws-cdk-split-horizon-dns'

const firstTarget: AliasTarget = {
  target: ['8.8.8.8'],
  private: true,
};

const bucketWebsite = new s3.Bucket(stack, 'BucketWebsite', {
  bucketName: exampleDomain, // www.example.com
  publicReadAccess: true,
  websiteIndexDocument: 'index.html',
});

const constructTarget: AliasTarget = {
  target: new targets.BucketWebsiteTarget(bucketWebsite),
  public: true,
};

new SplitHorizonDns(scope, 'MyDNS', {
  zoneName: 'example.com',
  privateZoneVpcs: [vpc],
  targets: [constructTarget, firstTarget],
})

Prerequisites

Requirements for the software and other tools to build, test and push

Built With

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use Semantic Versioning for versioning. For the versions available, see the tags on this repository.

Authors

  • Billie Thompson - Provided README Template - PurpleBooth
  • Dakota Lewallen - Initial development - IamFlowz

See also the list of contributors who participated in this project.

License

Apache. See LICENSE

Acknowledgments

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago