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