AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Inheritance Hierarchy

System.Object
  Amazon.ECS.Model.ContainerImage

Namespace: Amazon.ECS.Model
Assembly: AWSSDK.ECS.dll
Version: 3.x.y.z

Syntax

C#
public class ContainerImage

The ContainerImage type exposes the following members

Constructors

NameDescription
Public Method ContainerImage()

Properties

NameTypeDescription
Public Property ContainerName System.String

Gets and sets the property ContainerName.

The name of the container.

Public Property Image System.String

Gets and sets the property Image.

The container image.

Public Property ImageDigest System.String

Gets and sets the property ImageDigest.

The container image digest.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5