Skip to contents

Transitions an image between storage classes. You can transition images from Amazon ECR standard storage class to Amazon ECR archival storage class for long-term storage, or restore archived images back to Amazon ECR standard.

See https://www.paws-r-sdk.com/docs/ecr_update_image_storage_class/ for full documentation.

Usage

ecr_update_image_storage_class(
  registryId = NULL,
  repositoryName,
  imageId,
  targetStorageClass
)

Arguments

registryId

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

repositoryName

[required] The name of the repository that contains the image to transition.

imageId

[required] An object with identifying information for an image in an Amazon ECR repository.

targetStorageClass

[required] The target storage class for the image.