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-4.0.12 lib/jets/job/dsl/log_event.rb
jets-4.0.11 lib/jets/job/dsl/log_event.rb
jets-4.0.10 lib/jets/job/dsl/log_event.rb
jets-4.0.9 lib/jets/job/dsl/log_event.rb
jets-4.0.8 lib/jets/job/dsl/log_event.rb
jets-4.0.7 lib/jets/job/dsl/log_event.rb
jets-4.0.6 lib/jets/job/dsl/log_event.rb
jets-4.0.5 lib/jets/job/dsl/log_event.rb
jets-4.0.4 lib/jets/job/dsl/log_event.rb
jets-4.0.3 lib/jets/job/dsl/log_event.rb
jets-4.0.2 lib/jets/job/dsl/log_event.rb
jets-4.0.1 lib/jets/job/dsl/log_event.rb
jets-4.0.0 lib/jets/job/dsl/log_event.rb
jets-3.2.2 lib/jets/job/dsl/log_event.rb
jets-3.2.1 lib/jets/job/dsl/log_event.rb
jets.benforeva-3.0.17.pre.mount.pre.fix lib/jets/job/dsl/log_event.rb
jets-3.2.0 lib/jets/job/dsl/log_event.rb
jets-3.1.5 lib/jets/job/dsl/log_event.rb
jets-3.1.4 lib/jets/job/dsl/log_event.rb
jets-3.1.3 lib/jets/job/dsl/log_event.rb