Skip to main content

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

AttributeTypeDescription
RegionstringAWS Region to connect to.
AccountIDstringAWS Account Identifier.
RetriesintNumber of retries.
LogLevelaws.ClientLogModeDefines 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

TypeDescription
(aws.Config, error)A tuple containing the AWS SDK configuration object and an error if one occurred during retrieval.