Skip to main content

pull_through_cache_rules_list_only

Lists pull_through_cache_rules in a region or regions, for all properties use pull_through_cache_rules

Overview

Namepull_through_cache_rules_list_only
TypeResource
DescriptionThe AWS::ECR::PullThroughCacheRule resource configures the upstream registry configuration details for an Amazon Elastic Container Registry (Amazon Private ECR) pull-through cache.
Idaws.ecr.pull_through_cache_rules_list_only

Fields

NameDatatypeDescription
ecr_repository_prefixstringThe ECRRepositoryPrefix is a custom alias for upstream registry url.
upstream_registry_urlstringThe upstreamRegistryUrl is the endpoint of upstream registry url of the public repository to be cached
credential_arnstringThe Amazon Resource Name (ARN) of the AWS Secrets Manager secret that identifies the credentials to authenticate to the upstream registry.
upstream_registrystringThe name of the upstream registry.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all pull_through_cache_rules in a region.

SELECT
region,
ecr_repository_prefix
FROM aws.ecr.pull_through_cache_rules_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the pull_through_cache_rules_list_only resource, see pull_through_cache_rules