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.21.0 lib/awspec/type/ecr_repository.rb
awspec-1.20.0 lib/awspec/type/ecr_repository.rb
awspec-1.19.2 lib/awspec/type/ecr_repository.rb
awspec-1.19.1 lib/awspec/type/ecr_repository.rb
awspec-1.19.0 lib/awspec/type/ecr_repository.rb
cthiesfork-awspec-1.2.4 lib/awspec/type/ecr_repository.rb
awspec-api_gateway_extended-1.2.4 lib/awspec/type/ecr_repository.rb
awspec-api_gateway_extended-1.2.3 lib/awspec/type/ecr_repository.rb
awspec-1.18.6 lib/awspec/type/ecr_repository.rb
cthiesfork-awspec-1.2.2 lib/awspec/type/ecr_repository.rb
cthiesfork-awspec-1.2.1 lib/awspec/type/ecr_repository.rb
awspec-1.18.5 lib/awspec/type/ecr_repository.rb
cthiesfork-awspec-1.2.0 lib/awspec/type/ecr_repository.rb
cthiesfork-awspec-1.1.0 lib/awspec/type/ecr_repository.rb
cthiesfork-awspec-1.0.0 lib/awspec/type/ecr_repository.rb
awspec-1.18.4 lib/awspec/type/ecr_repository.rb
awspec-1.18.3 lib/awspec/type/ecr_repository.rb
awspec-1.18.2 lib/awspec/type/ecr_repository.rb
awspec-1.18.1 lib/awspec/type/ecr_repository.rb
awspec-1.18.0 lib/awspec/type/ecr_repository.rb