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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb

Overview

Note:

When making an API call, you may pass PutImageRequest data as a hash:

{
  registry_id: "RegistryId",
  repository_name: "RepositoryName", # required
  image_manifest: "ImageManifest", # required
  image_tag: "ImageTag",
}

Instance Attribute Summary collapse

Instance Attribute Details

#image_manifestString

The image manifest corresponding to the image to be uploaded.

Returns:

  • (String)


1384
1385
1386
1387
1388
1389
1390
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 1384

class PutImageRequest < Struct.new(
  :registry_id,
  :repository_name,
  :image_manifest,
  :image_tag)
  include Aws::Structure
end

#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 OCI formats.

Returns:

  • (String)


1384
1385
1386
1387
1388
1389
1390
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 1384

class PutImageRequest < Struct.new(
  :registry_id,
  :repository_name,
  :image_manifest,
  :image_tag)
  include Aws::Structure
end

#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)


1384
1385
1386
1387
1388
1389
1390
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 1384

class PutImageRequest < Struct.new(
  :registry_id,
  :repository_name,
  :image_manifest,
  :image_tag)
  include Aws::Structure
end

#repository_nameString

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

Returns:

  • (String)


1384
1385
1386
1387
1388
1389
1390
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 1384

class PutImageRequest < Struct.new(
  :registry_id,
  :repository_name,
  :image_manifest,
  :image_tag)
  include Aws::Structure
end