Table of Contents

Class ProfileAWSEndpointDiscoveryEnabled

Namespace
Amazon.Runtime
Assembly
AWSSDK.Core.dll

Determines endpoint discovery enabled based on a CredentialProfile stored in an ICredentialProfileSource. If the profile doesn't exist or there is no endpoint discovery enabled information an InvalidOperationException is thrown.

[Obsolete("This class has been deprecated in favor of ProfileAWSConfiguration.")]
public class ProfileAWSEndpointDiscoveryEnabled
Inheritance
ProfileAWSEndpointDiscoveryEnabled
Inherited Members

Constructors

ProfileAWSEndpointDiscoveryEnabled(ICredentialProfileSource)

Attempts to construct an instance of ProfileAWSEndpointDiscoveryEnabled. If the AWS_PROFILE environment variable is set the instance will be constructed using that profile, otherwise it will use the default profile.

If the profile doesn't exist or there is no endpoint discovery enabled information an InvalidOperationException is thrown.

public ProfileAWSEndpointDiscoveryEnabled(ICredentialProfileSource source)

Parameters

source ICredentialProfileSource

The ICredentialProfileSource to read the profile from.

ProfileAWSEndpointDiscoveryEnabled(ICredentialProfileSource, string)

Attempts to construct an instance of ProfileAWSEndpointDiscoveryEnabled. If the profile doesn't exist or there is no endpoint discovery enabled information an InvalidOperationException is thrown.

public ProfileAWSEndpointDiscoveryEnabled(ICredentialProfileSource source, string profileName)

Parameters

source ICredentialProfileSource

The ICredentialProfileSource to read the profile from.

profileName string

The name of the profile.

Properties

Enabled

public bool Enabled { get; }

Property Value

bool