AmazonSecurityTokenServiceConfig Class

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...
Configuration for accessing AWS Security Token Service service

Inheritance Hierarchy

System.Object
  Amazon.Runtime.ClientConfig
    Amazon.SecurityToken.AmazonSecurityTokenServiceConfig

Namespace: Amazon.SecurityToken
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public class AmazonSecurityTokenServiceConfig : ClientConfig

The AmazonSecurityTokenServiceConfig type exposes the following members

Constructors

  Name Description
Public Method AmazonSecurityTokenServiceConfig() Default constructor

Properties

  Name Description
Public Property AuthenticationRegion Gets and sets the AuthenticationRegion property. Used in AWS4 request signing, this is an optional property; change it only if the region cannot be determined from the service endpoint.
Public Property AuthenticationServiceName Gets and sets the AuthenticationServiceName property. Used in AWS4 request signing, this is the short-form name of the service being called.
Public Property BufferSize Gets and Sets the BufferSize property. The BufferSize controls the buffer used to read in from input streams and write out to the request.
Public Property ConnectionLimit Gets and sets the connection limit set on the ServicePoint for the WebRequest. Default value is 50 connections unless ServicePointManager.DefaultConnectionLimit is set in which case ServicePointManager.DefaultConnectionLimit will be used as the default.
Public Property LogMetrics Flag on whether to log metrics for service calls. This can be set in the application's configs, as below:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="AWSLogMetrics" value"true"/>
    </appSettings>
</configuration>
            
Public Property LogResponse Gets and sets the LogResponse. If this property is set to true, the service response is read in its entirety and logged.
Public Property MaxErrorRetry Gets and sets of the MaxErrorRetry property.
Public Property ProxyCredentials Credentials to use with a proxy.
Public Property ProxyHost Gets and sets of the ProxyHost property.
Public Property ProxyPassword Gets and sets the ProxyPassword property. Used in conjunction with the ProxyUsername property to authenticate requests with the specified Proxy server.
Public Property ProxyPort Gets and sets of the ProxyPort property.
Public Property ProxyUsername Gets and sets the ProxyUsername property. Used in conjunction with the ProxyPassword property to authenticate requests with the specified Proxy server.
Public Property ReadEntireResponse Gets and sets the ReadEntireResponse. If this property is set to true, the service response is read in its entirety before being processed.
Public Property RegionEndpoint Gets and sets the RegionEndpoint property. The region constant to use that determines the endpoint to use. If this is not set then the client will fallback to the value of ServiceURL.
Public Property ServiceURL Gets and sets of the ServiceURL property. This is an optional property; change it only if you want to try a different service endpoint.
Public Property ServiceVersion Gets the ServiceVersion property.
Public Property SignatureMethod Gets and sets of the signatureMethod property.
Public Property SignatureVersion Gets and sets of the SignatureVersion property.
Public Property UseHttp Gets and sets the UseHttp. If this property is set to true, the client attempts to use HTTP protocol, if the target endpoint supports it.
Public Property UseNagleAlgorithm Gets or sets a Boolean value that determines whether the Nagle algorithm is used on connections managed by the ServicePoint object used for requests to AWS. This is defaulted to false for lower latency with responses that return small amount of data. This is the opposite default then ServicePoint.UseNagleAlgorithm which is optimized for large responses like web pages or images.
Public Property UserAgent Gets and sets of the UserAgent property.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8

.NET for Windows Phone:
Supported in: Window Phone 8