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