Sha256: 04716a53cd2b55cfae0f0e391a195baa8f4735f4ef4a1b19b0e398a21a2f39cb
Contents?: true
Size: 348 Bytes
Versions: 153
Compression:
Stored size: 348 Bytes
Contents
module Awspec::Helper module Finder module CloudwatchEvent def find_cloudwatch_event(id) cloudwatch_event_client.list_rules.rules.find do |rule| rule.name == id || rule.arn == id end end def select_all_cloudwatch_events cloudwatch_event_client.list_rules.rules end end end end
Version data entries
153 entries across 153 versions & 4 rubygems