Class: Awspec::Generator::Doc::Type::Redshift
- Defined in:
- lib/awspec/generator/doc/type/redshift.rb
Instance Method Summary collapse
-
#initialize ⇒ Redshift
constructor
A new instance of Redshift.
Methods inherited from Base
#collect_matchers, #doc_template, #generate_doc, #sort_num, #type_name
Constructor Details
#initialize ⇒ Redshift
Returns a new instance of Redshift.
5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/awspec/generator/doc/type/redshift.rb', line 5 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 |