DnscontrolStack
Overview
The DnscontrolStack class represents a stack for managing DNSControl configuration. It collects domain, provider, and registrar constructs and outputs a IR file.
Constructor
scope: Parent construct.id: Unique identifier for the stack.props.stackMetadataPath(optional): Output file name for the stack metadata (default:"meta.json").
Methods
synth
Synthesizes the DNSControl configuration and writes it as IR to the specified output directory.
This method usually should be called by the App class.
Usage Example
Notes
- All domains, providers, and registrars added to the stack will be included in the output.
- The output file will be placed in the directory specified by
App.outDir.