Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws/aws-domain-redirector

Package Overview
Dependencies
Maintainers
3
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws/aws-domain-redirector

AWS CDK construct to redirect one domain to another.

  • 0.1.17
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
53
increased by120.83%
Maintainers
3
Weekly downloads
 
Created
Source

AWS Domain Redirector

The AWS Domain Redirector construct builds the necessary resources to redirect all requests to one domain to a target domain of your choice. You can choose to redirect all requests to a static location or redirect to a dynamic location based on the request.

To create a Redirector, you need to provide:

  • An Amazon Route 53 Hosted Zone for the domain you want to redirect. This has to be created first because Route 53 needs to control the public domain in order for a Redirector instance to deploy.
  • An Amazon Virtual Private Cloud (Amazon VPC). This Amazon VPC does not need any special configuration, but resources that Redirector creates need a VPC to exist. To avoid stacks with multiple Redirector instances creating many Amazon VPCs, Redirector does not create its own Amazon VPCs.
    • NOTE: If you only use this VPC for Redirector, you should set natGateways to 0 to avoid unnecessary costs.
  • RedirectOptions that define what the Redirector should redirect requests to.

Further Reading

Security

See CONTRIBUTING for more information.

License

This project is licensed under the Apache-2.0 License.

Keywords

FAQs

Package last updated on 18 Jan 2022

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc