StartingPosition

class aws_cdk.aws_lambda.StartingPosition(value)

Bases: enum.Enum

The position in the DynamoDB, Kinesis or MSK stream where AWS Lambda should start reading.

Attributes

LATEST

Start reading just after the most recent record in the shard, so that you always read the most recent data in the shard.

TRIM_HORIZON

Start reading at the last untrimmed record in the shard in the system, which is the oldest data record in the shard.