class Awspec::Type::EcsTaskDefinition
Constants
- STATES
Public Class Methods
new(taskdef)
click to toggle source
Calls superclass method
# File lib/awspec/type/ecs_task_definition.rb, line 3 def initialize(taskdef) super @display_name = taskdef end
Public Instance Methods
id()
click to toggle source
# File lib/awspec/type/ecs_task_definition.rb, line 12 def id @id ||= "#{resource_via_client.family}:#{resource_via_client.revision}" if resource_via_client end
resource_via_client()
click to toggle source
# File lib/awspec/type/ecs_task_definition.rb, line 8 def resource_via_client @resource_via_client ||= find_ecs_task_definition(@display_name) end