Sha256: c0b5f0aa688d021edc64b13a33be5838dcfb4982fed2ae6be787ca4018dc3efd
Contents?: true
Size: 477 Bytes
Versions: 13
Compression:
Stored size: 477 Bytes
Contents
module Awspec::Type class Lambda < Base def initialize(id) super @resource_via_client = find_lambda(id) @id = @resource_via_client[:function_arn] if @resource_via_client end def timeout @resource_via_client[:timeout] end def has_event_source?(event_source_arn) sources = select_event_source_by_function_arn(@id) sources.find do |source| source.event_source_arn == event_source_arn end end end end
Version data entries
13 entries across 13 versions & 1 rubygems