Skip to content

DomainOverride

Structure Class

DomainOverride dataclass

Bases: _SerdeShape

The public domain names for a gateway that clients reach through your own proxy or custom domain. When you configure a domain override, the gateway advertises these domains instead of the inbound Host header in the URLs that it returns for OAuth discovery, such as the protected resource metadata and the WWW-Authenticate challenge.

Attributes

alternate_domains class-attribute instance-attribute
alternate_domains: list[str] | None = ...

Additional public domain names for the gateway, up to 10. Don't repeat the default domain or list a domain more than once. A request can select one of these domains, or the default domain, with the x-amzn-bedrock-agentcore-gateway-domain header. The gateway rejects a request that selects a domain that isn't configured.

default_domain instance-attribute
default_domain: str

The default public domain name for the gateway. The gateway advertises this domain when a request doesn't select a specific domain.