Sha256: 9f288bbcf673caf7842b541818362b24741b49492cc7b681219ed976f0c1f63e

Contents?: true

Size: 514 Bytes

Versions: 13

Compression:

Stored size: 514 Bytes

Contents

# frozen_string_literal: true

module Awspec::Type
  class RedshiftClusterParameterGroup < ResourceBase
    def resource_via_client
      @resource_via_client ||= select_all_redshift_cluster_parameters(@display_name)
    end

    def id
      @id ||= @display_name unless resource_via_client.empty?
    end

    def method_missing(name)
      param_name = name.to_s
      if resource_via_client.include?(param_name)
        resource_via_client[param_name].to_s
      else
        super
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
awspec-1.31.0 lib/awspec/type/redshift_cluster_parameter_group.rb
awspec-1.30.0 lib/awspec/type/redshift_cluster_parameter_group.rb
awspec-1.29.3 lib/awspec/type/redshift_cluster_parameter_group.rb
awspec-1.29.2 lib/awspec/type/redshift_cluster_parameter_group.rb
awspec-1.29.1 lib/awspec/type/redshift_cluster_parameter_group.rb
awspec-1.29.0 lib/awspec/type/redshift_cluster_parameter_group.rb
awspec-1.28.2 lib/awspec/type/redshift_cluster_parameter_group.rb
awspec-1.28.1 lib/awspec/type/redshift_cluster_parameter_group.rb
awspec-1.28.0 lib/awspec/type/redshift_cluster_parameter_group.rb
awspec-1.27.1 lib/awspec/type/redshift_cluster_parameter_group.rb
awspec-1.27.0 lib/awspec/type/redshift_cluster_parameter_group.rb
awspec-1.26.0 lib/awspec/type/redshift_cluster_parameter_group.rb
awspec-1.25.2 lib/awspec/type/redshift_cluster_parameter_group.rb