Sha256: b34e06f12f644dab548f241ff3d7cda8759a883cf3994b8f11805ce4d49e2784

Contents?: true

Size: 429 Bytes

Versions: 133

Compression:

Stored size: 429 Bytes

Contents

module Jets::Job::Dsl
  module LogEvent
    def log_event(log_group_name, props={})
      props.merge!(log_group_name: log_group_name)
      declare_log_subscription_filter(props)
    end

    def declare_log_subscription_filter(props={})
      r = Jets::Resource::Logs::SubscriptionFilter.new(props)
      with_fresh_properties do
        resource(r.definition) # add associated resource immediately
      end
    end
  end
end

Version data entries

133 entries across 133 versions & 3 rubygems

Version Path
jets-3.1.2 lib/jets/job/dsl/log_event.rb
jets-3.1.1 lib/jets/job/dsl/log_event.rb
jets-3.1.0 lib/jets/job/dsl/log_event.rb
jets-3.0.23 lib/jets/job/dsl/log_event.rb
jets-3.0.22 lib/jets/job/dsl/log_event.rb
jets-3.0.21 lib/jets/job/dsl/log_event.rb
jets-3.0.20 lib/jets/job/dsl/log_event.rb
jets-3.0.19 lib/jets/job/dsl/log_event.rb
jets-3.0.18 lib/jets/job/dsl/log_event.rb
jets-3.0.17 lib/jets/job/dsl/log_event.rb
jets-3.0.16 lib/jets/job/dsl/log_event.rb
jets-3.0.15 lib/jets/job/dsl/log_event.rb
jets-3.0.14 lib/jets/job/dsl/log_event.rb
jets-3.0.13 lib/jets/job/dsl/log_event.rb
jets-3.0.12 lib/jets/job/dsl/log_event.rb
jets-3.0.11 lib/jets/job/dsl/log_event.rb
jets-3.0.10 lib/jets/job/dsl/log_event.rb
jets-3.0.9 lib/jets/job/dsl/log_event.rb
jets-3.0.8 lib/jets/job/dsl/log_event.rb
jets-3.0.7 lib/jets/job/dsl/log_event.rb