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
Name | pull_through_cache_rules_list_only |
Type | Resource |
Description | The AWS::ECR::PullThroughCacheRule resource configures the upstream registry configuration details for an Amazon Elastic Container Registry (Amazon Private ECR) pull-through cache. |
Id | aws.ecr.pull_through_cache_rules_list_only |
Fields
Name | Datatype | Description |
---|---|---|
ecr_repository_prefix | string | The ECRRepositoryPrefix is a custom alias for upstream registry url. |
upstream_registry_url | string | The upstreamRegistryUrl is the endpoint of upstream registry url of the public repository to be cached |
credential_arn | string | The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that identifies the credentials to authenticate to the upstream registry. |
upstream_registry | string | The name of the upstream registry. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
list_resources | SELECT | region |
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