Class: Awspec::Generator::Doc::Type::RdsProxy
- Defined in:
- lib/awspec/generator/doc/type/rds_proxy.rb
Instance Method Summary collapse
-
#initialize ⇒ RdsProxy
constructor
A new instance of RdsProxy.
Methods inherited from Base
#collect_matchers, #doc_template, #generate_doc, #sort_num, #type_name
Constructor Details
#initialize ⇒ RdsProxy
Returns a new instance of RdsProxy.
7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/awspec/generator/doc/type/rds_proxy.rb', line 7 def initialize super @type_name = 'RdsProxy' @type = Awspec::Type::RdsProxy.new('my-rds-proxy') @ret = @type.resource_via_client @matchers = [ Awspec::Type::RdsProxy::STATES.map { |state| "be_#{state.tr('-', '_')}" }.join(', '), 'belong_to_vpc', 'belong_to_subnet' ] @ignore_matchers = Awspec::Type::RdsProxy::STATES.map { |state| "be_#{state.tr('-', '_')}" } @describes = %w[vpc_id] end |