{"id":20993492,"url":"https://github.com/aws-quickstart/cloudwatch-alarm-macro","last_synced_at":"2025-05-14T20:34:25.347Z","repository":{"id":36485345,"uuid":"197822835","full_name":"aws-quickstart/cloudwatch-alarm-macro","owner":"aws-quickstart","description":null,"archived":false,"fork":false,"pushed_at":"2022-03-25T18:07:46.000Z","size":22,"stargazers_count":12,"open_issues_count":2,"forks_count":13,"subscribers_count":7,"default_branch":"master","last_synced_at":"2023-06-14T22:31:34.113Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aws-quickstart.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-19T18:21:28.000Z","updated_at":"2023-06-14T22:31:34.113Z","dependencies_parsed_at":"2022-08-08T15:01:49.806Z","dependency_job_id":null,"html_url":"https://github.com/aws-quickstart/cloudwatch-alarm-macro","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws-quickstart%2Fcloudwatch-alarm-macro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws-quickstart%2Fcloudwatch-alarm-macro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws-quickstart%2Fcloudwatch-alarm-macro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws-quickstart%2Fcloudwatch-alarm-macro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aws-quickstart","download_url":"https://codeload.github.com/aws-quickstart/cloudwatch-alarm-macro/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225309968,"owners_count":17454089,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T07:15:05.214Z","updated_at":"2024-11-19T07:15:06.029Z","avatar_url":"https://github.com/aws-quickstart.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cloudwatch-alarm-macro\nNow Supports CloudFormation Conditions\n\nCloudFormation Macro that will append a set of CloudWatch alarms for supported resources.\n\n## Included alarms\nAmazon Elastic Compute Cloud (Amazon EC2), load balancers, Lambda, and Network address translation (NAT) gateways\n\n|Service | Alarm   | Description  |\n|---|---|---|\n|Amazon EC2  | CPUUtilization  | CPU utilization percentage  |\n|Amazon EC2  |  StatusCheckFailed_Instance |  Health check for the instance |\n|Application Load Balancer  | HTTPCode_ELB_5XX_Count  |   The number of HTTP 5XX server error codes that originate from the load balancer|\n|Application Load Balancer | RejectedConnectionCount  |  Rejected connections due to the load balancer reaching its maximum number of connections |\n|Network Load Balancer |  UnHealthyHostCount |  The number of targets that are considered unhealthy |\n|Network Load Balancer  | HealthyHostCount  |  The number of targets that are considered healthy |\n|Lambda  |  Errors | The number of invocations that failed due to errors in the function (response code 4XX)  |\n|Lambda  |  Invocations |  The number of times a function is invoked in response to an event or invocation API call |\n|NAT Gateway |  ErrorPortAllocation | The number of times the NAT gateway could not allocate a source port  |\n|NAT Gateway  | ActiveConnectionCount  |  The total number of concurrent active TCP connections through the NAT gateway |\n\n## usage\n\nTo use the macro, add the following line to the top of your templates:\n\nTransform: AlarmMacro\n\nA sample template has been provided in /samples\n\n\n## macro order for serverless templates\n\nIf you are deploying a serverless template please ensure you list this macro after the serverless transform\n\nTransform: [\"AWS::Serverless-2016-10-31\", \"AlarmMacro\"]\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faws-quickstart%2Fcloudwatch-alarm-macro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faws-quickstart%2Fcloudwatch-alarm-macro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faws-quickstart%2Fcloudwatch-alarm-macro/lists"}