Module: AWSCDK::Lambda::StartingPosition
- Defined in:
- lambda/starting_position.rb
Overview
The position in the DynamoDB, Kinesis or MSK stream where AWS Lambda should start reading.
Constant Summary collapse
- TRIM_HORIZON =
Deprecated.Note:
Default:
Start reading at the last untrimmed record in the shard in the system, which is the oldest data record in the shard.
Jsii::Enum.new("aws-cdk-lib.aws_lambda.StartingPosition", "TRIM_HORIZON")
- LATEST =
Deprecated.Note:
Default:
Start reading just after the most recent record in the shard, so that you always read the most recent data in the shard.
Jsii::Enum.new("aws-cdk-lib.aws_lambda.StartingPosition", "LATEST")
- AT_TIMESTAMP =
Deprecated.Note:
Default:
Start reading from a position defined by a time stamp.
Only supported for Amazon Kinesis streams, otherwise an error will occur. If supplied,
starting_position_timestampmust also be set. Jsii::Enum.new("aws-cdk-lib.aws_lambda.StartingPosition", "AT_TIMESTAMP")