Endpoint: Amazon SNS
marbot helps you to create an SNS topic:
- Add marbot to Slack or Microsoft Teams.
- Invite marbot to a channel.
@marbot Create an SNS topicto the channel.
- Follow the wizard in the channel.
- Amazon CloudWatch Alarm
- Amazon DevOps Guru Notification
- Amazon ElastiCache Notification
- Amazon EventBridge (previously CloudWatch Events)
- Amazon Inspector Notification
- Amazon S3 Event Notifications
- Amazon Simple Email Service (SES) Event
- Amazon Simple Email Service (SES) Notification
- AWS Auto Scaling Notification
- AWS Backup Notification
- AWS Budget Notification
- AWS CodePipeline Approval
- AWS CodeStar Notification
- AWS Elastic Beanstalk Notification
- AWS IoT Device Defender Violation Event
- AWS RDS Event
- AWS Trusted Advisor Weekly Update
marbot checks if the
X-Alert-Key message attribute is present. Incoming events with the same
X-Alert-Key value result in a single alert.
Otherwise, marbot looks at the payload:
- If the message originates from an AWS services, marbot uses AWS context knowledge to aggregate incoming events.
- If only one field is transmitted, marbot aggregates incoming events with the same field value.
- If more than one field is transmitted, marbot aggregates incoming events with the same field keys.
marbot might not be reachable (request timeout, connection error) or might respond with HTTP status codes of 500-599. In all those cases, SNS retries message delivery to marbot until marbot response with HTTP status code 204.
To avoid alert duplicates in the case of retries, marbot uses the
MessageId on SNS messages for uniqueness. Each message id can only be used once every ~24 hours.