Reputation: 33
Does CloudFormation support or have the ability to create DB event subscriptions(RDS)? I failed to find any reference in AWS document...
Thanks
Upvotes: 0
Views: 1272
Reputation: 1320
The latest version of CloudFormation, at the time of this writing, actually supports performing this by creating a "AWS::RDS::EventSubscription" resource in your stack.
"myEventSubscription": { "Type": "AWS::RDS::EventSubscription", "Properties": { "EventCategories": ["configuration change", "failure", "deletion"], "SnsTopicArn": "arn:aws:sns:us-west-2:123456789012:example-topic", "SourceIds": ["db-instance-1", { "Ref" : "myDBInstance" }], "SourceType":"db-instance", "Enabled" : false } }
Upvotes: 1