@cfn-modules/lambda-event-source-kinesis-data-stream
v0.1.0
Published
Kinesis data stream event source for AWS Lambda function
Downloads
3
Keywords
Readme
cfn-modules: AWS Lambda event source: Kinesis data stream
Kinesis data stream event source for AWS Lambda function.
Install
Install Node.js and npm first!
npm i @cfn-modules/lambda-event-source-kinesis-data-stream
Usage
---
AWSTemplateFormatVersion: '2010-09-09'
Description: 'cfn-modules example'
Resources:
EventSource:
Type: 'AWS::CloudFormation::Stack'
Properties:
Parameters:
LambdaModule: !GetAtt 'Function.Outputs.StackName' # required
DataStreamModule: !GetAtt 'DataStream.Outputs.StackName' # required
BatchSize: '10' # optional
StartingPosition: 'LATEST' # optional
TemplateURL: './node_modules/@cfn-modules/lambda-event-source-kinesis-data-stream/module.yml'