Documentation
¶
Index ¶
- func NewConfig(ctx context.Context, authOptions auth.Options, opts ...ConfigOption) (aws.Config, error)
- func WithCredentialProvider(provider aws.CredentialsProvider) func(*ConfigOptions)
- func WithHTTPClient(client *http.Client) func(*ConfigOptions)
- type ConfigLoadOptions
- type ConfigOption
- type ConfigOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithCredentialProvider ¶
func WithCredentialProvider(provider aws.CredentialsProvider) func(*ConfigOptions)
WithCredentialProvider allows for passing a custom credential provider, this is not cached - wrap the credential provider with a NewCredentialCache if you wish.
func WithHTTPClient ¶
func WithHTTPClient(client *http.Client) func(*ConfigOptions)
Types ¶
type ConfigLoadOptions ¶
type ConfigLoadOptions []func(*config.LoadOptions) error
type ConfigOption ¶
type ConfigOption func(*ConfigOptions)
type ConfigOptions ¶
type ConfigOptions struct { CredentialProvider aws.CredentialsProvider HTTPClient *http.Client }
Click to show internal directories.
Click to hide internal directories.