CmdID

CmdID / aws / aws ecr

aws ecr create-pull-through-cache-rule

Creates a pull through cache rule. AWS CLI reference

7 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

7 in the AWS CLI reference
--credential-arnThe Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that identifies the credentials to authenticate to the upstream registry.
--custom-role-arnAmazon Resource Name (ARN) of the IAM role to be assumed by Amazon ECR to authenticate to the ECR upstream registry.
--ecr-repository-prefixThe repository name prefix to use when caching images from the source registry.
--registry-idThe Amazon Web Services account ID associated with the registry to create the pull through cache rule for.
--upstream-registry-urlThe registry URL of the upstream public registry to use as the source for the pull through cache rule.
--upstream-registryThe name of the upstream registry.
--upstream-repository-prefixThe repository name prefix of the upstream registry to match with the upstream repository name.