Sha256: 2a1792f4044a5e27faef8c38a3f3c8b0ef5a271ecd5692713ee20298d7a32b25

Contents?: true

Size: 674 Bytes

Versions: 12

Compression:

Stored size: 674 Bytes

Contents

# frozen_string_literal: true

module Awspec::Generator
  module Doc
    module Type
      class Redshift < Base
        def initialize
          super
          @type_name = 'Redshift'
          @type = Awspec::Type::Redshift.new('my-redshift')
          @ret = @type.resource_via_client
          @matchers = [
            Awspec::Type::Redshift::STATES.map { |state| "be_#{state.tr('-', '_')}" }.join(', '),
            'belong_to_vpc',
            'belong_to_cluster_subnet_group'
          ]
          @ignore_matchers = Awspec::Type::Redshift::STATES.map { |state| "be_#{state.tr('-', '_')}" }
          @describes = %w[vpc_id]
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

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