Sha256: 095d27718878e3ca6769b166875c8d61e93bc3012ea1eafa6c14585f2989ac12
Contents?: true
Size: 804 Bytes
Versions: 6
Compression:
Stored size: 804 Bytes
Contents
sns <%= region.inspect %> do <%- topics_by_name.each do |name, topic| -%> topic <%= name.inspect %> do display_name <%= topic[:attrs].attributes['DisplayName'].inspect %> effective_delivery_policy do <%= JSON.parse(topic[:attrs].attributes['EffectiveDeliveryPolicy']).pretty_inspect.gsub(/^/, ' ') -%> end policy do <%= JSON.parse(topic[:attrs].attributes['Policy']).pretty_inspect.gsub(/^/, ' ') -%> end <%- if topic[:subscriptions] -%> subscriptions do <%- (topic[:subscriptions] || []).each do |subscription| -%> subscription protocol: <%= subscription.protocol.inspect %>, endpoint: <%= subscription.endpoint.inspect %> <%- end -%> end <%- end -%> end <%- if topics_by_name.keys.last != name -%> <%- end -%> <%- end -%> end
Version data entries
6 entries across 6 versions & 1 rubygems