Sha256: ce2c0b1979a1cf216e9e97abe4538726ac3ffb6254a415358927a1a9cd729e94

Contents?: true

Size: 403 Bytes

Versions: 107

Compression:

Stored size: 403 Bytes

Contents

module Awspec::Type
  class EcrRepository < ResourceBase
    aws_resource Aws::ECR::Types::Repository

    def initialize(repository_name)
      super
      @display_name = repository_name
    end

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

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

Version data entries

107 entries across 107 versions & 4 rubygems

Version Path
awspec-1.3.0 lib/awspec/type/ecr_repository.rb
awspec-1.2.0 lib/awspec/type/ecr_repository.rb
awspec-1.1.0 lib/awspec/type/ecr_repository.rb
awspec-1.0.0 lib/awspec/type/ecr_repository.rb
awspec-1.0.0.rc lib/awspec/type/ecr_repository.rb
awspec-0.88.2 lib/awspec/type/ecr_repository.rb
awspec-0.88.1 lib/awspec/type/ecr_repository.rb
awspec-0.88.0 lib/awspec/type/ecr_repository.rb
awspec-0.87.1 lib/awspec/type/ecr_repository.rb
awspec-0.87.0 lib/awspec/type/ecr_repository.rb
awspec-0.86.0 lib/awspec/type/ecr_repository.rb
cmonson_2ndwatch_awspec-0.85.4 lib/awspec/type/ecr_repository.rb
awspec-0.85.3 lib/awspec/type/ecr_repository.rb
cmonson_2ndwatch_awspec-0.85.3 lib/awspec/type/ecr_repository.rb
awspec-0.85.2 lib/awspec/type/ecr_repository.rb
awspec-0.85.1 lib/awspec/type/ecr_repository.rb
awspec-0.85.0 lib/awspec/type/ecr_repository.rb
awspec-0.84.1 lib/awspec/type/ecr_repository.rb
awspec-0.84.0 lib/awspec/type/ecr_repository.rb
awspec-0.83.0 lib/awspec/type/ecr_repository.rb