class Awspec::Generator::Doc::Type::Redshift
Public Class Methods
new()
click to toggle source
Calls superclass method
Awspec::Generator::Doc::Type::Base::new
# File lib/awspec/generator/doc/type/redshift.rb, line 7 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