AWS::ECR::PullThroughCacheRuleThe `AWS::ECR::PullThroughCacheRule` resource creates or updates a pull through cache rule. A pull through cache rule provides a way to cache images from an upstream registry in your Amazon ECR private registry.
import { CfnPullThroughCacheRule } from 'aws-cdk-lib/aws-ecr';Or use the module namespace:
import * as ecr from 'aws-cdk-lib/aws-ecr';
// ecr.CfnPullThroughCacheRuleConfiguration passed to the constructor as CfnPullThroughCacheRuleProps.
credentialArnOptionalstringThe ARN of the Secrets Manager secret associated with the pull through cache rule.
customRoleArnOptionalstringThe ARN of the IAM role associated with the pull through cache rule.
ecrRepositoryPrefixOptionalstringThe Amazon ECR repository prefix associated with the pull through cache rule.
upstreamRegistryOptionalstringThe name of the upstream source registry associated with the pull through cache rule.
upstreamRegistryUrlOptionalstringThe upstream registry URL associated with the pull through cache rule.
upstreamRepositoryPrefixOptionalstringThe upstream repository prefix associated with the pull through cache rule.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-ecrAWS::ECR::PullThroughCacheRule