serverless-plugin-subscription-filter
serverless-plugin-subscription-filter copied to clipboard
Increase filter subscription support with new limit
Current aws allow 2 filter subscription now so pls help review the PR
...
functions:
monitoring:
handler: handler.main
layers:
- "${cf:create-lambda-layers-ops.BtinDashpython311DashrequestsLambdaLayerQualifiedArn}"
- "${cf:create-lambda-layers-ops.BtinDashpython311DashmarshmallowLambdaLayerQualifiedArn}"
timeout: 60
tags:
monitoring: 'true'
events:
- subscriptionFilter:
stage: ops
logGroupName: /aws/lambda/log-group
filterPattern: '{ ($.errorCode = "pattern-1") }'
- subscriptionFilter:
stage: ops
logGroupName: /aws/lambda/log-group
filterPattern: '{ ($.eventName = "pattern-2*") }'