examples-local-stream-event

command
v6.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: Apache-2.0 Imports: 16 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command examples-local-stream-event performs a real DynamoDB write (and, in ttl-remove mode, a real delete) and reads the resulting record from the table's DynamoDB stream with DescribeStream, GetShardIterator and GetRecords.

It never derives a record from the stored item. The record's event id, sequence number, keys, images and stream ARN all come from DynamoDB Local Streams. The one local substitution is the documented TTL service identity on a REMOVE record: DynamoDB Local does not run the TTL sweeper, so the harness deletes the item itself and adds the identity AWS documents for TTL deletes (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/time-to-live-ttl-streams.html).

See scripts/local/internal/streams for the reader, the Lambda event shape and the deviations the local backend has.

Jump to

Keyboard shortcuts

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