AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ECR::Types::BatchDeleteImageRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing BatchDeleteImageRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  registry_id: "RegistryId",
  repository_name: "RepositoryName", # required
  image_ids: [ # required
    {
      image_digest: "ImageDigest",
      image_tag: "ImageTag",
    },
  ],
}

Deletes specified images within a specified repository. Images are specified with either the imageTag or imageDigest.

Instance Attribute Summary collapse

Instance Attribute Details

#image_idsArray<Types::ImageIdentifier>

A list of image ID references that correspond to images to delete. The format of the imageIds reference is imageTag=tag or imageDigest=digest.

Returns:

#registry_idString

The AWS account ID associated with the registry that contains the image to delete. If you do not specify a registry, the default registry is assumed.

Returns:

  • (String)

    The AWS account ID associated with the registry that contains the image to delete.

#repository_nameString

The repository that contains the image to delete.

Returns:

  • (String)

    The repository that contains the image to delete.