class Awspec::Type::EcsContainerInstance
Constants
- STATES
Attributes
Public Class Methods
Source
# File lib/awspec/type/ecs_container_instance.rb, line 7 def initialize(container_instance) super @display_name = container_instance.split('/').last end
Calls superclass method
Public Instance Methods
Source
# File lib/awspec/type/ecs_container_instance.rb, line 16 def id @id ||= resource_via_client.container_instance_arn if resource_via_client end
Source
# File lib/awspec/type/ecs_container_instance.rb, line 12 def resource_via_client @resource_via_client ||= find_ecs_container_instance(cluster, @display_name) end