Skip to main content
Version: 2.1

TAWSSharedConfig

Class in AWS.Core

Shared configuration class.

Ancestors​

Properties​

ConfigEnabled​

property ConfigEnabled: Boolean

ConfigFilePath​

property ConfigFilePath: string

CredentialProcess​

property CredentialProcess: string

IgnoreConfiguredEndpointUrls​

property IgnoreConfiguredEndpointUrls: TOptional<Boolean>

MaxAttempts​

property MaxAttempts: TOptional<Integer>

CredentialsFilePath​

property CredentialsFilePath: string

ProfileName​

property ProfileName: string

Profiles​

property Profiles: TList<string>

Region​

property Region: string

RetryMode​

property RetryMode: string

SSOAccountId​

property SSOAccountId: string

SSORegion​

property SSORegion: string

SSORegistrationScopes​

property SSORegistrationScopes: string

SSORoleName​

property SSORoleName: string

SSOSession​

property SSOSession: string

SSOStartUrl​

property SSOStartUrl: string

UseDualstackEndpoint​

property UseDualstackEndpoint: TOptional<Boolean>

Credentials​

property Credentials: IAWSCredentials

IsAvailable​

property IsAvailable: Boolean

Constructors​

Create​

constructor Create(const AProfileName: string; AConfigFilePath: string = ''; ACredentialsFilePath: string = ''; AEnvironment: IAWSEnvironment = nil); overload;

IAWSEnvironment

Constructor for TAWSSharedConfig.

Parameters

NameDescription
AProfileNameProfile name to be used for fetching values.
AConfigFilePathOptional path to a config file to use. If left unset, the default file will be used if it exists.
ACredentialsFilePathOptional path to a shared credentials file to use. If left unset, the default file will be used if it exists.
AEnvironmentOptional environment object. If left unset a default environment object will be used.

constructor Create(const AProfileName: string; AConfigEnabled: Boolean; ACredentialsFilePath: string = ''; AEnvironment: IAWSEnvironment = nil); overload;

IAWSEnvironment

Constructor for TAWSSharedConfig.

Parameters

NameDescription
AProfileNameProfile name to be used for fetching values.
AConfigEnabledBoolean value indicating if the shared configuration is enabled. Ifthe default path will be used. Ifthe shared configuration file will not be loaded.
ACredentialsFilePathOptional path to a shared credentials file to use. If left unset, the default file will be used if it exists.
AEnvironmentOptional environment object. If left unset a default environment object will be used.