Method: Awspec::Helper::Finder::Ecs#find_ecs_container_instance

Defined in:
lib/awspec/helper/finder/ecs.rb

#find_ecs_container_instance(cluster, uuid) ⇒ Object



11
12
13
14
# File 'lib/awspec/helper/finder/ecs.rb', line 11

def find_ecs_container_instance(cluster, uuid)
  res = ecs_client.describe_container_instances(cluster: cluster, container_instances: [uuid])
  res.container_instances.single_resource(uuid)
end