Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

@serverless/domain

Package Overview
Dependencies
2
Maintainers
5
Versions
29
Issues
File Explorer

Advanced tools

@serverless/domain

Easily provision custom domains for:

    6.1.0latest
    npm

Version published
Maintainers
5
Weekly downloads
530
decreased by-26.69%

Weekly downloads

Readme

Source

Domain

Easily provision custom domains for:

  • Static websites hosted on AWS CloudFront & AWS S3 via the Website Component.
  • APIs built via the Backend Component.

Inputs

domain: component: '@serverless/domain' inputs: privateZone: false domain: mywebsite.com subdomains: www: ${websiteComponentInstance} api: ${backendComponentInstance} admin: ${anotherWebsiteComponentInstance}

Set-Up

First, you must purchase your domain within Route53 manually. Then add it to the Component, as demonstrated above.

Using With The Website Component

When used with the Website Component, the domain component will...

  • Create an AWS ACM Certificate, if one does not already exists for the domain.
  • Create an AWS Cloudfront Distribution that uses the AWS ACM Certificate.
  • Create Records in AWS Route 53 to point your custom domain to your AWS Cloudfront Distribution.

FAQs

Last updated on 07 Oct 2019

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc