class Awspec::Type::BatchComputeEnvironment

Constants

STATES
TYPES

Public Class Methods

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

Public Instance Methods

id() click to toggle source
# File lib/awspec/type/batch_compute_environment.rb, line 12
def id
  @id ||= resource_via_client.compute_environment_name if resource_via_client
end
resource_via_client() click to toggle source
# File lib/awspec/type/batch_compute_environment.rb, line 8
def resource_via_client
  @resource_via_client ||= find_batch_compute_environment(@display_name)
end