Sha256: fdb7487226fb64690a0f1007e09ba96669034db488e24462ab082383271ccd1e

Contents?: true

Size: 311 Bytes

Versions: 13

Compression:

Stored size: 311 Bytes

Contents

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

13 entries across 13 versions & 1 rubygems

Version Path
awspec-1.25.1 lib/awspec/helper/finder/msk.rb
awspec-1.25.0 lib/awspec/helper/finder/msk.rb
awspec-1.24.4 lib/awspec/helper/finder/msk.rb
awspec-1.24.3 lib/awspec/helper/finder/msk.rb
awspec-1.24.2 lib/awspec/helper/finder/msk.rb
awspec-1.24.1 lib/awspec/helper/finder/msk.rb
awspec-1.24.0 lib/awspec/helper/finder/msk.rb
awspec-1.23.0 lib/awspec/helper/finder/msk.rb
awspec-1.22.1 lib/awspec/helper/finder/msk.rb
awspec-1.22.0 lib/awspec/helper/finder/msk.rb
awspec-1.21.1 lib/awspec/helper/finder/msk.rb
awspec-1.21.0 lib/awspec/helper/finder/msk.rb
awspec-1.20.0 lib/awspec/helper/finder/msk.rb