This is slightly different than regular cloudformation yaml file syntax.
To include other files in the main yaml file:
functions: - ${file(relative path to lambda yaml)} #list resources resources: # DynamoDB/sqs/s3/other resources and its exported data. - ${file(relative path to other resources yml file)}
AWS serverless support for sqs maximum concurrency support
12 Jan 2023 AWS introduced maximum concurrency of AWS Lambda functions when using Amazon SQS as an event source (see release announcement here and compute blog from AWS)
PR: Add Max Concurrency configuration for AWS sqs.
Serverless sqs maximum concurrency support
AWS lambda cloudformation sqs template
As of serverless@2.72.4, these don’t work so the serverless documentation is lying
events: - sqs: scalingConfig: MaximumConcurrency: 2 //tried maximumConcurrency too
events: - sqs: maximumConcurrency: 250