Versions in this module Expand all Collapse all v11 v11.3.3 Dec 13, 2022 Changes in this version + const BackendName + const DefaultReadCapacityUnits + const DefaultWriteCapacityUnits + func GetIndexID(tableName, indexName string) string + func GetName() string + func GetTableID(tableName string) string + func SetAutoScaling(ctx context.Context, svc *applicationautoscaling.ApplicationAutoScaling, ...) error + func SetContinuousBackups(ctx context.Context, svc dynamodbiface.DynamoDBAPI, tableName string) error + func TurnOnStreams(ctx context.Context, svc dynamodbiface.DynamoDBAPI, tableName string) error + func TurnOnTimeToLive(ctx context.Context, svc dynamodbiface.DynamoDBAPI, tableName string, ...) error + type AutoScalingParams struct + ReadMaxCapacity int64 + ReadMinCapacity int64 + ReadTargetValue float64 + WriteMaxCapacity int64 + WriteMinCapacity int64 + WriteTargetValue float64 + type Backend struct + func New(ctx context.Context, params backend.Params) (*Backend, error) + func (b *Backend) Clock() clockwork.Clock + func (b *Backend) Close() error + func (b *Backend) CloseWatchers() + func (b *Backend) CompareAndSwap(ctx context.Context, expected backend.Item, replaceWith backend.Item) (*backend.Lease, error) + func (b *Backend) Create(ctx context.Context, item backend.Item) (*backend.Lease, error) + func (b *Backend) Delete(ctx context.Context, key []byte) error + func (b *Backend) DeleteRange(ctx context.Context, startKey, endKey []byte) error + func (b *Backend) Get(ctx context.Context, key []byte) (*backend.Item, error) + func (b *Backend) GetRange(ctx context.Context, startKey []byte, endKey []byte, limit int) (*backend.GetResult, error) + func (b *Backend) KeepAlive(ctx context.Context, lease backend.Lease, expires time.Time) error + func (b *Backend) NewWatcher(ctx context.Context, watch backend.Watch) (backend.Watcher, error) + func (b *Backend) Put(ctx context.Context, item backend.Item) (*backend.Lease, error) + func (b *Backend) Update(ctx context.Context, item backend.Item) (*backend.Lease, error) + type Config struct + AccessKey string + BufferSize int + EnableAutoScaling bool + EnableContinuousBackups bool + PollStreamPeriod time.Duration + ReadCapacityUnits int64 + ReadMaxCapacity int64 + ReadMinCapacity int64 + ReadTargetValue float64 + Region string + RetryPeriod time.Duration + SecretKey string + TableName string + WriteCapacityUnits int64 + WriteMaxCapacity int64 + WriteMinCapacity int64 + WriteTargetValue float64 + func (cfg *Config) CheckAndSetDefaults() error Other modules containing this package github.com/zmb3/teleport