View a markdown version of this page

Proxy options - Amazon Athena

Proxy options

Proxy host

If you require users to go through a proxy, use this parameter to set the proxy host. This parameter corresponds to the ClientConfiguration.proxyHost parameter in the AWS SDK. For more information, see AWS Client configuration in the AWS SDK for C++ Developer Guide.

Connection string name Parameter type Default value Connection string example
ProxyHost Optional none ProxyHost=127.0.0.1;

Proxy port

Use this parameter to set the proxy port. This parameter corresponds to the ClientConfiguration.proxyPort parameter in the AWS SDK. For more information, see AWS Client configuration in the AWS SDK for C++ Developer Guide.

Connection string name Parameter type Default value Connection string example
ProxyPort Optional none ProxyPort=8888;

Proxy user name

Use this parameter to set the proxy user name. This parameter corresponds to the ClientConfiguration.proxyUserName parameter in the AWS SDK. For more information, see AWS Client configuration in the AWS SDK for C++ Developer Guide.

Connection string name Parameter type Default value Connection string example
ProxyUID Optional none ProxyUID=username;

Proxy password

Use this parameter to set the proxy password. This parameter corresponds to the ClientConfiguration.proxyPassword parameter in the AWS SDK. For more information, see AWS Client configuration in the AWS SDK for C++ Developer Guide.

Connection string name Parameter type Default value Connection string example
ProxyPWD Optional none ProxyPWD=password;

Non proxy host

Use this optional parameter to specify a host that the driver connects to without using a proxy. This parameter corresponds to the ClientConfiguration.nonProxyHosts parameter in the AWS SDK. For more information, see AWS Client configuration in the AWS SDK for C++ Developer Guide.

The driver passes the comma-separated NonProxyHost value to the nonProxyHosts member of the SDK client configuration. The HTTP client determines how the bypass entries are applied.

Windows behavior

The driver selects the WinHTTP client on Windows. Configure proxy bypass entries according to the behavior supported by that HTTP client.

Connection string name Parameter type Default value Connection string example
NonProxyHost Optional none. See Windows behavior. NonProxyHost=.amazonaws.com,localhost,.example.net,.example.com;

Use proxy

Enables the specified proxy for SDK service clients. The process-wide HTTP client factory also injects this proxy into subsequently created SDK HTTP clients that do not have an explicit proxy host, including identity-provider clients when UseProxyForIdP=0.

Process-wide settings for concurrent connections

Proxy settings used by the SDK HTTP client factory are process-wide. A later connection can replace or clear these settings for subsequently created clients. Explicit client proxy settings take precedence over factory injection.

Connection string name Parameter type Default value Connection string example
UseProxy Optional none UseProxy=1;