Method: Awspec::Helper::Finder::Ecs#find_ecs_container_instance
- Defined in:
- lib/awspec/helper/finder/ecs.rb
#find_ecs_container_instance(cluster, arn_or_uuid) ⇒ Object
9 10 11 12 |
# File 'lib/awspec/helper/finder/ecs.rb', line 9 def find_ecs_container_instance(cluster, arn_or_uuid) res = ecs_client.describe_container_instances(cluster: cluster, container_instances: [arn_or_uuid]) res.container_instances.single_resource(arn_or_uuid) end |