User guide
Table Of Contents
- AWS SDK for .NET
- Table of Contents
- AWS SDK for .NET Developer Guide
- Getting Started with the AWS SDK for .NET
- Programming with the AWS SDK for .NET
- AWS SDK for .NET Tutorials and Examples
- Managing ASP.NET Session State with Amazon DynamoDB
- Tutorial: Creating Amazon EC2 Instances with the AWS SDK for .NET
- Tutorial: Grant Access Using an IAM Role and the AWS SDK for .NET
- Tutorial: Amazon EC2 Spot Instances
- Creating and Using an Amazon SQS Queue with the AWS SDK for .NET
- Creating an Amazon Route 53 Hosted Zone and Adding Resource Record Sets
- Additional Resources
- Document History

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:
• None – Turn 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