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

Class: Aws::ECR::Types::Layer

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

Overview

An object representing an Amazon ECR image layer.

Instance Attribute Summary collapse

Instance Attribute Details

#layer_availabilityString

The availability status of the image layer.

Returns:

  • (String)


915
916
917
918
919
920
921
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 915

class Layer < Struct.new(
  :layer_digest,
  :layer_availability,
  :layer_size,
  :media_type)
  include Aws::Structure
end

#layer_digestString

The sha256 digest of the image layer.

Returns:

  • (String)


915
916
917
918
919
920
921
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 915

class Layer < Struct.new(
  :layer_digest,
  :layer_availability,
  :layer_size,
  :media_type)
  include Aws::Structure
end

#layer_sizeInteger

The size, in bytes, of the image layer.

Returns:

  • (Integer)


915
916
917
918
919
920
921
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 915

class Layer < Struct.new(
  :layer_digest,
  :layer_availability,
  :layer_size,
  :media_type)
  include Aws::Structure
end

#media_typeString

The media type of the layer, such as application/vnd.docker.image.rootfs.diff.tar.gzip or application/vnd.oci.image.layer.v1.tar+gzip.

Returns:

  • (String)


915
916
917
918
919
920
921
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 915

class Layer < Struct.new(
  :layer_digest,
  :layer_availability,
  :layer_size,
  :media_type)
  include Aws::Structure
end