ExternalProxy¶
Structure Class¶
ExternalProxy
dataclass
¶
Configuration for a customer-managed external proxy server. Includes server location, optional domain-based routing patterns, and authentication credentials.
Attributes¶
credentials
class-attribute
instance-attribute
¶
credentials: ProxyCredentials | None = None
Optional authentication credentials for the proxy server. If omitted, the proxy is accessed without authentication (useful for IP-allowlisted proxies).
domain_patterns
class-attribute
instance-attribute
¶
domain_patterns: list[str] | None = None
Optional array of domain patterns that should route through this
specific proxy. Supports .example.com for subdomain matching (matches
any subdomain of example.com) or example.com for exact domain
matching. If omitted, this proxy acts as a catch-all for domains not
matched by other proxies. Maximum 100 patterns per proxy, each up to 253
characters.
server
instance-attribute
¶
server: str
The hostname of the proxy server. Must be a valid DNS hostname (maximum 253 characters).