class Awspec::Type::EcsService

Constants

STATES

Attributes

cluster[RW]

Public Class Methods

new(service) click to toggle source
Calls superclass method
# File lib/awspec/type/ecs_service.rb, line 4
def initialize(service)
  super
  @display_name = service
end

Public Instance Methods

id() click to toggle source
# File lib/awspec/type/ecs_service.rb, line 13
def id
  @id ||= resource_via_client.service_name if resource_via_client
end
resource_via_client() click to toggle source
# File lib/awspec/type/ecs_service.rb, line 9
def resource_via_client
  @resource_via_client ||= find_ecs_service(cluster, @display_name)
end