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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecs/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 in the Amazon ECS Developer Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#container_nameString

The name of the container.

Returns:

  • (String)


2011
2012
2013
2014
2015
2016
2017
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 2011

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

#imageString

The container image.

Returns:

  • (String)


2011
2012
2013
2014
2015
2016
2017
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 2011

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

#image_digestString

The container image digest.

Returns:

  • (String)


2011
2012
2013
2014
2015
2016
2017
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 2011

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