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;
Constructor for TAWSSharedConfig.
Parameters
| Name | Description |
|---|---|
AProfileName | Profile name to be used for fetching values. |
AConfigFilePath | Optional path to a config file to use. If left unset, the default file will be used if it exists. |
ACredentialsFilePath | Optional path to a shared credentials file to use. If left unset, the default file will be used if it exists. |
AEnvironment | Optional 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;
Constructor for TAWSSharedConfig.
Parameters
| Name | Description |
|---|---|
AProfileName | Profile name to be used for fetching values. |
AConfigEnabled | Boolean value indicating if the shared configuration is enabled. Ifthe default path will be used. Ifthe shared configuration file will not be loaded. |
ACredentialsFilePath | Optional path to a shared credentials file to use. If left unset, the default file will be used if it exists. |
AEnvironment | Optional environment object. If left unset a default environment object will be used. |