Created
February 15, 2021 17:26
-
-
Save totegamma/9dd1393d1b71d45ea39994e30afa10ea to your computer and use it in GitHub Desktop.
AWS Cloud-Watch Alarm Event via SNS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Records":[ | |
{ | |
"EventSource":"aws:sns", | |
"EventVersion":"1.0", | |
"EventSubscriptionArn":"arn:aws:sns:ap-northeast-1:<省略>", | |
"Sns":{ | |
"Type":"Notification", | |
"MessageId":"<省略 なんかID>", | |
"TopicArn":"arn:aws:sns:ap-northeast-1:<省略>", | |
"Subject":"ALARM: \"compile error\" in Asia Pacific (Tokyo)", | |
"Message":"{ \"AlarmName\": \"\u30A2\u30E9\u30FC\u30E0\u540D\", \"AlarmDescription\": \"\u30A2\u30E9\u30FC\u30E0\u8A73\u7D30\", \"AWSAccountId\": \"\u30A2\u30AB\u30A6\u30F3\u30C8ID\", \"NewStateValue\": \"ALARM\", \"NewStateReason\": \"Threshold Crossed: 1 out of the last 1 datapoints [1.0 (15\/02\/21 14:52:00)] was greater than or equal to the threshold (1.0) (minimum 1 datapoint for OK -> ALARM transition).\", \"StateChangeTime\": \"2021-02-15T14:57:14.419+0000\", \"Region\": \"Asia Pacific (Tokyo)\", \"AlarmArn\": \"\u30A2\u30E9\u30FC\u30E0\u306EARN\", \"OldStateValue\": \"INSUFFICIENT_DATA\", \"Trigger\": { \"MetricName\": \"Errors\", \"Namespace\": \"AWS\/Lambda\", \"StatisticType\": \"Statistic\", \"Statistic\": \"MAXIMUM\", \"Unit\": null, \"Dimensions\": [ { \"value\": \"Lambda\u95A2\u6570\u540D\", \"name\": \"FunctionName\" } ], \"Period\": 300, \"EvaluationPeriods\": 1, \"ComparisonOperator\": \"GreaterThanOrEqualToThreshold\", \"Threshold\": 1, \"TreatMissingData\": \"- TreatMissingData: ignore\", \"EvaluateLowSampleCountPercentile\": \"\" } }", | |
"Timestamp":"2021-02-15T15:53:14.501Z", | |
"SignatureVersion":"1", | |
"Signature":"<省略 なんか証明>", | |
"SigningCertUrl":"<省略 なんかpem>", | |
"UnsubscribeUrl":"https://sns.ap-northeast-1.amazonaws.com/?Action=Unsubscribe<省略>", | |
"MessageAttributes":{ | |
} | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment