Sha256: 030c23bc95fb5232886aeb08463b7bd2e003dd75fd63e2d7d82ad70047500228

Contents?: true

Size: 342 Bytes

Versions: 12

Compression:

Stored size: 342 Bytes

Contents

# frozen_string_literal: true

module Awspec::Helper
  module Finder
    module Msk
      def find_msk_cluster_by_name(cluster_name)
        res = msk_client.list_clusters(
          {
            cluster_name_filter: cluster_name,
            max_results: 1
          }
        )
        res.cluster_info_list[0]
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
awspec-1.30.0 lib/awspec/helper/finder/msk.rb
awspec-1.29.3 lib/awspec/helper/finder/msk.rb
awspec-1.29.2 lib/awspec/helper/finder/msk.rb
awspec-1.29.1 lib/awspec/helper/finder/msk.rb
awspec-1.29.0 lib/awspec/helper/finder/msk.rb
awspec-1.28.2 lib/awspec/helper/finder/msk.rb
awspec-1.28.1 lib/awspec/helper/finder/msk.rb
awspec-1.28.0 lib/awspec/helper/finder/msk.rb
awspec-1.27.1 lib/awspec/helper/finder/msk.rb
awspec-1.27.0 lib/awspec/helper/finder/msk.rb
awspec-1.26.0 lib/awspec/helper/finder/msk.rb
awspec-1.25.2 lib/awspec/helper/finder/msk.rb