Skip to content

Update Pull Through Cache Rule

ecr_update_pull_through_cache_rule R Documentation

Updates an existing pull through cache rule

Description

Updates an existing pull through cache rule.

Usage

ecr_update_pull_through_cache_rule(registryId, ecrRepositoryPrefix,
  credentialArn)

Arguments

registryId

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

ecrRepositoryPrefix

[required] The repository name prefix to use when caching images from the source registry.

credentialArn

[required] The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that identifies the credentials to authenticate to the upstream registry.

Value

A list with the following syntax:

list(
  ecrRepositoryPrefix = "string",
  registryId = "string",
  updatedAt = as.POSIXct(
    "2015-01-01"
  ),
  credentialArn = "string"
)

Request syntax

svc$update_pull_through_cache_rule(
  registryId = "string",
  ecrRepositoryPrefix = "string",
  credentialArn = "string"
)