HTTP Proxy Support
To enable HTTP Proxy Support, define the following variables in the AWS Management Console:
Environment Variable | Description | Example Value |
---|---|---|
APPDYNAMICS_HTTP_PROXY_HOST
|
Publicly-accessible hostname of the proxy. |
myproxy.example.com
|
APPDYNAMICS_HTTP_PROXY_PORT
|
Port on which the proxy is running. |
8080
|
APPDYNAMICS_HTTP_PROXY_SERVER_CERTIFICATE
|
Relative path to the proxy server's certificate. Required if your proxy server runs on a self-signed certificate for your AWS Lambda function to trust the proxy. If you have configured your runtime environment to trust your proxy server, you do not need this variable. |
resources/proxy-cert.pem
|
Additionally, you can add credentials for your proxy server's basic authentication. Add the following variables in the AWS Management Console:
Environment Variable | Description | Example Value |
---|---|---|
APPDYNAMICS_HTTP_PROXY_USER
|
Username associated with your basic authentication. |
user1
|
APPDYNAMICS_HTTP_PROXY_PASSWORD
|
Relative path to the proxy server's basic authentication password. Required for your proxy server's password to trust your AWS Lambda function. |
password123
|
APPDYNAMICS_HTTP_PROXY_PASSWORD_FILE
|
Plaintext file to the proxy server's basic authentication password file. Update your deployment package to contain the proxy server's password file. Required for your proxy server's password to trust your AWS Lambda function. |
resources/proxy-password.txt
|
APPDYNAMICS_HTTP_PROXY_PASSWORD
or
APPDYNAMICS_HTTP_PROXY_PASSWORD_FILE
. If you include both, the tracer
only passes APPDYNAMICS_HTTP_PROXY_PASSWORD_FILE
.