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.0.6 lib/jets/job/dsl/log_event.rb
jets-3.0.5 lib/jets/job/dsl/log_event.rb
jets-3.0.4 lib/jets/job/dsl/log_event.rb
jets-3.0.3 lib/jets/job/dsl/log_event.rb
jets-2.3.19 lib/jets/job/dsl/log_event.rb
jets-3.0.2 lib/jets/job/dsl/log_event.rb
jets-3.0.1 lib/jets/job/dsl/log_event.rb
jets-3.0.0 lib/jets/job/dsl/log_event.rb
jets-2.3.18 lib/jets/job/dsl/log_event.rb
jets-2.3.17 lib/jets/job/dsl/log_event.rb
jets-2.3.16 lib/jets/job/dsl/log_event.rb
jets-2.3.15 lib/jets/job/dsl/log_event.rb
jets-2.3.14 lib/jets/job/dsl/log_event.rb
jets-2.3.13 lib/jets/job/dsl/log_event.rb
jets-2.3.12 lib/jets/job/dsl/log_event.rb
jets-2.3.11 lib/jets/job/dsl/log_event.rb
jets-2.3.10 lib/jets/job/dsl/log_event.rb
jets-2.3.9 lib/jets/job/dsl/log_event.rb
jets-2.3.8 lib/jets/job/dsl/log_event.rb
jets-2.3.7 lib/jets/job/dsl/log_event.rb