Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OptSetLogger ¶
OptSetLogger sets the logger to use.
func OptSetManager ¶
OptSetManager sets the manager to use.
func OptSetStats ¶
OptSetStats sets the metrics aggregator to use.
Types ¶
type AWSCredentialsConfig ¶
type AWSCredentialsConfig struct { ID string `json:"id" yaml:"id"` Secret string `json:"secret" yaml:"secret"` Token string `json:"token" yaml:"token"` Role string `json:"role" yaml:"role"` }
AWSCredentialsConfig contains configuration params for AWS credentials.
type Config ¶
type Config struct { Credentials AWSCredentialsConfig `json:"credentials" yaml:"credentials"` Region string `json:"region" yaml:"region"` Function string `json:"function" yaml:"function"` TimeoutMS int64 `json:"timeout_ms" yaml:"timeout_ms"` NumRetries int `json:"retries" yaml:"retries"` RateLimit string `json:"rate_limit" yaml:"rate_limit"` }
Config contains configuration fields for the Lambda client.
Click to show internal directories.
Click to hide internal directories.