Sha256: 0a6c4f41a7f23f0ec6de7e5c25235f4659155706674ef9b30e2477b51a77a9e9
Contents?: true
Size: 423 Bytes
Versions: 11
Compression:
Stored size: 423 Bytes
Contents
module Awspec::Helper module Finder module Ecr def find_ecr_repository(repository_name) res = ecr_client.describe_repositories(repository_names: [repository_name]) res.repositories.first if res.repositories.count == 1 end def get_policy_text(repository_name) res = ecr_client.get_repository_policy(repository_name: repository_name)[:policy_text] end end end end
Version data entries
11 entries across 11 versions & 1 rubygems