Carlos Daniel
12/22/2021, 10:06 PMFrank
Frank
StaticSite
construct deploys web apps to S3 + CloudFront. And you can configure a custom domain with domains in your Route53 account. It looks like this:
new StaticSite(this, "Site", {
path: "path/to/src",
customDomain: "<http://domain.com|domain.com>",
});
Frank
Carlos Daniel
12/23/2021, 12:18 PMCarlos Daniel
12/23/2021, 12:18 PM