serverless-application-model
serverless-application-model copied to clipboard
Stream BatchSize property ignored in SAM template
Hi, it seems that BatchSize specified in SAM template for DynamoDB streams is ignored.
LambdaFunction:
......
Events:
DynamoDBNewItemEvent:
Type: DynamoDB
Properties:
Stream:
"Fn::GetAtt": [ "TableFileImport", "StreamArn" ]
StartingPosition: "LATEST"
BatchSize: 10
I have compared the original template with processed one in CloudFormation and there is no BatchSize properties in the latter. The stream gets default BatchSize=100
The similar issue was posted on AWS Forum but for Kinesis Streams See there
Thanks for reporting this. Yeah, this is a bug with both Kinesis & DynamoDB streams. We will get this fixed soon.
This should be fixed. Can you verify?
thanks for fixing this!
I can confirm that at least for DynamoDB streams it is fixed