Skip to content

ExternalProxy

Source code in docs_src/capo_bedrock_agentcore/types/external_proxy.py
class ExternalProxy(TypedDict, closed=True):
    server: "capo_bedrock_agentcore.types.host_name.HostName"
    """<p>The hostname of the proxy server. Must be a valid DNS hostname (maximum 253 characters).</p>"""
    port: "int"
    """<p>The port number of the proxy server. Valid range: 1-65535.</p>"""
    domain_patterns: NotRequired[
        "capo_bedrock_agentcore.types.domain_patterns.DomainPatterns"
    ]
    """<p>Optional array of domain patterns that should route through this specific proxy. Supports <code>.example.com</code> for subdomain matching (matches any subdomain of example.com) or <code>example.com</code> 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.</p>"""
    credentials: NotRequired[
        "capo_bedrock_agentcore.types.proxy_credentials.ProxyCredentials"
    ]
    """<p>Optional authentication credentials for the proxy server. If omitted, the proxy is accessed without authentication (useful for IP-allowlisted proxies).</p>"""

credentials instance-attribute

credentials: NotRequired[ProxyCredentials]

Optional authentication credentials for the proxy server. If omitted, the proxy is accessed without authentication (useful for IP-allowlisted proxies).

domain_patterns instance-attribute

domain_patterns: NotRequired[DomainPatterns]

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.

port instance-attribute

port: int

The port number of the proxy server. Valid range: 1-65535.

server instance-attribute

server: HostName

The hostname of the proxy server. Must be a valid DNS hostname (maximum 253 characters).