DescribeCustomDomains
Source:
src/AWS/AppRunner/DescribeCustomDomains.ts
Describe the custom domains associated with an App Runner
Service from a Lambda (or other AWS runtime) — poll a domain’s
certificate validation status (PENDING_VALIDATION -> SUCCESS) after
AssociateCustomDomain, and read the DNSTarget customers point
their DNS at.
Provide AppRunner.DescribeCustomDomainsHttp on the hosting function’s
Effect to implement the binding.
Custom Domains
Section titled “Custom Domains”const describeCustomDomains = yield* AppRunner.DescribeCustomDomains(service);const { CustomDomains, DNSTarget } = yield* describeCustomDomains();const domain = CustomDomains.find((d) => d.DomainName === "app.customer.com");// domain?.Status -> "pending_certificate_dns_validation" | "active" | ...