lib/jets/stack/main/extensions/sns.rb in jets-1.7.2 vs lib/jets/stack/main/extensions/sns.rb in jets-1.8.0

- old
+ new

@@ -3,9 +3,13 @@ def sns_topic(id, props={}) resource(id, "AWS::SNS::Topic", props) output(id) # Topic Arn end + def sns_topic_policy(id, props={}) + resource(id, "AWS::SNS::TopicPolicy", props) + end + def sns_subscription(id, props={}) resource(id, "AWS::SNS::Subscription", props) end end end \ No newline at end of file