Sha256: b750cad7556387bf47b30563420a36d7d0ece098626bdd64400a8c6b2d85d809
Contents?: true
Size: 454 Bytes
Versions: 12
Compression:
Stored size: 454 Bytes
Contents
# frozen_string_literal: true 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
12 entries across 12 versions & 1 rubygems