Show / Hide Table of Contents

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 BatchSize attribute 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 Kinesis attribute specifies the name of a resource parameter of type AWS::Kinesis::Stream that the Lambda function receives messages from.

Required: Yes

Type: String or Expression

StartingPosition

The StartingPosition attribute 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

In This Article
Back to top Generated by DocFX