ContainerImage - Amazon Elastic Container Service

ContainerImage

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.

Contents

containerName

The name of the container.

Type: String

Required: No

image

The container image.

Type: String

Required: No

imageDigest

The container image digest.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: