Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnvDynamoDBEndpoint ¶
func EnvDynamoDBEndpoint() string
EnvDynamoDBEndpoint get DynamoDB endpoint from env vars.
Types ¶
type Config ¶
type Config struct {
Region string
CommonEndpoint string
Endpoints Endpoints
Logger log.Logger
EnableDefaultCreds bool
// Static Credentials
AccessKey string
SecretKey string
// File Credentials
Filename string
Profile string
// DefaultPrefix is used for service resource prefix
// e.g.) DynamoDB table, S3 bucket, SQS Queue
DefaultPrefix string
// Specific sevice's options
S3ForcePathStyle bool
// Custom Function to wrap errors.
ErrWrap func(errors.ErrorData) error
}
Config has AWS settings.
Click to show internal directories.
Click to hide internal directories.