class Awspec::Type::Emr
Constants
- READY_STATES
- STARTING_STATES
- STATES
Attributes
Public Class Methods
Source
# File lib/awspec/type/emr.rb, line 7 def initialize(id) super @id = id end
Calls superclass method
Public Instance Methods
Source
# File lib/awspec/type/emr.rb, line 26 def applications resource_via_client.applications.map { |a| { name: a.name, version: a.version } } end
Source
# File lib/awspec/type/emr.rb, line 34 def ok? READY_STATES.include?(resource_via_client.status.state) end
Source
# File lib/awspec/type/emr.rb, line 12 def resource_via_client @resource_via_client ||= find_emr_cluster(@id) end