Identifier.
OptionalenabledWhether the configured hostname is routable for the domain. If disabled, then requests to the configured hostname will not be routed to the configured Worker. If disabled, then preview routing must be enabled, and only subdomains of the configured hostname will be routable.
OptionalenvironmentWorker environment associated with the domain.
Hostname of the domain. Can be either the zone apex or a subdomain of the zone. Requests to this hostname will be routed to the configured Worker.
OptionalpreviewsWhether previews are routable for the domain. If enabled, previews will be routable as subdomains of the configured hostname. For example, if the configured hostname is app.example.com, then requests to my-feature.app.example.com will be routed to the preview with slug my-feature, if such a preview exists. If preview routing is disabled, then hostname routing must be enabled.
Name of the Worker associated with the domain. Requests to the configured hostname will be routed to this Worker.
OptionalzoneID of the zone containing the domain hostname.
OptionalzoneName of the zone containing the domain hostname.
Properties for creating a Cloudflare Workers Custom Domain
See
[Pulumi Cloudflare WorkersCustomDomain]https://www.pulumi.com/registry/packages/cloudflare/api-docs/workercustomdomain/