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

Class: Aws::ECR::Types::ImageDetail

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

Overview

An object that describes an image returned by a DescribeImages operation.

Instance Attribute Summary collapse

Instance Attribute Details

#image_digestString

The sha256 digest of the image manifest.

Returns:

  • (String)


1012
1013
1014
1015
1016
1017
1018
1019
1020
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 1012

class ImageDetail < Struct.new(
  :registry_id,
  :repository_name,
  :image_digest,
  :image_tags,
  :image_size_in_bytes,
  :image_pushed_at)
  include Aws::Structure
end

#image_pushed_atTime

The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the repository.

Returns:

  • (Time)


1012
1013
1014
1015
1016
1017
1018
1019
1020
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 1012

class ImageDetail < Struct.new(
  :registry_id,
  :repository_name,
  :image_digest,
  :image_tags,
  :image_size_in_bytes,
  :image_pushed_at)
  include Aws::Structure
end

#image_size_in_bytesInteger

The size, in bytes, of the image in the repository.

Beginning with Docker version 1.9, the Docker client compresses image layers before pushing them to a V2 Docker registry. The output of the docker images command shows the uncompressed image size, so it may return a larger image size than the image sizes returned by DescribeImages.

Returns:

  • (Integer)


1012
1013
1014
1015
1016
1017
1018
1019
1020
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 1012

class ImageDetail < Struct.new(
  :registry_id,
  :repository_name,
  :image_digest,
  :image_tags,
  :image_size_in_bytes,
  :image_pushed_at)
  include Aws::Structure
end

#image_tagsArray<String>

The list of tags associated with this image.

Returns:

  • (Array<String>)


1012
1013
1014
1015
1016
1017
1018
1019
1020
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 1012

class ImageDetail < Struct.new(
  :registry_id,
  :repository_name,
  :image_digest,
  :image_tags,
  :image_size_in_bytes,
  :image_pushed_at)
  include Aws::Structure
end

#registry_idString

The AWS account ID associated with the registry to which this image belongs.

Returns:

  • (String)


1012
1013
1014
1015
1016
1017
1018
1019
1020
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 1012

class ImageDetail < Struct.new(
  :registry_id,
  :repository_name,
  :image_digest,
  :image_tags,
  :image_size_in_bytes,
  :image_pushed_at)
  include Aws::Structure
end

#repository_nameString

The name of the repository to which this image belongs.

Returns:

  • (String)


1012
1013
1014
1015
1016
1017
1018
1019
1020
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 1012

class ImageDetail < Struct.new(
  :registry_id,
  :repository_name,
  :image_digest,
  :image_tags,
  :image_size_in_bytes,
  :image_pushed_at)
  include Aws::Structure
end