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_manifest_media_type: "MediaType",
  image_tag: "ImageTag",
  image_digest: "ImageDigest",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#image_digestString

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

Returns:

  • (String)


2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 2343

class PutImageRequest < Struct.new(
  :registry_id,
  :repository_name,
  :image_manifest,
  :image_manifest_media_type,
  :image_tag,
  :image_digest)
  SENSITIVE = []
  include Aws::Structure
end

#image_manifestString

The image manifest corresponding to the image to be uploaded.

Returns:

  • (String)


2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 2343

class PutImageRequest < Struct.new(
  :registry_id,
  :repository_name,
  :image_manifest,
  :image_manifest_media_type,
  :image_tag,
  :image_digest)
  SENSITIVE = []
  include Aws::Structure
end

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


2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 2343

class PutImageRequest < Struct.new(
  :registry_id,
  :repository_name,
  :image_manifest,
  :image_manifest_media_type,
  :image_tag,
  :image_digest)
  SENSITIVE = []
  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 Open Container Initiative (OCI) formats.

Returns:

  • (String)


2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 2343

class PutImageRequest < Struct.new(
  :registry_id,
  :repository_name,
  :image_manifest,
  :image_manifest_media_type,
  :image_tag,
  :image_digest)
  SENSITIVE = []
  include Aws::Structure
end

#registry_idString

The Amazon Web Services 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)


2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 2343

class PutImageRequest < Struct.new(
  :registry_id,
  :repository_name,
  :image_manifest,
  :image_manifest_media_type,
  :image_tag,
  :image_digest)
  SENSITIVE = []
  include Aws::Structure
end

#repository_nameString

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

Returns:

  • (String)


2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 2343

class PutImageRequest < Struct.new(
  :registry_id,
  :repository_name,
  :image_manifest,
  :image_manifest_media_type,
  :image_tag,
  :image_digest)
  SENSITIVE = []
  include Aws::Structure
end