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

Version Path
awspec-0.87.0 lib/awspec/helper/finder/cloudwatch_event.rb
awspec-0.86.0 lib/awspec/helper/finder/cloudwatch_event.rb
cmonson_2ndwatch_awspec-0.85.4 lib/awspec/helper/finder/cloudwatch_event.rb
awspec-0.85.3 lib/awspec/helper/finder/cloudwatch_event.rb
cmonson_2ndwatch_awspec-0.85.3 lib/awspec/helper/finder/cloudwatch_event.rb
awspec-0.85.2 lib/awspec/helper/finder/cloudwatch_event.rb
awspec-0.85.1 lib/awspec/helper/finder/cloudwatch_event.rb
awspec-0.85.0 lib/awspec/helper/finder/cloudwatch_event.rb
awspec-0.84.1 lib/awspec/helper/finder/cloudwatch_event.rb
awspec-0.84.0 lib/awspec/helper/finder/cloudwatch_event.rb
awspec-0.83.0 lib/awspec/helper/finder/cloudwatch_event.rb
awspec-0.82.3 lib/awspec/helper/finder/cloudwatch_event.rb
awspec-0.82.2 lib/awspec/helper/finder/cloudwatch_event.rb
awspec-0.82.1 lib/awspec/helper/finder/cloudwatch_event.rb
awspec-0.82.0 lib/awspec/helper/finder/cloudwatch_event.rb
awspec-0.81.1 lib/awspec/helper/finder/cloudwatch_event.rb
awspec-0.81.0 lib/awspec/helper/finder/cloudwatch_event.rb
awspec-0.80.1 lib/awspec/helper/finder/cloudwatch_event.rb
awspec-0.80.0 lib/awspec/helper/finder/cloudwatch_event.rb
awspec-0.79.2 lib/awspec/helper/finder/cloudwatch_event.rb