Open b-tin opened 3 months ago
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*") }'
Current aws allow 2 filter subscription now so pls help review the PR