Develop consumers using Amazon Lambda - Amazon Kinesis Data Streams
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Develop consumers using Amazon Lambda

You can use an Amazon Lambda function to process records in a data stream. Amazon Lambda is a compute service that lets you run code without provisioning or managing servers. It executes your code only when needed and scales automatically, from a few requests per day to thousands per second. You pay only for the compute time you consume. There is no charge when your code is not running. With Amazon Lambda, you can run code for virtually any type of application or backend service, all with zero administration. It runs your code on a high-availability compute infrastructure and performs all of the administration of the compute resources, including server and operating system maintenance, capacity provisioning and automatic scaling, code monitoring and logging. For more information, see Using Amazon Lambda with Amazon Kinesis.

For troubleshooting information, see Why is Kinesis Data Streams trigger unable to invoke my Lambda function?