Sha256: cd80d3ccaa3eab5dbb2949caf036d72b6ac78fc0ce5cc9b0248b413d327ca84e

Contents?: true

Size: 354 Bytes

Versions: 56

Compression:

Stored size: 354 Bytes

Contents

module Awspec::Type
  class BatchJobDefinition < ResourceBase
    def initialize(jobdef)
      super
      @display_name = jobdef
    end

    def resource_via_client
      @resource_via_client ||= find_batch_job_definition(@display_name)
    end

    def id
      @id ||= resource_via_client.job_definition_name if resource_via_client
    end
  end
end

Version data entries

56 entries across 56 versions & 3 rubygems

Version Path
awspec-1.15.1 lib/awspec/type/batch_job_definition.rb
awspec-1.15.0 lib/awspec/type/batch_job_definition.rb
awspec-1.14.1 lib/awspec/type/batch_job_definition.rb
awspec-1.14.0 lib/awspec/type/batch_job_definition.rb
awspec-1.13.0 lib/awspec/type/batch_job_definition.rb
awspec-1.12.7 lib/awspec/type/batch_job_definition.rb
awspec-1.12.6 lib/awspec/type/batch_job_definition.rb
awspec-1.12.5 lib/awspec/type/batch_job_definition.rb
awspec-1.12.4 lib/awspec/type/batch_job_definition.rb
awspec-1.12.3 lib/awspec/type/batch_job_definition.rb
awspec-1.12.2 lib/awspec/type/batch_job_definition.rb
awspec-1.12.1 lib/awspec/type/batch_job_definition.rb
awspec-1.12.0 lib/awspec/type/batch_job_definition.rb
awspec-1.11.1 lib/awspec/type/batch_job_definition.rb
awspec-1.11.0 lib/awspec/type/batch_job_definition.rb
awspec-1.10.0 lib/awspec/type/batch_job_definition.rb