Where links come from
Links are declared in the module’s definition, so every instance of a module gets them automatically. Each link has two fields:
Because
href is templateable, links resolve per module instance. A link built from a stack output — a load balancer DNS name, a CloudFront domain, a function URL — points at that instance’s own resource, so the staging instance links to staging and the production instance links to production.
For example, rvn-aws-static links to the site’s primary domain: the first domain alias when aliases are configured, otherwise the default cloudfront.net domain.
For module authors
Declare links in theui.links array of your module definition. See UILink in the definition schema and template expressions for the values you can interpolate into href.