Documentation
¶
Overview ¶
Package stream provides DynamoDB Streams handlers for cascade operations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertStreamKey ¶
func ConvertStreamKey(streamKey map[string]events.DynamoDBAttributeValue) store.PK
ConvertStreamKey converts a DynamoDB stream key to a store.PK. Use this when you need to convert keys from stream records to store operations.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler processes DynamoDB stream events for cascade deletes.
func NewHandler ¶
NewHandler creates a new stream handler.
func (*Handler) HandleCascadeDelete ¶
HandleCascadeDelete processes DynamoDB stream events to propagate TTL to children. This function is designed to be used as an AWS Lambda handler.
Click to show internal directories.
Click to hide internal directories.