OptionalcertificateBYO certificate — avoids deprecated DnsValidatedCertificate when provided.
Domain name(s) for the hosting distribution. Accepts a single domain or an array for multi-domain setups.
OptionalhostedRoute 53 hosted zone domain name. When omitted (along with hostedZoneId), DNS records are not created — user manages DNS externally.
OptionalhostedRoute 53 hosted zone ID. Avoids HostedZone.fromLookup() which requires env: { account, region } on the stack. Useful in pipeline stages.
OptionalwwwRedirect www to apex (or vice versa) via a CloudFront Function.
Domain configuration for custom domain support. Supports multiple domains and optional www redirect.