Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#layer_availabilityString

The availability status of the image layer.

Returns:

  • (String)

2563
2564
2565
2566
2567
2568
2569
2570
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 2563

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

#layer_digestString

The sha256 digest of the image layer.

Returns:

  • (String)

2563
2564
2565
2566
2567
2568
2569
2570
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 2563

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

#layer_sizeInteger

The size, in bytes, of the image layer.

Returns:

  • (Integer)

2563
2564
2565
2566
2567
2568
2569
2570
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 2563

class Layer < Struct.new(
  :layer_digest,
  :layer_availability,
  :layer_size,
  :media_type)
  SENSITIVE = []
  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)

2563
2564
2565
2566
2567
2568
2569
2570
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 2563

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