User guide

Table Of Contents
AmazonS3Config config = new AmazonS3Config();
config.ProxyCredentials = new NetworkCredential("foo", "bar");
Earlier versions of the SDK used ProxyUsername and ProxyPassword, but these properties have been
deprecated.
Configuring Other Application Parameters
In addition to configuring credentials (p. 9), you can configure a number of other application parameters:
AWSEndpointDefinition (p. 13)
AWSLogging (p. 13)
AWSLogMetrics (p. 14)
AWSRegion (p. 14)
AWSResponseLogging (p. 14)
AWS.DynamoDBContext.TableNamePrefix (p. 15)
AWS.EC2.UseSignatureVersion4 (p. 15)
AWS.S3.UseSignatureVersion4 (p. 15)
These parameters can be configured in either the application's .config file, with the SDK for .NET API,
or both.
Additional Application Parameters
AWSEndpointDefinition
Configures whether the SDK should use a custom configuration file that defines the regions and en-
dpoints.
To set the endpoint definition file in the .config file, set the AWSEndpointDefinition key in the
<appSettings> section:
<add key="AWSEndpointDefinition" value="c:\config\endpoints.xml"/>
To set the endpoint definition file with the SDK for .NET API, set the AWSConfigs.EndpointDefinition
property:
AWSConfigs.EndpointDefinition = @"c:\config\endpoints.xml";
If no filename is provided, then a custom configuration file will not be used. Changes to this setting
take effect only for new AWS client instances.
AWSLogging
Configures how the SDK should log events, if at all. For example:
<add key="AWSLogging" value="log4net"/>
The possible values are:
NoneTurn off event logging. This is the default.
log4net – Log using log4net.
SystemDiagnostics – Log using System.Diagnostics.
Version v2.0.0
13
AWS SDK for .NET Developer Guide
Additional Application Parameters