--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "awscc_ecr_pull_through_cache_rule Resource - terraform-provider-awscc" subcategory: "" description: |- The AWS::ECR::PullThroughCacheRule resource configures the upstream registry configuration details for an Amazon Elastic Container Registry (Amazon Private ECR) pull-through cache. --- # awscc_ecr_pull_through_cache_rule (Resource) The AWS::ECR::PullThroughCacheRule resource configures the upstream registry configuration details for an Amazon Elastic Container Registry (Amazon Private ECR) pull-through cache. ## Schema ### Optional - `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 ### Read-Only - `id` (String) Uniquely identifies the resource. ## Import Import is supported using the following syntax: ```shell $ terraform import awscc_ecr_pull_through_cache_rule.example ```