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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


1082
1083
1084
1085
1086
1087
1088
# File 'lib/aws-sdk-ecr/types.rb', line 1082

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)


1082
1083
1084
1085
1086
1087
1088
# File 'lib/aws-sdk-ecr/types.rb', line 1082

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)


1082
1083
1084
1085
1086
1087
1088
# File 'lib/aws-sdk-ecr/types.rb', line 1082

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)


1082
1083
1084
1085
1086
1087
1088
# File 'lib/aws-sdk-ecr/types.rb', line 1082

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