Sha256: 83d63dc914bf38503df030b4dc569e52dfce6c9279aff59f2391d43d0aa85632
Contents?: true
Size: 432 Bytes
Versions: 15
Compression:
Stored size: 432 Bytes
Contents
module Jets::Job::Dsl module LogEvent def log_event(log_group_name, props={}) props.merge!(LogGroupName: log_group_name) declare_log_subscription_filter(props) end def declare_log_subscription_filter(props={}) r = Jets::Cfn::Resource::Logs::SubscriptionFilter.new(props) with_fresh_properties do resource(r.definition) # add associated resource immediately end end end end
Version data entries
15 entries across 15 versions & 1 rubygems