class Awspec::Type::Eks

Constants

STATES

Public Class Methods

new(name) click to toggle source
Calls superclass method
# File lib/awspec/type/eks.rb, line 3
def initialize(name)
  super
  @name = name
end

Public Instance Methods

id() click to toggle source
# File lib/awspec/type/eks.rb, line 12
def id
  @id ||= resource_via_client.name if resource_via_client
end
resource_via_client() click to toggle source
# File lib/awspec/type/eks.rb, line 8
def resource_via_client
  @resource_via_client ||= find_eks_cluster(@name)
end