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