module Awspec::Helper::Finder::CloudwatchEvent
Public Instance Methods
find_cloudwatch_event(id)
click to toggle source
# File lib/awspec/helper/finder/cloudwatch_event.rb, line 6 def find_cloudwatch_event(id) cloudwatch_event_client.list_rules.rules.find do |rule| rule.name == id || rule.arn == id end end
select_all_cloudwatch_events()
click to toggle source
# File lib/awspec/helper/finder/cloudwatch_event.rb, line 12 def select_all_cloudwatch_events cloudwatch_event_client.list_rules.rules end