aws.ecr.get_download_url_for_layer
Example SQL Queries
SELECT * FROMaws.ecr.get_download_url_for_layerWHERE"repository_name" = 'VALUE'AND "layer_digest" = 'VALUE';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.
Table Definition
| Column Name | Column Data Type |
|---|---|
| layer_digest Required Input Column The digest of the image layer to download. | VARCHAR |
| repository_name Required Input Column The name of the repository that is associated with the image layer to download. | VARCHAR |
| registry_id Input Column 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. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| download_url The pre-signed Amazon S3 download URL for the requested layer. | VARCHAR |