Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Copy ¶
func Copy(cfg *config.DynamoDBCopyConfig) error
Copy copy dynamodb items from origin to target table. This performs BatchGetItems from origin dynamodb table, and BatchPutItems to target dynamodb table.
Types ¶
type DynamoDBConfig ¶
type DynamoDBConfig struct { Region string TableName string // Endpoint required for local. Endpoint string }
DynamoDBConfig represents required parameters to open a remote session with dynamodb table.
type SyncDynamoDBConfig ¶
type SyncDynamoDBConfig struct { Origin *DynamoDBConfig Target *DynamoDBConfig }
SyncDynamoDBConfig includes origin and target dynamodb configs
Click to show internal directories.
Click to hide internal directories.