Skip to content

Get Download Url For Layer

ecr_get_download_url_for_layer R Documentation

Retrieves the pre-signed Amazon S3 download URL corresponding to an image layer

Description

Retrieves the pre-signed Amazon S3 download URL corresponding to an image layer. You can only get URLs for image layers that are referenced in an image.

When an image is pulled, the GetDownloadUrlForLayer API is called once per image layer that is not already cached.

This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

Usage

ecr_get_download_url_for_layer(registryId, repositoryName, layerDigest)

Arguments

registryId

The Amazon Web Services account ID associated with the registry that contains the image layer to download. If you do not specify a registry, the default registry is assumed.

repositoryName

[required] The name of the repository that is associated with the image layer to download.

layerDigest

[required] The digest of the image layer to download.

Value

A list with the following syntax:

list(
  downloadUrl = "string",
  layerDigest = "string"
)

Request syntax

svc$get_download_url_for_layer(
  registryId = "string",
  repositoryName = "string",
  layerDigest = "string"
)