Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadAWSConfig ¶
func LoadAWSConfig(optFns ...func(*AWSConfigOptions) error) (aws.Config, error)
Load AWS configuration
Types ¶
type AWSConfigOptions ¶
type AWSConfigOptions struct {
Region string
}
AWSConfigOptions are discrete set of options that are valid for loading the configuration that is supported Axolgo
type AWSConfigOptionsFunc ¶
type AWSConfigOptionsFunc func(*AWSConfigOptions) error
AWSConfigOptionsFunc is a type alias for AWSConfigOptions functional option
func WithRegion ¶
func WithRegion(v string) AWSConfigOptionsFunc
WithRegion is a helper function to construct functional options that sets Region on config's AWSConfigOptions. If multiple WithRegion calls are made, the last call overrides the previous call values.
Click to show internal directories.
Click to hide internal directories.