You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setup of a Lambda function with CloudWatch Alarms.
The following boolean variables control which alarms will be enabled;
create_errorRate_alarm: Alarms on errors with a default of threshold of 1 percent during a 5 minute measurement period
create_throttleCount_alarm: Alarm on throttle count of 1 within 1 minute measurement period
create_iteratorAge_alarm: Alarm for Stream based invocations such as Kinesis, alerts you when the time to execute is over 1 minute within a 5 minute measurement period
create_deadLetterQueue_alarm: Alarm for DLQueue messages (for async Lambda invocations or SQS queues for example), 1 message within 1 minute triggers the alarm.
This AWS Lambda module can integrate with the following:
API Gateway: The parameter create_api_gateway_integration is set to true by default, supply the api_gateway_rest_api_id
SNS Topic: The parameter create_sns_topic_subscription is set to false by default.
SQS: The parameter create_sqs_integration is set to false by default. This can create an event source mapping to an SQS queue.
How to use:
Use the code below in combination with the tf-iam module (module.iam.role_arn) to set the correct IAM policies.