Versions in this module Expand all Collapse all v0 v0.2.0 Apr 21, 2023 v0.1.0 Aug 26, 2019 Changes in this version + func LoadDynamoDB(ctx context.Context, source settings.Source, c *DynamoDBComponent) (*dynamodb.DynamoDB, error) + func LoadS3(ctx context.Context, source settings.Source, c *S3Component) (*s3.S3, error) + func LoadSession(ctx context.Context, source settings.Source, c *SessionComponent) (*session.Session, error) + func NewDynamoDB(ctx context.Context, source settings.Source) (*dynamodb.DynamoDB, error) + func NewS3(ctx context.Context, source settings.Source) (*s3.S3, error) + func NewSession(ctx context.Context, source settings.Source) (*session.Session, error) + type AssumeRoleCredentialConfig struct + ExternalID string + Role string + func (*AssumeRoleCredentialConfig) Name() string + type DynamoDBComponent struct + Session *SessionComponent + func NewDynamoDBComponent() *DynamoDBComponent + func (c *DynamoDBComponent) New(ctx context.Context, conf *DynamoDBConfig) (*dynamodb.DynamoDB, error) + func (c *DynamoDBComponent) Settings() *DynamoDBConfig + type DynamoDBConfig struct + Session *SessionConfig + func (*DynamoDBConfig) Name() string + type S3Component struct + Session *SessionComponent + func NewS3Component() *S3Component + func (c *S3Component) New(ctx context.Context, conf *S3Config) (*s3.S3, error) + func (c *S3Component) Settings() *S3Config + type S3Config struct + Session *SessionConfig + func (*S3Config) Name() string + type SessionComponent struct + func NewSessionComponent() *SessionComponent + func (*SessionComponent) New(ctx context.Context, conf *SessionConfig) (*session.Session, error) + func (*SessionComponent) Settings() *SessionConfig + type SessionConfig struct + AssumeRoleCredentialConfig *AssumeRoleCredentialConfig + Endpoint string + Region string + SharedCredentialConfig *SharedCredentialConfig + StaticCredentialConfig *StaticCredentialConfig + func (*SessionConfig) Name() string + type SharedCredentialConfig struct + File string + Profile string + func (*SharedCredentialConfig) Name() string + type StaticCredentialConfig struct + ID string + Secret string + Token string + func (*StaticCredentialConfig) Name() string