Skip to content

Validate Pull Through Cache Rule

ecr_validate_pull_through_cache_rule R Documentation

Validates an existing pull through cache rule for an upstream registry that requires authentication

Description

Validates an existing pull through cache rule for an upstream registry that requires authentication. This will retrieve the contents of the Amazon Web Services Secrets Manager secret, verify the syntax, and then validate that authentication to the upstream registry is successful.

Usage

ecr_validate_pull_through_cache_rule(ecrRepositoryPrefix, registryId)

Arguments

ecrRepositoryPrefix

[required] The repository name prefix associated with the pull through cache rule.

registryId

The registry ID associated with the pull through cache rule. If you do not specify a registry, the default registry is assumed.

Value

A list with the following syntax:

list(
  ecrRepositoryPrefix = "string",
  registryId = "string",
  upstreamRegistryUrl = "string",
  credentialArn = "string",
  isValid = TRUE|FALSE,
  failure = "string"
)

Request syntax

svc$validate_pull_through_cache_rule(
  ecrRepositoryPrefix = "string",
  registryId = "string"
)