Config
This class defines the configuration settings for an AWS package. It includes parameters for specifying the AWS region, account ID, number of retries for operations, and the SDK log level.
Attributes
| Attribute | Type | Description |
|---|---|---|
| Region | string | AWS Region to connect to. |
| AccountID | string | AWS Account Identifier. |
| Retries | int | Number of retries. |
| LogLevel | aws.ClientLogMode | Defines the Sdk Log Level. |
Methods
GetSdkConfig()
@classmethod
def GetSdkConfig() - > (aws.Config, error)
Retrieves the SDK configuration, including region, account ID, retry settings, and log level.
Returns
| Type | Description |
|---|---|
(aws.Config, error) | A tuple containing the AWS SDK configuration object and an error if one occurred during retrieval. |