mapbox / magic-cfn-resources

Build Lambda-backed custom CloudFormation resources ✨
4 stars 5 forks source link

add S3BucketNotificationConfiguration resource #10

Closed kellyoung closed 6 years ago

kellyoung commented 7 years ago

Add the ability to configure a topic to get notifications from an S3 bucket on CloudFormation stack creation, update and delete.

For creation and update: it will make a call to getNotificationConfiguration to see what configurations are there and putNotificationConfiguration with the new Topic, event, and filters.

For delete: the resource will remove the configuration created in the stack.

cc: @rclark @jakepruitt

rclark commented 7 years ago

This will be so nice in the future!