aws

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DynamoDBMaybeCreateTable

func DynamoDBMaybeCreateTable(ctx context.Context, client *dynamodb.Client, input *dynamodb.CreateTableInput) error

func NewAWSConfig

func NewAWSConfig(ctx context.Context, provider ConfigProvider) (aws.Config, error)

Types

type Config

type Config struct {
	AccessKeyID     string `yaml:"access_key_id"`
	SecretAccessKey string `yaml:"secret_access_key"`
	SessionToken    string `yaml:"session_token"`
	Region          string `yaml:"region"`
}

Config contains AWS KMS backend configuration

func (*Config) GetAccessKeyID

func (c *Config) GetAccessKeyID() string

func (*Config) GetRegion

func (c *Config) GetRegion() string

func (*Config) GetSecretAccessKey

func (c *Config) GetSecretAccessKey() string

func (*Config) GetSessionToken

func (c *Config) GetSessionToken() string

type ConfigProvider

type ConfigProvider interface {
	GetAccessKeyID() string
	GetSecretAccessKey() string
	GetSessionToken() string
}

type RegionProvider

type RegionProvider interface {
	GetRegion() string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL