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
- Struct
- Aws::ECR::Types::BatchDeleteImageRequest
- Defined in:
- (unknown)
Overview
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
-
#image_ids ⇒ Array<Types::ImageIdentifier>
A list of image ID references that correspond to images to delete.
-
#registry_id ⇒ String
The AWS account ID associated with the registry that contains the image to delete.
-
#repository_name ⇒ String
The repository that contains the image to delete.
Instance Attribute Details
#image_ids ⇒ Array<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
.
#registry_id ⇒ String
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.
#repository_name ⇒ String
The repository that contains the image to delete.