Skip to content

DisassociateCustomDomain

Source: src/AWS/AppRunner/DisassociateCustomDomain.ts

Disassociate a custom domain from an App Runner Service from a Lambda (or other AWS runtime) — the teardown half of the multi-tenant SaaS domain flow when a customer removes their domain.

Provide AppRunner.DisassociateCustomDomainHttp on the hosting function’s Effect to implement the binding.

const disassociateCustomDomain =
yield* AppRunner.DisassociateCustomDomain(service);
yield* disassociateCustomDomain({ DomainName: "app.customer.com" });