class Awspec::Type::Lambda

Public Instance Methods

has_event_source?(event_source_arn) click to toggle source
# File lib/awspec/type/lambda.rb, line 15
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
id() click to toggle source
# File lib/awspec/type/lambda.rb, line 7
def id
  @id ||= resource_via_client.function_arn if resource_via_client
end
resource_via_client() click to toggle source
# File lib/awspec/type/lambda.rb, line 3
def resource_via_client
  @resource_via_client ||= find_lambda(@display_name)
end
timeout() click to toggle source
# File lib/awspec/type/lambda.rb, line 11
def timeout
  resource_via_client.timeout
end