Table of Contents

Class AmazonSecurityTokenServiceConfig

Namespace
Amazon.SecurityToken
Assembly
AWSSDK.SecurityToken.dll

Configuration for accessing Amazon SecurityTokenService service

public class AmazonSecurityTokenServiceConfig : ClientConfig
Inheritance
AmazonSecurityTokenServiceConfig

Constructors

AmazonSecurityTokenServiceConfig()

Default constructor

public AmazonSecurityTokenServiceConfig()

Properties

RegionEndpointServiceName

The constant used to lookup in the region hash the endpoint.

public override string RegionEndpointServiceName { get; }

Property Value

string

ServiceVersion

Gets the ServiceVersion property.

public override string ServiceVersion { get; }

Property Value

string

StsRegionalEndpoints

StsRegionalEndpoints should be set to Amazon.Runtime.StsRegionalEndpointsValue.Legacy to resolve to the global sts endpoint (only for legacy global regions) or StsRegionalEndpointsValue.Regional to resolve to the regional sts endpoint. The default value for StsRegionalEndpoints is StsRegionalEndpointsValue.Legacy.

Get the Sts Regional Flag value by checking the environment variable, the shared credentials file field, or falling back to Amazon.Runtime.Internal.IDefaultConfigurationProvider and using Amazon.Runtime.DefaultConfiguration.StsRegionalEndpoints

public StsRegionalEndpointsValue StsRegionalEndpoints { get; set; }

Property Value

StsRegionalEndpointsValue

UserAgent

Gets the value of UserAgent property.

public override string UserAgent { get; }

Property Value

string

Methods

DetermineServiceURL()

Override DetermineServiceURL to set the url to the global endpoint if the sts regional flag is equal to legacy and the region is a legacy global region

public override string DetermineServiceURL()

Returns

string

url: A string url for the request