Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (34 sloc) 812 Bytes
---
AWSTemplateFormatVersion: 2010-09-09
Description: "RDS EventSubscription/SNS/SMS Alerts"
Parameters:
DBAlertPhoneNumber:
Type: String
Default: "{{resolve:ssm:/rds_demo/alert_phone:1}}"
Resources:
MyDBSNSTopic:
Type: AWS::SNS::Topic
Properties:
Subscription:
- Endpoint:
Ref: DBAlertPhoneNumber
Protocol: sms
TopicName: "RDSAlertTopic"
MyEventSubscription:
Properties:
Enabled: true
EventCategories:
- availability
- configuration change
- creation
- deletion
- failover
- failure
- recovery
SnsTopicArn:
Ref: MyDBSNSTopic
# SourceIds:
# - Ref: MyDB
# - Ref: MyReadReplica
SourceType: db-instance
Type: AWS::RDS::EventSubscription
You can’t perform that action at this time.