Class: Aws::ECS::Types::ContainerImage

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ecs/types.rb

Overview

The details about the container image a service revision uses.

To ensure that all tasks in a service use the same container image, Amazon ECS resolves container image names and any image tags specified in the task definition to container image digests.

After the container image digest has been established, Amazon ECS uses the digest to start any other desired tasks, and for any future service and service revision updates. This leads to all tasks in a service always running identical container images, resulting in version consistency for your software. For more information, see

Container image resolution][1

in the Amazon ECS Developer Guide.

[1]: docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html#deployment-container-image-stability

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#container_nameString

The name of the container.

Returns:

  • (String)


1990
1991
1992
1993
1994
1995
1996
# File 'lib/aws-sdk-ecs/types.rb', line 1990

class ContainerImage < Struct.new(
  :container_name,
  :image_digest,
  :image)
  SENSITIVE = []
  include Aws::Structure
end

#imageString

The container image.

Returns:

  • (String)


1990
1991
1992
1993
1994
1995
1996
# File 'lib/aws-sdk-ecs/types.rb', line 1990

class ContainerImage < Struct.new(
  :container_name,
  :image_digest,
  :image)
  SENSITIVE = []
  include Aws::Structure
end

#image_digestString

The container image digest.

Returns:

  • (String)


1990
1991
1992
1993
1994
1995
1996
# File 'lib/aws-sdk-ecs/types.rb', line 1990

class ContainerImage < Struct.new(
  :container_name,
  :image_digest,
  :image)
  SENSITIVE = []
  include Aws::Structure
end