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

Class: Aws::ECR::Types::PutImageRequest

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

Overview

Note:

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

{
  registry_id: "RegistryId",
  repository_name: "RepositoryName", # required
  image_manifest: "ImageManifest", # required
  image_manifest_media_type: "MediaType",
  image_tag: "ImageTag",
  image_digest: "ImageDigest",
}

Instance Attribute Summary collapse

Instance Attribute Details

#image_digestString

The image digest of the image manifest corresponding to the image.

Returns:

  • (String)

    The image digest of the image manifest corresponding to the image.

#image_manifestString

The image manifest corresponding to the image to be uploaded.

Returns:

  • (String)

    The image manifest corresponding to the image to be uploaded.

#image_manifest_media_typeString

The media type of the image manifest. If you push an image manifest that does not contain the mediaType field, you must specify the imageManifestMediaType in the request.

Returns:

  • (String)

    The media type of the image manifest.

#image_tagString

The tag to associate with the image. This parameter is required for images that use the Docker Image Manifest V2 Schema 2 or Open Container Initiative (OCI) formats.

Returns:

  • (String)

    The tag to associate with the image.

#registry_idString

The AWS account ID associated with the registry that contains the repository in which to put the image. 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 repository in which to put the image.

#repository_nameString

The name of the repository in which to put the image.

Returns:

  • (String)

    The name of the repository in which to put the image.