Class: Vaws::Aws::EcsDescriber
- Defined in:
- lib/vaws/aws/ecs_describer.rb
Instance Method Summary collapse
-
#initialize ⇒ EcsDescriber
constructor
A new instance of EcsDescriber.
- #terminal_table(opt_tasks:, opt_networks:, opt_services:) ⇒ Object
Methods inherited from Describer
Constructor Details
#initialize ⇒ EcsDescriber
Returns a new instance of EcsDescriber.
7 8 9 |
# File 'lib/vaws/aws/ecs_describer.rb', line 7 def initialize @ecs_client = ::Aws::ECS::Client.new end |
Instance Method Details
#terminal_table(opt_tasks:, opt_networks:, opt_services:) ⇒ Object
11 12 13 14 15 16 17 18 |
# File 'lib/vaws/aws/ecs_describer.rb', line 11 def terminal_table(opt_tasks:, opt_networks:, opt_services:) single_option_validation(opt_tasks, opt_networks, opt_services) table = tasks if opt_tasks table = networks if opt_networks table = services if opt_services table = clusters if opt_tasks.nil? && opt_networks.nil? && opt_services.nil? table end |