Sha256: f5fe22b3b060ff8c4a4142bcffbb55f38a90d1867c394b628a8be4cb48314b2e

Contents?: true

Size: 486 Bytes

Versions: 11

Compression:

Stored size: 486 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

    def policy_text
      @policy_text ||= get_policy_text(@display_name)
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
awspec-1.25.1 lib/awspec/type/ecr_repository.rb
awspec-1.25.0 lib/awspec/type/ecr_repository.rb
awspec-1.24.4 lib/awspec/type/ecr_repository.rb
awspec-1.24.3 lib/awspec/type/ecr_repository.rb
awspec-1.24.2 lib/awspec/type/ecr_repository.rb
awspec-1.24.1 lib/awspec/type/ecr_repository.rb
awspec-1.24.0 lib/awspec/type/ecr_repository.rb
awspec-1.23.0 lib/awspec/type/ecr_repository.rb
awspec-1.22.1 lib/awspec/type/ecr_repository.rb
awspec-1.22.0 lib/awspec/type/ecr_repository.rb
awspec-1.21.1 lib/awspec/type/ecr_repository.rb