Sha256: 6018e29c64e1e19095835cc68f40133cb70e018211836785ade8512b06926a37

Contents?: true

Size: 314 Bytes

Versions: 15

Compression:

Stored size: 314 Bytes

Contents

# SqsEvent uses this module
module Jets::Job::Dsl
  module EventSourceMapping
    def event_source_mapping(props={})
      r = Jets::Cfn::Resource::Lambda::EventSourceMapping.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

Version Path
jets-5.0.13 lib/jets/job/dsl/event_source_mapping.rb
jets-5.0.12 lib/jets/job/dsl/event_source_mapping.rb
jets-5.0.11 lib/jets/job/dsl/event_source_mapping.rb
jets-5.0.10 lib/jets/job/dsl/event_source_mapping.rb
jets-5.0.9 lib/jets/job/dsl/event_source_mapping.rb
jets-5.0.8 lib/jets/job/dsl/event_source_mapping.rb
jets-5.0.7 lib/jets/job/dsl/event_source_mapping.rb
jets-5.0.6 lib/jets/job/dsl/event_source_mapping.rb
jets-5.0.5 lib/jets/job/dsl/event_source_mapping.rb
jets-5.0.4 lib/jets/job/dsl/event_source_mapping.rb
jets-5.0.3 lib/jets/job/dsl/event_source_mapping.rb
jets-5.0.2 lib/jets/job/dsl/event_source_mapping.rb
jets-5.0.1 lib/jets/job/dsl/event_source_mapping.rb
jets-5.0.0 lib/jets/job/dsl/event_source_mapping.rb
jets-5.0.0.beta1 lib/jets/job/dsl/event_source_mapping.rb