Documentation ¶
Overview ¶
Package claws provides the official AWS SDK (v2)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New( cfg Config, logs *zap.Logger, trp trace.TracerProvider, txtp propagation.TextMapPropagator, ) (aws.Config, error)
New initialize an AWS config to be used to create clients for individual aws services. We would like run this during fx lifecycle phase to provide it with a context because it can block. But too many dependencies would have to wait for it.
Types ¶
type Config ¶
type Config struct { // LoadConfigTimeout bounds the time given to config loading LoadConfigTimeout time.Duration `env:"LOAD_CONFIG_TIMEOUT" envDefault:"100ms"` // OverwriteAccessKeyID can be set to overwrite regular credentials loading chain and just a static key/secret OverwriteAccessKeyID string `env:"OVERWRITE_ACCESS_KEY_ID"` // If OverwriteAccessKeyID this wil be used as the secret OverwriteSecretAccessKey string `env:"OVERWRITE_SECRET_ACCESS_KEY"` // If OverwriteAccessKeyID this wil be used as the session token OverwriteSessionToken string `env:"OVERWRITE_SESSION_TOKEN"` // enable logging of SDK retries LogRetries bool `env:"LOG_RETRIES" envDefault:"false"` // enable logging of SDK request LogRequest bool `env:"LOG_REQUEST" envDefault:"false"` // enable logging of SDK responses LogResponse bool `env:"LOG_RESPONSE" envDefault:"false"` }
Config configures this package.
Directories ¶
Path | Synopsis |
---|---|
Package clalbauthn functionality for dealing with requests that passed trough AWS ALB authentication action.
|
Package clalbauthn functionality for dealing with requests that passed trough AWS ALB authentication action. |
Package clecsmeta provides metadata information about the ECS instance the code is running on.
|
Package clecsmeta provides metadata information about the ECS instance the code is running on. |
Click to show internal directories.
Click to hide internal directories.