DynamoDB Stream Source
See DynamoDB Stream sample for an example of how to use the DynamoDB Stream source.
Syntax
DynamoDB: String|Expression
BatchSize: Int|Expression
StartingPosition: String|Expression
Properties
BatchSize
-
The
BatchSize
attribute specifies the maximum number of messages to receive from the DynamoDB stream. The value must be in the range from 1 to 100.Required: No
Type: Int or Expression
DynamoDB
-
The
DynamoDB
attribute specifies the name of a resource parameter of typeAWS::DynamoDB::Table
that the Lambda function receives messages from.Required: Yes
Type: String or Expression
StartingPosition
-
The
StartingPosition
attribute specifies the position in the DynamoDB stream where the Lambda function should start reading. For more information, see GetShardIterator in the Amazon DynamoDB API Reference Guide.Required: No
Type: String or Expression
Valid Values:
TRIM_HORIZON
|LATEST