AWS SDK for C++  1.8.95
AWS SDK for C++
Public Member Functions | List of all members
Aws::ECS::Model::Task Class Reference

#include <Task.h>

Public Member Functions

 Task ()
 
 Task (Aws::Utils::Json::JsonView jsonValue)
 
Taskoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::Vector< Attachment > & GetAttachments () const
 
bool AttachmentsHasBeenSet () const
 
void SetAttachments (const Aws::Vector< Attachment > &value)
 
void SetAttachments (Aws::Vector< Attachment > &&value)
 
TaskWithAttachments (const Aws::Vector< Attachment > &value)
 
TaskWithAttachments (Aws::Vector< Attachment > &&value)
 
TaskAddAttachments (const Attachment &value)
 
TaskAddAttachments (Attachment &&value)
 
const Aws::Vector< Attribute > & GetAttributes () const
 
bool AttributesHasBeenSet () const
 
void SetAttributes (const Aws::Vector< Attribute > &value)
 
void SetAttributes (Aws::Vector< Attribute > &&value)
 
TaskWithAttributes (const Aws::Vector< Attribute > &value)
 
TaskWithAttributes (Aws::Vector< Attribute > &&value)
 
TaskAddAttributes (const Attribute &value)
 
TaskAddAttributes (Attribute &&value)
 
const Aws::StringGetAvailabilityZone () const
 
bool AvailabilityZoneHasBeenSet () const
 
void SetAvailabilityZone (const Aws::String &value)
 
void SetAvailabilityZone (Aws::String &&value)
 
void SetAvailabilityZone (const char *value)
 
TaskWithAvailabilityZone (const Aws::String &value)
 
TaskWithAvailabilityZone (Aws::String &&value)
 
TaskWithAvailabilityZone (const char *value)
 
const Aws::StringGetCapacityProviderName () const
 
bool CapacityProviderNameHasBeenSet () const
 
void SetCapacityProviderName (const Aws::String &value)
 
void SetCapacityProviderName (Aws::String &&value)
 
void SetCapacityProviderName (const char *value)
 
TaskWithCapacityProviderName (const Aws::String &value)
 
TaskWithCapacityProviderName (Aws::String &&value)
 
TaskWithCapacityProviderName (const char *value)
 
const Aws::StringGetClusterArn () const
 
bool ClusterArnHasBeenSet () const
 
void SetClusterArn (const Aws::String &value)
 
void SetClusterArn (Aws::String &&value)
 
void SetClusterArn (const char *value)
 
TaskWithClusterArn (const Aws::String &value)
 
TaskWithClusterArn (Aws::String &&value)
 
TaskWithClusterArn (const char *value)
 
const ConnectivityGetConnectivity () const
 
bool ConnectivityHasBeenSet () const
 
void SetConnectivity (const Connectivity &value)
 
void SetConnectivity (Connectivity &&value)
 
TaskWithConnectivity (const Connectivity &value)
 
TaskWithConnectivity (Connectivity &&value)
 
const Aws::Utils::DateTimeGetConnectivityAt () const
 
bool ConnectivityAtHasBeenSet () const
 
void SetConnectivityAt (const Aws::Utils::DateTime &value)
 
void SetConnectivityAt (Aws::Utils::DateTime &&value)
 
TaskWithConnectivityAt (const Aws::Utils::DateTime &value)
 
TaskWithConnectivityAt (Aws::Utils::DateTime &&value)
 
const Aws::StringGetContainerInstanceArn () const
 
bool ContainerInstanceArnHasBeenSet () const
 
void SetContainerInstanceArn (const Aws::String &value)
 
void SetContainerInstanceArn (Aws::String &&value)
 
void SetContainerInstanceArn (const char *value)
 
TaskWithContainerInstanceArn (const Aws::String &value)
 
TaskWithContainerInstanceArn (Aws::String &&value)
 
TaskWithContainerInstanceArn (const char *value)
 
const Aws::Vector< Container > & GetContainers () const
 
bool ContainersHasBeenSet () const
 
void SetContainers (const Aws::Vector< Container > &value)
 
void SetContainers (Aws::Vector< Container > &&value)
 
TaskWithContainers (const Aws::Vector< Container > &value)
 
TaskWithContainers (Aws::Vector< Container > &&value)
 
TaskAddContainers (const Container &value)
 
TaskAddContainers (Container &&value)
 
const Aws::StringGetCpu () const
 
bool CpuHasBeenSet () const
 
void SetCpu (const Aws::String &value)
 
void SetCpu (Aws::String &&value)
 
void SetCpu (const char *value)
 
TaskWithCpu (const Aws::String &value)
 
TaskWithCpu (Aws::String &&value)
 
TaskWithCpu (const char *value)
 
const Aws::Utils::DateTimeGetCreatedAt () const
 
bool CreatedAtHasBeenSet () const
 
void SetCreatedAt (const Aws::Utils::DateTime &value)
 
void SetCreatedAt (Aws::Utils::DateTime &&value)
 
TaskWithCreatedAt (const Aws::Utils::DateTime &value)
 
TaskWithCreatedAt (Aws::Utils::DateTime &&value)
 
const Aws::StringGetDesiredStatus () const
 
bool DesiredStatusHasBeenSet () const
 
void SetDesiredStatus (const Aws::String &value)
 
void SetDesiredStatus (Aws::String &&value)
 
void SetDesiredStatus (const char *value)
 
TaskWithDesiredStatus (const Aws::String &value)
 
TaskWithDesiredStatus (Aws::String &&value)
 
TaskWithDesiredStatus (const char *value)
 
const Aws::Utils::DateTimeGetExecutionStoppedAt () const
 
bool ExecutionStoppedAtHasBeenSet () const
 
void SetExecutionStoppedAt (const Aws::Utils::DateTime &value)
 
void SetExecutionStoppedAt (Aws::Utils::DateTime &&value)
 
TaskWithExecutionStoppedAt (const Aws::Utils::DateTime &value)
 
TaskWithExecutionStoppedAt (Aws::Utils::DateTime &&value)
 
const Aws::StringGetGroup () const
 
bool GroupHasBeenSet () const
 
void SetGroup (const Aws::String &value)
 
void SetGroup (Aws::String &&value)
 
void SetGroup (const char *value)
 
TaskWithGroup (const Aws::String &value)
 
TaskWithGroup (Aws::String &&value)
 
TaskWithGroup (const char *value)
 
const HealthStatusGetHealthStatus () const
 
bool HealthStatusHasBeenSet () const
 
void SetHealthStatus (const HealthStatus &value)
 
void SetHealthStatus (HealthStatus &&value)
 
TaskWithHealthStatus (const HealthStatus &value)
 
TaskWithHealthStatus (HealthStatus &&value)
 
const Aws::Vector< InferenceAccelerator > & GetInferenceAccelerators () const
 
bool InferenceAcceleratorsHasBeenSet () const
 
void SetInferenceAccelerators (const Aws::Vector< InferenceAccelerator > &value)
 
void SetInferenceAccelerators (Aws::Vector< InferenceAccelerator > &&value)
 
TaskWithInferenceAccelerators (const Aws::Vector< InferenceAccelerator > &value)
 
TaskWithInferenceAccelerators (Aws::Vector< InferenceAccelerator > &&value)
 
TaskAddInferenceAccelerators (const InferenceAccelerator &value)
 
TaskAddInferenceAccelerators (InferenceAccelerator &&value)
 
const Aws::StringGetLastStatus () const
 
bool LastStatusHasBeenSet () const
 
void SetLastStatus (const Aws::String &value)
 
void SetLastStatus (Aws::String &&value)
 
void SetLastStatus (const char *value)
 
TaskWithLastStatus (const Aws::String &value)
 
TaskWithLastStatus (Aws::String &&value)
 
TaskWithLastStatus (const char *value)
 
const LaunchTypeGetLaunchType () const
 
bool LaunchTypeHasBeenSet () const
 
void SetLaunchType (const LaunchType &value)
 
void SetLaunchType (LaunchType &&value)
 
TaskWithLaunchType (const LaunchType &value)
 
TaskWithLaunchType (LaunchType &&value)
 
const Aws::StringGetMemory () const
 
bool MemoryHasBeenSet () const
 
void SetMemory (const Aws::String &value)
 
void SetMemory (Aws::String &&value)
 
void SetMemory (const char *value)
 
TaskWithMemory (const Aws::String &value)
 
TaskWithMemory (Aws::String &&value)
 
TaskWithMemory (const char *value)
 
const TaskOverrideGetOverrides () const
 
bool OverridesHasBeenSet () const
 
void SetOverrides (const TaskOverride &value)
 
void SetOverrides (TaskOverride &&value)
 
TaskWithOverrides (const TaskOverride &value)
 
TaskWithOverrides (TaskOverride &&value)
 
const Aws::StringGetPlatformVersion () const
 
bool PlatformVersionHasBeenSet () const
 
void SetPlatformVersion (const Aws::String &value)
 
void SetPlatformVersion (Aws::String &&value)
 
void SetPlatformVersion (const char *value)
 
TaskWithPlatformVersion (const Aws::String &value)
 
TaskWithPlatformVersion (Aws::String &&value)
 
TaskWithPlatformVersion (const char *value)
 
const Aws::Utils::DateTimeGetPullStartedAt () const
 
bool PullStartedAtHasBeenSet () const
 
void SetPullStartedAt (const Aws::Utils::DateTime &value)
 
void SetPullStartedAt (Aws::Utils::DateTime &&value)
 
TaskWithPullStartedAt (const Aws::Utils::DateTime &value)
 
TaskWithPullStartedAt (Aws::Utils::DateTime &&value)
 
const Aws::Utils::DateTimeGetPullStoppedAt () const
 
bool PullStoppedAtHasBeenSet () const
 
void SetPullStoppedAt (const Aws::Utils::DateTime &value)
 
void SetPullStoppedAt (Aws::Utils::DateTime &&value)
 
TaskWithPullStoppedAt (const Aws::Utils::DateTime &value)
 
TaskWithPullStoppedAt (Aws::Utils::DateTime &&value)
 
const Aws::Utils::DateTimeGetStartedAt () const
 
bool StartedAtHasBeenSet () const
 
void SetStartedAt (const Aws::Utils::DateTime &value)
 
void SetStartedAt (Aws::Utils::DateTime &&value)
 
TaskWithStartedAt (const Aws::Utils::DateTime &value)
 
TaskWithStartedAt (Aws::Utils::DateTime &&value)
 
const Aws::StringGetStartedBy () const
 
bool StartedByHasBeenSet () const
 
void SetStartedBy (const Aws::String &value)
 
void SetStartedBy (Aws::String &&value)
 
void SetStartedBy (const char *value)
 
TaskWithStartedBy (const Aws::String &value)
 
TaskWithStartedBy (Aws::String &&value)
 
TaskWithStartedBy (const char *value)
 
const TaskStopCodeGetStopCode () const
 
bool StopCodeHasBeenSet () const
 
void SetStopCode (const TaskStopCode &value)
 
void SetStopCode (TaskStopCode &&value)
 
TaskWithStopCode (const TaskStopCode &value)
 
TaskWithStopCode (TaskStopCode &&value)
 
const Aws::Utils::DateTimeGetStoppedAt () const
 
bool StoppedAtHasBeenSet () const
 
void SetStoppedAt (const Aws::Utils::DateTime &value)
 
void SetStoppedAt (Aws::Utils::DateTime &&value)
 
TaskWithStoppedAt (const Aws::Utils::DateTime &value)
 
TaskWithStoppedAt (Aws::Utils::DateTime &&value)
 
const Aws::StringGetStoppedReason () const
 
bool StoppedReasonHasBeenSet () const
 
void SetStoppedReason (const Aws::String &value)
 
void SetStoppedReason (Aws::String &&value)
 
void SetStoppedReason (const char *value)
 
TaskWithStoppedReason (const Aws::String &value)
 
TaskWithStoppedReason (Aws::String &&value)
 
TaskWithStoppedReason (const char *value)
 
const Aws::Utils::DateTimeGetStoppingAt () const
 
bool StoppingAtHasBeenSet () const
 
void SetStoppingAt (const Aws::Utils::DateTime &value)
 
void SetStoppingAt (Aws::Utils::DateTime &&value)
 
TaskWithStoppingAt (const Aws::Utils::DateTime &value)
 
TaskWithStoppingAt (Aws::Utils::DateTime &&value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
TaskWithTags (const Aws::Vector< Tag > &value)
 
TaskWithTags (Aws::Vector< Tag > &&value)
 
TaskAddTags (const Tag &value)
 
TaskAddTags (Tag &&value)
 
const Aws::StringGetTaskArn () const
 
bool TaskArnHasBeenSet () const
 
void SetTaskArn (const Aws::String &value)
 
void SetTaskArn (Aws::String &&value)
 
void SetTaskArn (const char *value)
 
TaskWithTaskArn (const Aws::String &value)
 
TaskWithTaskArn (Aws::String &&value)
 
TaskWithTaskArn (const char *value)
 
const Aws::StringGetTaskDefinitionArn () const
 
bool TaskDefinitionArnHasBeenSet () const
 
void SetTaskDefinitionArn (const Aws::String &value)
 
void SetTaskDefinitionArn (Aws::String &&value)
 
void SetTaskDefinitionArn (const char *value)
 
TaskWithTaskDefinitionArn (const Aws::String &value)
 
TaskWithTaskDefinitionArn (Aws::String &&value)
 
TaskWithTaskDefinitionArn (const char *value)
 
long long GetVersion () const
 
bool VersionHasBeenSet () const
 
void SetVersion (long long value)
 
TaskWithVersion (long long value)
 

Detailed Description

Details on a task in a cluster.

See Also:

AWS API Reference

Definition at line 43 of file Task.h.

Constructor & Destructor Documentation

◆ Task() [1/2]

Aws::ECS::Model::Task::Task ( )

◆ Task() [2/2]

Aws::ECS::Model::Task::Task ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddAttachments() [1/2]

Task& Aws::ECS::Model::Task::AddAttachments ( const Attachment value)
inline

The Elastic Network Adapter associated with the task if the task uses the awsvpc network mode.

Definition at line 92 of file Task.h.

◆ AddAttachments() [2/2]

Task& Aws::ECS::Model::Task::AddAttachments ( Attachment &&  value)
inline

The Elastic Network Adapter associated with the task if the task uses the awsvpc network mode.

Definition at line 98 of file Task.h.

◆ AddAttributes() [1/2]

Task& Aws::ECS::Model::Task::AddAttributes ( const Attribute value)
inline

The attributes of the task

Definition at line 134 of file Task.h.

◆ AddAttributes() [2/2]

Task& Aws::ECS::Model::Task::AddAttributes ( Attribute &&  value)
inline

The attributes of the task

Definition at line 139 of file Task.h.

◆ AddContainers() [1/2]

Task& Aws::ECS::Model::Task::AddContainers ( const Container value)
inline

The containers associated with the task.

Definition at line 407 of file Task.h.

◆ AddContainers() [2/2]

Task& Aws::ECS::Model::Task::AddContainers ( Container &&  value)
inline

The containers associated with the task.

Definition at line 412 of file Task.h.

◆ AddInferenceAccelerators() [1/2]

Task& Aws::ECS::Model::Task::AddInferenceAccelerators ( const InferenceAccelerator value)
inline

The Elastic Inference accelerator associated with the task.

Definition at line 904 of file Task.h.

◆ AddInferenceAccelerators() [2/2]

Task& Aws::ECS::Model::Task::AddInferenceAccelerators ( InferenceAccelerator &&  value)
inline

The Elastic Inference accelerator associated with the task.

Definition at line 909 of file Task.h.

◆ AddTags() [1/2]

Task& Aws::ECS::Model::Task::AddTags ( const Tag value)
inline

The metadata that you apply to the task to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

The following basic restrictions apply to tags:

  • Maximum number of tags per resource - 50

  • For each resource, each tag key must be unique, and each tag key can have only one value.

  • Maximum key length - 128 Unicode characters in UTF-8

  • Maximum value length - 256 Unicode characters in UTF-8

  • If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / .

  • Tag keys and values are case-sensitive.

  • Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.

Definition at line 1753 of file Task.h.

◆ AddTags() [2/2]

Task& Aws::ECS::Model::Task::AddTags ( Tag &&  value)
inline

The metadata that you apply to the task to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

The following basic restrictions apply to tags:

  • Maximum number of tags per resource - 50

  • For each resource, each tag key must be unique, and each tag key can have only one value.

  • Maximum key length - 128 Unicode characters in UTF-8

  • Maximum value length - 256 Unicode characters in UTF-8

  • If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / .

  • Tag keys and values are case-sensitive.

  • Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.

Definition at line 1773 of file Task.h.

◆ AttachmentsHasBeenSet()

bool Aws::ECS::Model::Task::AttachmentsHasBeenSet ( ) const
inline

The Elastic Network Adapter associated with the task if the task uses the awsvpc network mode.

Definition at line 62 of file Task.h.

◆ AttributesHasBeenSet()

bool Aws::ECS::Model::Task::AttributesHasBeenSet ( ) const
inline

The attributes of the task

Definition at line 109 of file Task.h.

◆ AvailabilityZoneHasBeenSet()

bool Aws::ECS::Model::Task::AvailabilityZoneHasBeenSet ( ) const
inline

The availability zone of the task.

Definition at line 150 of file Task.h.

◆ CapacityProviderNameHasBeenSet()

bool Aws::ECS::Model::Task::CapacityProviderNameHasBeenSet ( ) const
inline

The capacity provider associated with the task.

Definition at line 191 of file Task.h.

◆ ClusterArnHasBeenSet()

bool Aws::ECS::Model::Task::ClusterArnHasBeenSet ( ) const
inline

The ARN of the cluster that hosts the task.

Definition at line 232 of file Task.h.

◆ ConnectivityAtHasBeenSet()

bool Aws::ECS::Model::Task::ConnectivityAtHasBeenSet ( ) const
inline

The Unix timestamp for when the task last went into CONNECTED status.

Definition at line 306 of file Task.h.

◆ ConnectivityHasBeenSet()

bool Aws::ECS::Model::Task::ConnectivityHasBeenSet ( ) const
inline

The connectivity status of a task.

Definition at line 273 of file Task.h.

◆ ContainerInstanceArnHasBeenSet()

bool Aws::ECS::Model::Task::ContainerInstanceArnHasBeenSet ( ) const
inline

The ARN of the container instances that host the task.

Definition at line 341 of file Task.h.

◆ ContainersHasBeenSet()

bool Aws::ECS::Model::Task::ContainersHasBeenSet ( ) const
inline

The containers associated with the task.

Definition at line 382 of file Task.h.

◆ CpuHasBeenSet()

bool Aws::ECS::Model::Task::CpuHasBeenSet ( ) const
inline

The number of CPU units used by the task as expressed in a task definition. It can be expressed as an integer using CPU units, for example 1024. It can also be expressed as a string using vCPUs, for example 1 vCPU or 1 vcpu. String values are converted to an integer indicating the CPU units when the task definition is registered.

If you are using the EC2 launch type, this field is optional. Supported values are between 128 CPU units (0.125 vCPUs) and 10240 CPU units (10 vCPUs).

If you are using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of supported values for the memory parameter:

  • 256 (.25 vCPU) - Available memory values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)

  • 512 (.5 vCPU) - Available memory values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)

  • 1024 (1 vCPU) - Available memory values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)

  • 2048 (2 vCPU) - Available memory values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)

  • 4096 (4 vCPU) - Available memory values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)

Definition at line 461 of file Task.h.

◆ CreatedAtHasBeenSet()

bool Aws::ECS::Model::Task::CreatedAtHasBeenSet ( ) const
inline

The Unix timestamp for when the task was created (the task entered the PENDING state).

Definition at line 618 of file Task.h.

◆ DesiredStatusHasBeenSet()

bool Aws::ECS::Model::Task::DesiredStatusHasBeenSet ( ) const
inline

The desired status of the task. For more information, see Task Lifecycle.

Definition at line 657 of file Task.h.

◆ ExecutionStoppedAtHasBeenSet()

bool Aws::ECS::Model::Task::ExecutionStoppedAtHasBeenSet ( ) const
inline

The Unix timestamp for when the task execution stopped.

Definition at line 710 of file Task.h.

◆ GetAttachments()

const Aws::Vector<Attachment>& Aws::ECS::Model::Task::GetAttachments ( ) const
inline

The Elastic Network Adapter associated with the task if the task uses the awsvpc network mode.

Definition at line 56 of file Task.h.

◆ GetAttributes()

const Aws::Vector<Attribute>& Aws::ECS::Model::Task::GetAttributes ( ) const
inline

The attributes of the task

Definition at line 104 of file Task.h.

◆ GetAvailabilityZone()

const Aws::String& Aws::ECS::Model::Task::GetAvailabilityZone ( ) const
inline

The availability zone of the task.

Definition at line 145 of file Task.h.

◆ GetCapacityProviderName()

const Aws::String& Aws::ECS::Model::Task::GetCapacityProviderName ( ) const
inline

The capacity provider associated with the task.

Definition at line 186 of file Task.h.

◆ GetClusterArn()

const Aws::String& Aws::ECS::Model::Task::GetClusterArn ( ) const
inline

The ARN of the cluster that hosts the task.

Definition at line 227 of file Task.h.

◆ GetConnectivity()

const Connectivity& Aws::ECS::Model::Task::GetConnectivity ( ) const
inline

The connectivity status of a task.

Definition at line 268 of file Task.h.

◆ GetConnectivityAt()

const Aws::Utils::DateTime& Aws::ECS::Model::Task::GetConnectivityAt ( ) const
inline

The Unix timestamp for when the task last went into CONNECTED status.

Definition at line 300 of file Task.h.

◆ GetContainerInstanceArn()

const Aws::String& Aws::ECS::Model::Task::GetContainerInstanceArn ( ) const
inline

The ARN of the container instances that host the task.

Definition at line 336 of file Task.h.

◆ GetContainers()

const Aws::Vector<Container>& Aws::ECS::Model::Task::GetContainers ( ) const
inline

The containers associated with the task.

Definition at line 377 of file Task.h.

◆ GetCpu()

const Aws::String& Aws::ECS::Model::Task::GetCpu ( ) const
inline

The number of CPU units used by the task as expressed in a task definition. It can be expressed as an integer using CPU units, for example 1024. It can also be expressed as a string using vCPUs, for example 1 vCPU or 1 vcpu. String values are converted to an integer indicating the CPU units when the task definition is registered.

If you are using the EC2 launch type, this field is optional. Supported values are between 128 CPU units (0.125 vCPUs) and 10240 CPU units (10 vCPUs).

If you are using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of supported values for the memory parameter:

  • 256 (.25 vCPU) - Available memory values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)

  • 512 (.5 vCPU) - Available memory values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)

  • 1024 (1 vCPU) - Available memory values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)

  • 2048 (2 vCPU) - Available memory values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)

  • 4096 (4 vCPU) - Available memory values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)

Definition at line 437 of file Task.h.

◆ GetCreatedAt()

const Aws::Utils::DateTime& Aws::ECS::Model::Task::GetCreatedAt ( ) const
inline

The Unix timestamp for when the task was created (the task entered the PENDING state).

Definition at line 612 of file Task.h.

◆ GetDesiredStatus()

const Aws::String& Aws::ECS::Model::Task::GetDesiredStatus ( ) const
inline

The desired status of the task. For more information, see Task Lifecycle.

Definition at line 650 of file Task.h.

◆ GetExecutionStoppedAt()

const Aws::Utils::DateTime& Aws::ECS::Model::Task::GetExecutionStoppedAt ( ) const
inline

The Unix timestamp for when the task execution stopped.

Definition at line 705 of file Task.h.

◆ GetGroup()

const Aws::String& Aws::ECS::Model::Task::GetGroup ( ) const
inline

The name of the task group associated with the task.

Definition at line 736 of file Task.h.

◆ GetHealthStatus()

const HealthStatus& Aws::ECS::Model::Task::GetHealthStatus ( ) const
inline

The health status for the task, which is determined by the health of the essential containers in the task. If all essential containers in the task are reporting as HEALTHY, then the task status also reports as HEALTHY. If any essential containers in the task are reporting as UNHEALTHY or UNKNOWN, then the task status also reports as UNHEALTHY or UNKNOWN, accordingly.

The Amazon ECS container agent does not monitor or report on Docker health checks that are embedded in a container image (such as those specified in a parent image or from the image's Dockerfile) and not specified in the container definition. Health check parameters that are specified in a container definition override any Docker health checks that exist in the container image.

Definition at line 788 of file Task.h.

◆ GetInferenceAccelerators()

const Aws::Vector<InferenceAccelerator>& Aws::ECS::Model::Task::GetInferenceAccelerators ( ) const
inline

The Elastic Inference accelerator associated with the task.

Definition at line 874 of file Task.h.

◆ GetLastStatus()

const Aws::String& Aws::ECS::Model::Task::GetLastStatus ( ) const
inline

The last known status of the task. For more information, see Task Lifecycle.

Definition at line 917 of file Task.h.

◆ GetLaunchType()

const LaunchType& Aws::ECS::Model::Task::GetLaunchType ( ) const
inline

The launch type on which your task is running. For more information, see Amazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide.

Definition at line 975 of file Task.h.

◆ GetMemory()

const Aws::String& Aws::ECS::Model::Task::GetMemory ( ) const
inline

The amount of memory (in MiB) used by the task as expressed in a task definition. It can be expressed as an integer using MiB, for example 1024. It can also be expressed as a string using GB, for example 1GB or 1 GB. String values are converted to an integer indicating the MiB when the task definition is registered.

If you are using the EC2 launch type, this field is optional.

If you are using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of supported values for the cpu parameter:

  • 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available cpu values: 256 (.25 vCPU)

  • 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available cpu values: 512 (.5 vCPU)

  • 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available cpu values: 1024 (1 vCPU)

  • Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available cpu values: 2048 (2 vCPU)

  • Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)

    • Available cpu values: 4096 (4 vCPU)

Definition at line 1037 of file Task.h.

◆ GetOverrides()

const TaskOverride& Aws::ECS::Model::Task::GetOverrides ( ) const
inline

One or more container overrides.

Definition at line 1190 of file Task.h.

◆ GetPlatformVersion()

const Aws::String& Aws::ECS::Model::Task::GetPlatformVersion ( ) const
inline

The platform version on which your task is running. A platform version is only specified for tasks using the Fargate launch type. If one is not specified, the LATEST platform version is used by default. For more information, see AWS Fargate Platform Versions in the Amazon Elastic Container Service Developer Guide.

Definition at line 1227 of file Task.h.

◆ GetPullStartedAt()

const Aws::Utils::DateTime& Aws::ECS::Model::Task::GetPullStartedAt ( ) const
inline

The Unix timestamp for when the container image pull began.

Definition at line 1310 of file Task.h.

◆ GetPullStoppedAt()

const Aws::Utils::DateTime& Aws::ECS::Model::Task::GetPullStoppedAt ( ) const
inline

The Unix timestamp for when the container image pull completed.

Definition at line 1341 of file Task.h.

◆ GetStartedAt()

const Aws::Utils::DateTime& Aws::ECS::Model::Task::GetStartedAt ( ) const
inline

The Unix timestamp for when the task started (the task transitioned from the PENDING state to the RUNNING state).

Definition at line 1373 of file Task.h.

◆ GetStartedBy()

const Aws::String& Aws::ECS::Model::Task::GetStartedBy ( ) const
inline

The tag specified when a task is started. If the task is started by an Amazon ECS service, then the startedBy parameter contains the deployment ID of the service that starts it.

Definition at line 1411 of file Task.h.

◆ GetStopCode()

const TaskStopCode& Aws::ECS::Model::Task::GetStopCode ( ) const
inline

The stop code indicating why a task was stopped. The stoppedReason may contain additional details.

Definition at line 1467 of file Task.h.

◆ GetStoppedAt()

const Aws::Utils::DateTime& Aws::ECS::Model::Task::GetStoppedAt ( ) const
inline

The Unix timestamp for when the task was stopped (the task transitioned from the RUNNING state to the STOPPED state).

Definition at line 1504 of file Task.h.

◆ GetStoppedReason()

const Aws::String& Aws::ECS::Model::Task::GetStoppedReason ( ) const
inline

The reason that the task was stopped.

Definition at line 1540 of file Task.h.

◆ GetStoppingAt()

const Aws::Utils::DateTime& Aws::ECS::Model::Task::GetStoppingAt ( ) const
inline

The Unix timestamp for when the task stops (transitions from the RUNNING state to STOPPED).

Definition at line 1582 of file Task.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::ECS::Model::Task::GetTags ( ) const
inline

The metadata that you apply to the task to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

The following basic restrictions apply to tags:

  • Maximum number of tags per resource - 50

  • For each resource, each tag key must be unique, and each tag key can have only one value.

  • Maximum key length - 128 Unicode characters in UTF-8

  • Maximum value length - 256 Unicode characters in UTF-8

  • If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / .

  • Tag keys and values are case-sensitive.

  • Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.

Definition at line 1633 of file Task.h.

◆ GetTaskArn()

const Aws::String& Aws::ECS::Model::Task::GetTaskArn ( ) const
inline

The Amazon Resource Name (ARN) of the task.

Definition at line 1779 of file Task.h.

◆ GetTaskDefinitionArn()

const Aws::String& Aws::ECS::Model::Task::GetTaskDefinitionArn ( ) const
inline

The ARN of the task definition that creates the task.

Definition at line 1820 of file Task.h.

◆ GetVersion()

long long Aws::ECS::Model::Task::GetVersion ( ) const
inline

The version counter for the task. Every time a task experiences a change that triggers a CloudWatch event, the version counter is incremented. If you are replicating your Amazon ECS task state with CloudWatch Events, you can compare the version of a task reported by the Amazon ECS API actions with the version reported in CloudWatch Events for the task (inside the detail object) to verify that the version in your event stream is current.

Definition at line 1866 of file Task.h.

◆ GroupHasBeenSet()

bool Aws::ECS::Model::Task::GroupHasBeenSet ( ) const
inline

The name of the task group associated with the task.

Definition at line 741 of file Task.h.

◆ HealthStatusHasBeenSet()

bool Aws::ECS::Model::Task::HealthStatusHasBeenSet ( ) const
inline

The health status for the task, which is determined by the health of the essential containers in the task. If all essential containers in the task are reporting as HEALTHY, then the task status also reports as HEALTHY. If any essential containers in the task are reporting as UNHEALTHY or UNKNOWN, then the task status also reports as UNHEALTHY or UNKNOWN, accordingly.

The Amazon ECS container agent does not monitor or report on Docker health checks that are embedded in a container image (such as those specified in a parent image or from the image's Dockerfile) and not specified in the container definition. Health check parameters that are specified in a container definition override any Docker health checks that exist in the container image.

Definition at line 804 of file Task.h.

◆ InferenceAcceleratorsHasBeenSet()

bool Aws::ECS::Model::Task::InferenceAcceleratorsHasBeenSet ( ) const
inline

The Elastic Inference accelerator associated with the task.

Definition at line 879 of file Task.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::ECS::Model::Task::Jsonize ( ) const

◆ LastStatusHasBeenSet()

bool Aws::ECS::Model::Task::LastStatusHasBeenSet ( ) const
inline

The last known status of the task. For more information, see Task Lifecycle.

Definition at line 924 of file Task.h.

◆ LaunchTypeHasBeenSet()

bool Aws::ECS::Model::Task::LaunchTypeHasBeenSet ( ) const
inline

The launch type on which your task is running. For more information, see Amazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide.

Definition at line 983 of file Task.h.

◆ MemoryHasBeenSet()

bool Aws::ECS::Model::Task::MemoryHasBeenSet ( ) const
inline

The amount of memory (in MiB) used by the task as expressed in a task definition. It can be expressed as an integer using MiB, for example 1024. It can also be expressed as a string using GB, for example 1GB or 1 GB. String values are converted to an integer indicating the MiB when the task definition is registered.

If you are using the EC2 launch type, this field is optional.

If you are using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of supported values for the cpu parameter:

  • 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available cpu values: 256 (.25 vCPU)

  • 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available cpu values: 512 (.5 vCPU)

  • 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available cpu values: 1024 (1 vCPU)

  • Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available cpu values: 2048 (2 vCPU)

  • Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)

    • Available cpu values: 4096 (4 vCPU)

Definition at line 1058 of file Task.h.

◆ operator=()

Task& Aws::ECS::Model::Task::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ OverridesHasBeenSet()

bool Aws::ECS::Model::Task::OverridesHasBeenSet ( ) const
inline

One or more container overrides.

Definition at line 1195 of file Task.h.

◆ PlatformVersionHasBeenSet()

bool Aws::ECS::Model::Task::PlatformVersionHasBeenSet ( ) const
inline

The platform version on which your task is running. A platform version is only specified for tasks using the Fargate launch type. If one is not specified, the LATEST platform version is used by default. For more information, see AWS Fargate Platform Versions in the Amazon Elastic Container Service Developer Guide.

Definition at line 1238 of file Task.h.

◆ PullStartedAtHasBeenSet()

bool Aws::ECS::Model::Task::PullStartedAtHasBeenSet ( ) const
inline

The Unix timestamp for when the container image pull began.

Definition at line 1315 of file Task.h.

◆ PullStoppedAtHasBeenSet()

bool Aws::ECS::Model::Task::PullStoppedAtHasBeenSet ( ) const
inline

The Unix timestamp for when the container image pull completed.

Definition at line 1346 of file Task.h.

◆ SetAttachments() [1/2]

void Aws::ECS::Model::Task::SetAttachments ( const Aws::Vector< Attachment > &  value)
inline

The Elastic Network Adapter associated with the task if the task uses the awsvpc network mode.

Definition at line 68 of file Task.h.

◆ SetAttachments() [2/2]

void Aws::ECS::Model::Task::SetAttachments ( Aws::Vector< Attachment > &&  value)
inline

The Elastic Network Adapter associated with the task if the task uses the awsvpc network mode.

Definition at line 74 of file Task.h.

◆ SetAttributes() [1/2]

void Aws::ECS::Model::Task::SetAttributes ( const Aws::Vector< Attribute > &  value)
inline

The attributes of the task

Definition at line 114 of file Task.h.

◆ SetAttributes() [2/2]

void Aws::ECS::Model::Task::SetAttributes ( Aws::Vector< Attribute > &&  value)
inline

The attributes of the task

Definition at line 119 of file Task.h.

◆ SetAvailabilityZone() [1/3]

void Aws::ECS::Model::Task::SetAvailabilityZone ( const Aws::String value)
inline

The availability zone of the task.

Definition at line 155 of file Task.h.

◆ SetAvailabilityZone() [2/3]

void Aws::ECS::Model::Task::SetAvailabilityZone ( Aws::String &&  value)
inline

The availability zone of the task.

Definition at line 160 of file Task.h.

◆ SetAvailabilityZone() [3/3]

void Aws::ECS::Model::Task::SetAvailabilityZone ( const char *  value)
inline

The availability zone of the task.

Definition at line 165 of file Task.h.

◆ SetCapacityProviderName() [1/3]

void Aws::ECS::Model::Task::SetCapacityProviderName ( const Aws::String value)
inline

The capacity provider associated with the task.

Definition at line 196 of file Task.h.

◆ SetCapacityProviderName() [2/3]

void Aws::ECS::Model::Task::SetCapacityProviderName ( Aws::String &&  value)
inline

The capacity provider associated with the task.

Definition at line 201 of file Task.h.

◆ SetCapacityProviderName() [3/3]

void Aws::ECS::Model::Task::SetCapacityProviderName ( const char *  value)
inline

The capacity provider associated with the task.

Definition at line 206 of file Task.h.

◆ SetClusterArn() [1/3]

void Aws::ECS::Model::Task::SetClusterArn ( const Aws::String value)
inline

The ARN of the cluster that hosts the task.

Definition at line 237 of file Task.h.

◆ SetClusterArn() [2/3]

void Aws::ECS::Model::Task::SetClusterArn ( Aws::String &&  value)
inline

The ARN of the cluster that hosts the task.

Definition at line 242 of file Task.h.

◆ SetClusterArn() [3/3]

void Aws::ECS::Model::Task::SetClusterArn ( const char *  value)
inline

The ARN of the cluster that hosts the task.

Definition at line 247 of file Task.h.

◆ SetConnectivity() [1/2]

void Aws::ECS::Model::Task::SetConnectivity ( const Connectivity value)
inline

The connectivity status of a task.

Definition at line 278 of file Task.h.

◆ SetConnectivity() [2/2]

void Aws::ECS::Model::Task::SetConnectivity ( Connectivity &&  value)
inline

The connectivity status of a task.

Definition at line 283 of file Task.h.

◆ SetConnectivityAt() [1/2]

void Aws::ECS::Model::Task::SetConnectivityAt ( const Aws::Utils::DateTime value)
inline

The Unix timestamp for when the task last went into CONNECTED status.

Definition at line 312 of file Task.h.

◆ SetConnectivityAt() [2/2]

void Aws::ECS::Model::Task::SetConnectivityAt ( Aws::Utils::DateTime &&  value)
inline

The Unix timestamp for when the task last went into CONNECTED status.

Definition at line 318 of file Task.h.

◆ SetContainerInstanceArn() [1/3]

void Aws::ECS::Model::Task::SetContainerInstanceArn ( const Aws::String value)
inline

The ARN of the container instances that host the task.

Definition at line 346 of file Task.h.

◆ SetContainerInstanceArn() [2/3]

void Aws::ECS::Model::Task::SetContainerInstanceArn ( Aws::String &&  value)
inline

The ARN of the container instances that host the task.

Definition at line 351 of file Task.h.

◆ SetContainerInstanceArn() [3/3]

void Aws::ECS::Model::Task::SetContainerInstanceArn ( const char *  value)
inline

The ARN of the container instances that host the task.

Definition at line 356 of file Task.h.

◆ SetContainers() [1/2]

void Aws::ECS::Model::Task::SetContainers ( const Aws::Vector< Container > &  value)
inline

The containers associated with the task.

Definition at line 387 of file Task.h.

◆ SetContainers() [2/2]

void Aws::ECS::Model::Task::SetContainers ( Aws::Vector< Container > &&  value)
inline

The containers associated with the task.

Definition at line 392 of file Task.h.

◆ SetCpu() [1/3]

void Aws::ECS::Model::Task::SetCpu ( const Aws::String value)
inline

The number of CPU units used by the task as expressed in a task definition. It can be expressed as an integer using CPU units, for example 1024. It can also be expressed as a string using vCPUs, for example 1 vCPU or 1 vcpu. String values are converted to an integer indicating the CPU units when the task definition is registered.

If you are using the EC2 launch type, this field is optional. Supported values are between 128 CPU units (0.125 vCPUs) and 10240 CPU units (10 vCPUs).

If you are using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of supported values for the memory parameter:

  • 256 (.25 vCPU) - Available memory values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)

  • 512 (.5 vCPU) - Available memory values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)

  • 1024 (1 vCPU) - Available memory values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)

  • 2048 (2 vCPU) - Available memory values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)

  • 4096 (4 vCPU) - Available memory values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)

Definition at line 485 of file Task.h.

◆ SetCpu() [2/3]

void Aws::ECS::Model::Task::SetCpu ( Aws::String &&  value)
inline

The number of CPU units used by the task as expressed in a task definition. It can be expressed as an integer using CPU units, for example 1024. It can also be expressed as a string using vCPUs, for example 1 vCPU or 1 vcpu. String values are converted to an integer indicating the CPU units when the task definition is registered.

If you are using the EC2 launch type, this field is optional. Supported values are between 128 CPU units (0.125 vCPUs) and 10240 CPU units (10 vCPUs).

If you are using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of supported values for the memory parameter:

  • 256 (.25 vCPU) - Available memory values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)

  • 512 (.5 vCPU) - Available memory values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)

  • 1024 (1 vCPU) - Available memory values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)

  • 2048 (2 vCPU) - Available memory values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)

  • 4096 (4 vCPU) - Available memory values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)

Definition at line 509 of file Task.h.

◆ SetCpu() [3/3]

void Aws::ECS::Model::Task::SetCpu ( const char *  value)
inline

The number of CPU units used by the task as expressed in a task definition. It can be expressed as an integer using CPU units, for example 1024. It can also be expressed as a string using vCPUs, for example 1 vCPU or 1 vcpu. String values are converted to an integer indicating the CPU units when the task definition is registered.

If you are using the EC2 launch type, this field is optional. Supported values are between 128 CPU units (0.125 vCPUs) and 10240 CPU units (10 vCPUs).

If you are using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of supported values for the memory parameter:

  • 256 (.25 vCPU) - Available memory values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)

  • 512 (.5 vCPU) - Available memory values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)

  • 1024 (1 vCPU) - Available memory values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)

  • 2048 (2 vCPU) - Available memory values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)

  • 4096 (4 vCPU) - Available memory values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)

Definition at line 533 of file Task.h.

◆ SetCreatedAt() [1/2]

void Aws::ECS::Model::Task::SetCreatedAt ( const Aws::Utils::DateTime value)
inline

The Unix timestamp for when the task was created (the task entered the PENDING state).

Definition at line 624 of file Task.h.

◆ SetCreatedAt() [2/2]

void Aws::ECS::Model::Task::SetCreatedAt ( Aws::Utils::DateTime &&  value)
inline

The Unix timestamp for when the task was created (the task entered the PENDING state).

Definition at line 630 of file Task.h.

◆ SetDesiredStatus() [1/3]

void Aws::ECS::Model::Task::SetDesiredStatus ( const Aws::String value)
inline

The desired status of the task. For more information, see Task Lifecycle.

Definition at line 664 of file Task.h.

◆ SetDesiredStatus() [2/3]

void Aws::ECS::Model::Task::SetDesiredStatus ( Aws::String &&  value)
inline

The desired status of the task. For more information, see Task Lifecycle.

Definition at line 671 of file Task.h.

◆ SetDesiredStatus() [3/3]

void Aws::ECS::Model::Task::SetDesiredStatus ( const char *  value)
inline

The desired status of the task. For more information, see Task Lifecycle.

Definition at line 678 of file Task.h.

◆ SetExecutionStoppedAt() [1/2]

void Aws::ECS::Model::Task::SetExecutionStoppedAt ( const Aws::Utils::DateTime value)
inline

The Unix timestamp for when the task execution stopped.

Definition at line 715 of file Task.h.

◆ SetExecutionStoppedAt() [2/2]

void Aws::ECS::Model::Task::SetExecutionStoppedAt ( Aws::Utils::DateTime &&  value)
inline

The Unix timestamp for when the task execution stopped.

Definition at line 720 of file Task.h.

◆ SetGroup() [1/3]

void Aws::ECS::Model::Task::SetGroup ( const Aws::String value)
inline

The name of the task group associated with the task.

Definition at line 746 of file Task.h.

◆ SetGroup() [2/3]

void Aws::ECS::Model::Task::SetGroup ( Aws::String &&  value)
inline

The name of the task group associated with the task.

Definition at line 751 of file Task.h.

◆ SetGroup() [3/3]

void Aws::ECS::Model::Task::SetGroup ( const char *  value)
inline

The name of the task group associated with the task.

Definition at line 756 of file Task.h.

◆ SetHealthStatus() [1/2]

void Aws::ECS::Model::Task::SetHealthStatus ( const HealthStatus value)
inline

The health status for the task, which is determined by the health of the essential containers in the task. If all essential containers in the task are reporting as HEALTHY, then the task status also reports as HEALTHY. If any essential containers in the task are reporting as UNHEALTHY or UNKNOWN, then the task status also reports as UNHEALTHY or UNKNOWN, accordingly.

The Amazon ECS container agent does not monitor or report on Docker health checks that are embedded in a container image (such as those specified in a parent image or from the image's Dockerfile) and not specified in the container definition. Health check parameters that are specified in a container definition override any Docker health checks that exist in the container image.

Definition at line 820 of file Task.h.

◆ SetHealthStatus() [2/2]

void Aws::ECS::Model::Task::SetHealthStatus ( HealthStatus &&  value)
inline

The health status for the task, which is determined by the health of the essential containers in the task. If all essential containers in the task are reporting as HEALTHY, then the task status also reports as HEALTHY. If any essential containers in the task are reporting as UNHEALTHY or UNKNOWN, then the task status also reports as UNHEALTHY or UNKNOWN, accordingly.

The Amazon ECS container agent does not monitor or report on Docker health checks that are embedded in a container image (such as those specified in a parent image or from the image's Dockerfile) and not specified in the container definition. Health check parameters that are specified in a container definition override any Docker health checks that exist in the container image.

Definition at line 836 of file Task.h.

◆ SetInferenceAccelerators() [1/2]

void Aws::ECS::Model::Task::SetInferenceAccelerators ( const Aws::Vector< InferenceAccelerator > &  value)
inline

The Elastic Inference accelerator associated with the task.

Definition at line 884 of file Task.h.

◆ SetInferenceAccelerators() [2/2]

void Aws::ECS::Model::Task::SetInferenceAccelerators ( Aws::Vector< InferenceAccelerator > &&  value)
inline

The Elastic Inference accelerator associated with the task.

Definition at line 889 of file Task.h.

◆ SetLastStatus() [1/3]

void Aws::ECS::Model::Task::SetLastStatus ( const Aws::String value)
inline

The last known status of the task. For more information, see Task Lifecycle.

Definition at line 931 of file Task.h.

◆ SetLastStatus() [2/3]

void Aws::ECS::Model::Task::SetLastStatus ( Aws::String &&  value)
inline

The last known status of the task. For more information, see Task Lifecycle.

Definition at line 938 of file Task.h.

◆ SetLastStatus() [3/3]

void Aws::ECS::Model::Task::SetLastStatus ( const char *  value)
inline

The last known status of the task. For more information, see Task Lifecycle.

Definition at line 945 of file Task.h.

◆ SetLaunchType() [1/2]

void Aws::ECS::Model::Task::SetLaunchType ( const LaunchType value)
inline

The launch type on which your task is running. For more information, see Amazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide.

Definition at line 991 of file Task.h.

◆ SetLaunchType() [2/2]

void Aws::ECS::Model::Task::SetLaunchType ( LaunchType &&  value)
inline

The launch type on which your task is running. For more information, see Amazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide.

Definition at line 999 of file Task.h.

◆ SetMemory() [1/3]

void Aws::ECS::Model::Task::SetMemory ( const Aws::String value)
inline

The amount of memory (in MiB) used by the task as expressed in a task definition. It can be expressed as an integer using MiB, for example 1024. It can also be expressed as a string using GB, for example 1GB or 1 GB. String values are converted to an integer indicating the MiB when the task definition is registered.

If you are using the EC2 launch type, this field is optional.

If you are using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of supported values for the cpu parameter:

  • 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available cpu values: 256 (.25 vCPU)

  • 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available cpu values: 512 (.5 vCPU)

  • 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available cpu values: 1024 (1 vCPU)

  • Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available cpu values: 2048 (2 vCPU)

  • Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)

    • Available cpu values: 4096 (4 vCPU)

Definition at line 1079 of file Task.h.

◆ SetMemory() [2/3]

void Aws::ECS::Model::Task::SetMemory ( Aws::String &&  value)
inline

The amount of memory (in MiB) used by the task as expressed in a task definition. It can be expressed as an integer using MiB, for example 1024. It can also be expressed as a string using GB, for example 1GB or 1 GB. String values are converted to an integer indicating the MiB when the task definition is registered.

If you are using the EC2 launch type, this field is optional.

If you are using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of supported values for the cpu parameter:

  • 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available cpu values: 256 (.25 vCPU)

  • 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available cpu values: 512 (.5 vCPU)

  • 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available cpu values: 1024 (1 vCPU)

  • Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available cpu values: 2048 (2 vCPU)

  • Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)

    • Available cpu values: 4096 (4 vCPU)

Definition at line 1100 of file Task.h.

◆ SetMemory() [3/3]

void Aws::ECS::Model::Task::SetMemory ( const char *  value)
inline

The amount of memory (in MiB) used by the task as expressed in a task definition. It can be expressed as an integer using MiB, for example 1024. It can also be expressed as a string using GB, for example 1GB or 1 GB. String values are converted to an integer indicating the MiB when the task definition is registered.

If you are using the EC2 launch type, this field is optional.

If you are using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of supported values for the cpu parameter:

  • 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available cpu values: 256 (.25 vCPU)

  • 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available cpu values: 512 (.5 vCPU)

  • 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available cpu values: 1024 (1 vCPU)

  • Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available cpu values: 2048 (2 vCPU)

  • Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)

    • Available cpu values: 4096 (4 vCPU)

Definition at line 1121 of file Task.h.

◆ SetOverrides() [1/2]

void Aws::ECS::Model::Task::SetOverrides ( const TaskOverride value)
inline

One or more container overrides.

Definition at line 1200 of file Task.h.

◆ SetOverrides() [2/2]

void Aws::ECS::Model::Task::SetOverrides ( TaskOverride &&  value)
inline

One or more container overrides.

Definition at line 1205 of file Task.h.

◆ SetPlatformVersion() [1/3]

void Aws::ECS::Model::Task::SetPlatformVersion ( const Aws::String value)
inline

The platform version on which your task is running. A platform version is only specified for tasks using the Fargate launch type. If one is not specified, the LATEST platform version is used by default. For more information, see AWS Fargate Platform Versions in the Amazon Elastic Container Service Developer Guide.

Definition at line 1249 of file Task.h.

◆ SetPlatformVersion() [2/3]

void Aws::ECS::Model::Task::SetPlatformVersion ( Aws::String &&  value)
inline

The platform version on which your task is running. A platform version is only specified for tasks using the Fargate launch type. If one is not specified, the LATEST platform version is used by default. For more information, see AWS Fargate Platform Versions in the Amazon Elastic Container Service Developer Guide.

Definition at line 1260 of file Task.h.

◆ SetPlatformVersion() [3/3]

void Aws::ECS::Model::Task::SetPlatformVersion ( const char *  value)
inline

The platform version on which your task is running. A platform version is only specified for tasks using the Fargate launch type. If one is not specified, the LATEST platform version is used by default. For more information, see AWS Fargate Platform Versions in the Amazon Elastic Container Service Developer Guide.

Definition at line 1271 of file Task.h.

◆ SetPullStartedAt() [1/2]

void Aws::ECS::Model::Task::SetPullStartedAt ( const Aws::Utils::DateTime value)
inline

The Unix timestamp for when the container image pull began.

Definition at line 1320 of file Task.h.

◆ SetPullStartedAt() [2/2]

void Aws::ECS::Model::Task::SetPullStartedAt ( Aws::Utils::DateTime &&  value)
inline

The Unix timestamp for when the container image pull began.

Definition at line 1325 of file Task.h.

◆ SetPullStoppedAt() [1/2]

void Aws::ECS::Model::Task::SetPullStoppedAt ( const Aws::Utils::DateTime value)
inline

The Unix timestamp for when the container image pull completed.

Definition at line 1351 of file Task.h.

◆ SetPullStoppedAt() [2/2]

void Aws::ECS::Model::Task::SetPullStoppedAt ( Aws::Utils::DateTime &&  value)
inline

The Unix timestamp for when the container image pull completed.

Definition at line 1356 of file Task.h.

◆ SetStartedAt() [1/2]

void Aws::ECS::Model::Task::SetStartedAt ( const Aws::Utils::DateTime value)
inline

The Unix timestamp for when the task started (the task transitioned from the PENDING state to the RUNNING state).

Definition at line 1385 of file Task.h.

◆ SetStartedAt() [2/2]

void Aws::ECS::Model::Task::SetStartedAt ( Aws::Utils::DateTime &&  value)
inline

The Unix timestamp for when the task started (the task transitioned from the PENDING state to the RUNNING state).

Definition at line 1391 of file Task.h.

◆ SetStartedBy() [1/3]

void Aws::ECS::Model::Task::SetStartedBy ( const Aws::String value)
inline

The tag specified when a task is started. If the task is started by an Amazon ECS service, then the startedBy parameter contains the deployment ID of the service that starts it.

Definition at line 1425 of file Task.h.

◆ SetStartedBy() [2/3]

void Aws::ECS::Model::Task::SetStartedBy ( Aws::String &&  value)
inline

The tag specified when a task is started. If the task is started by an Amazon ECS service, then the startedBy parameter contains the deployment ID of the service that starts it.

Definition at line 1432 of file Task.h.

◆ SetStartedBy() [3/3]

void Aws::ECS::Model::Task::SetStartedBy ( const char *  value)
inline

The tag specified when a task is started. If the task is started by an Amazon ECS service, then the startedBy parameter contains the deployment ID of the service that starts it.

Definition at line 1439 of file Task.h.

◆ SetStopCode() [1/2]

void Aws::ECS::Model::Task::SetStopCode ( const TaskStopCode value)
inline

The stop code indicating why a task was stopped. The stoppedReason may contain additional details.

Definition at line 1479 of file Task.h.

◆ SetStopCode() [2/2]

void Aws::ECS::Model::Task::SetStopCode ( TaskStopCode &&  value)
inline

The stop code indicating why a task was stopped. The stoppedReason may contain additional details.

Definition at line 1485 of file Task.h.

◆ SetStoppedAt() [1/2]

void Aws::ECS::Model::Task::SetStoppedAt ( const Aws::Utils::DateTime value)
inline

The Unix timestamp for when the task was stopped (the task transitioned from the RUNNING state to the STOPPED state).

Definition at line 1516 of file Task.h.

◆ SetStoppedAt() [2/2]

void Aws::ECS::Model::Task::SetStoppedAt ( Aws::Utils::DateTime &&  value)
inline

The Unix timestamp for when the task was stopped (the task transitioned from the RUNNING state to the STOPPED state).

Definition at line 1522 of file Task.h.

◆ SetStoppedReason() [1/3]

void Aws::ECS::Model::Task::SetStoppedReason ( const Aws::String value)
inline

The reason that the task was stopped.

Definition at line 1550 of file Task.h.

◆ SetStoppedReason() [2/3]

void Aws::ECS::Model::Task::SetStoppedReason ( Aws::String &&  value)
inline

The reason that the task was stopped.

Definition at line 1555 of file Task.h.

◆ SetStoppedReason() [3/3]

void Aws::ECS::Model::Task::SetStoppedReason ( const char *  value)
inline

The reason that the task was stopped.

Definition at line 1560 of file Task.h.

◆ SetStoppingAt() [1/2]

void Aws::ECS::Model::Task::SetStoppingAt ( const Aws::Utils::DateTime value)
inline

The Unix timestamp for when the task stops (transitions from the RUNNING state to STOPPED).

Definition at line 1594 of file Task.h.

◆ SetStoppingAt() [2/2]

void Aws::ECS::Model::Task::SetStoppingAt ( Aws::Utils::DateTime &&  value)
inline

The Unix timestamp for when the task stops (transitions from the RUNNING state to STOPPED).

Definition at line 1600 of file Task.h.

◆ SetTags() [1/2]

void Aws::ECS::Model::Task::SetTags ( const Aws::Vector< Tag > &  value)
inline

The metadata that you apply to the task to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

The following basic restrictions apply to tags:

  • Maximum number of tags per resource - 50

  • For each resource, each tag key must be unique, and each tag key can have only one value.

  • Maximum key length - 128 Unicode characters in UTF-8

  • Maximum value length - 256 Unicode characters in UTF-8

  • If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / .

  • Tag keys and values are case-sensitive.

  • Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.

Definition at line 1673 of file Task.h.

◆ SetTags() [2/2]

void Aws::ECS::Model::Task::SetTags ( Aws::Vector< Tag > &&  value)
inline

The metadata that you apply to the task to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

The following basic restrictions apply to tags:

  • Maximum number of tags per resource - 50

  • For each resource, each tag key must be unique, and each tag key can have only one value.

  • Maximum key length - 128 Unicode characters in UTF-8

  • Maximum value length - 256 Unicode characters in UTF-8

  • If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / .

  • Tag keys and values are case-sensitive.

  • Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.

Definition at line 1693 of file Task.h.

◆ SetTaskArn() [1/3]

void Aws::ECS::Model::Task::SetTaskArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the task.

Definition at line 1789 of file Task.h.

◆ SetTaskArn() [2/3]

void Aws::ECS::Model::Task::SetTaskArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the task.

Definition at line 1794 of file Task.h.

◆ SetTaskArn() [3/3]

void Aws::ECS::Model::Task::SetTaskArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the task.

Definition at line 1799 of file Task.h.

◆ SetTaskDefinitionArn() [1/3]

void Aws::ECS::Model::Task::SetTaskDefinitionArn ( const Aws::String value)
inline

The ARN of the task definition that creates the task.

Definition at line 1830 of file Task.h.

◆ SetTaskDefinitionArn() [2/3]

void Aws::ECS::Model::Task::SetTaskDefinitionArn ( Aws::String &&  value)
inline

The ARN of the task definition that creates the task.

Definition at line 1835 of file Task.h.

◆ SetTaskDefinitionArn() [3/3]

void Aws::ECS::Model::Task::SetTaskDefinitionArn ( const char *  value)
inline

The ARN of the task definition that creates the task.

Definition at line 1840 of file Task.h.

◆ SetVersion()

void Aws::ECS::Model::Task::SetVersion ( long long  value)
inline

The version counter for the task. Every time a task experiences a change that triggers a CloudWatch event, the version counter is incremented. If you are replicating your Amazon ECS task state with CloudWatch Events, you can compare the version of a task reported by the Amazon ECS API actions with the version reported in CloudWatch Events for the task (inside the detail object) to verify that the version in your event stream is current.

Definition at line 1886 of file Task.h.

◆ StartedAtHasBeenSet()

bool Aws::ECS::Model::Task::StartedAtHasBeenSet ( ) const
inline

The Unix timestamp for when the task started (the task transitioned from the PENDING state to the RUNNING state).

Definition at line 1379 of file Task.h.

◆ StartedByHasBeenSet()

bool Aws::ECS::Model::Task::StartedByHasBeenSet ( ) const
inline

The tag specified when a task is started. If the task is started by an Amazon ECS service, then the startedBy parameter contains the deployment ID of the service that starts it.

Definition at line 1418 of file Task.h.

◆ StopCodeHasBeenSet()

bool Aws::ECS::Model::Task::StopCodeHasBeenSet ( ) const
inline

The stop code indicating why a task was stopped. The stoppedReason may contain additional details.

Definition at line 1473 of file Task.h.

◆ StoppedAtHasBeenSet()

bool Aws::ECS::Model::Task::StoppedAtHasBeenSet ( ) const
inline

The Unix timestamp for when the task was stopped (the task transitioned from the RUNNING state to the STOPPED state).

Definition at line 1510 of file Task.h.

◆ StoppedReasonHasBeenSet()

bool Aws::ECS::Model::Task::StoppedReasonHasBeenSet ( ) const
inline

The reason that the task was stopped.

Definition at line 1545 of file Task.h.

◆ StoppingAtHasBeenSet()

bool Aws::ECS::Model::Task::StoppingAtHasBeenSet ( ) const
inline

The Unix timestamp for when the task stops (transitions from the RUNNING state to STOPPED).

Definition at line 1588 of file Task.h.

◆ TagsHasBeenSet()

bool Aws::ECS::Model::Task::TagsHasBeenSet ( ) const
inline

The metadata that you apply to the task to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

The following basic restrictions apply to tags:

  • Maximum number of tags per resource - 50

  • For each resource, each tag key must be unique, and each tag key can have only one value.

  • Maximum key length - 128 Unicode characters in UTF-8

  • Maximum value length - 256 Unicode characters in UTF-8

  • If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / .

  • Tag keys and values are case-sensitive.

  • Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.

Definition at line 1653 of file Task.h.

◆ TaskArnHasBeenSet()

bool Aws::ECS::Model::Task::TaskArnHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of the task.

Definition at line 1784 of file Task.h.

◆ TaskDefinitionArnHasBeenSet()

bool Aws::ECS::Model::Task::TaskDefinitionArnHasBeenSet ( ) const
inline

The ARN of the task definition that creates the task.

Definition at line 1825 of file Task.h.

◆ VersionHasBeenSet()

bool Aws::ECS::Model::Task::VersionHasBeenSet ( ) const
inline

The version counter for the task. Every time a task experiences a change that triggers a CloudWatch event, the version counter is incremented. If you are replicating your Amazon ECS task state with CloudWatch Events, you can compare the version of a task reported by the Amazon ECS API actions with the version reported in CloudWatch Events for the task (inside the detail object) to verify that the version in your event stream is current.

Definition at line 1876 of file Task.h.

◆ WithAttachments() [1/2]

Task& Aws::ECS::Model::Task::WithAttachments ( const Aws::Vector< Attachment > &  value)
inline

The Elastic Network Adapter associated with the task if the task uses the awsvpc network mode.

Definition at line 80 of file Task.h.

◆ WithAttachments() [2/2]

Task& Aws::ECS::Model::Task::WithAttachments ( Aws::Vector< Attachment > &&  value)
inline

The Elastic Network Adapter associated with the task if the task uses the awsvpc network mode.

Definition at line 86 of file Task.h.

◆ WithAttributes() [1/2]

Task& Aws::ECS::Model::Task::WithAttributes ( const Aws::Vector< Attribute > &  value)
inline

The attributes of the task

Definition at line 124 of file Task.h.

◆ WithAttributes() [2/2]

Task& Aws::ECS::Model::Task::WithAttributes ( Aws::Vector< Attribute > &&  value)
inline

The attributes of the task

Definition at line 129 of file Task.h.

◆ WithAvailabilityZone() [1/3]

Task& Aws::ECS::Model::Task::WithAvailabilityZone ( const Aws::String value)
inline

The availability zone of the task.

Definition at line 170 of file Task.h.

◆ WithAvailabilityZone() [2/3]

Task& Aws::ECS::Model::Task::WithAvailabilityZone ( Aws::String &&  value)
inline

The availability zone of the task.

Definition at line 175 of file Task.h.

◆ WithAvailabilityZone() [3/3]

Task& Aws::ECS::Model::Task::WithAvailabilityZone ( const char *  value)
inline

The availability zone of the task.

Definition at line 180 of file Task.h.

◆ WithCapacityProviderName() [1/3]

Task& Aws::ECS::Model::Task::WithCapacityProviderName ( const Aws::String value)
inline

The capacity provider associated with the task.

Definition at line 211 of file Task.h.

◆ WithCapacityProviderName() [2/3]

Task& Aws::ECS::Model::Task::WithCapacityProviderName ( Aws::String &&  value)
inline

The capacity provider associated with the task.

Definition at line 216 of file Task.h.

◆ WithCapacityProviderName() [3/3]

Task& Aws::ECS::Model::Task::WithCapacityProviderName ( const char *  value)
inline

The capacity provider associated with the task.

Definition at line 221 of file Task.h.

◆ WithClusterArn() [1/3]

Task& Aws::ECS::Model::Task::WithClusterArn ( const Aws::String value)
inline

The ARN of the cluster that hosts the task.

Definition at line 252 of file Task.h.

◆ WithClusterArn() [2/3]

Task& Aws::ECS::Model::Task::WithClusterArn ( Aws::String &&  value)
inline

The ARN of the cluster that hosts the task.

Definition at line 257 of file Task.h.

◆ WithClusterArn() [3/3]

Task& Aws::ECS::Model::Task::WithClusterArn ( const char *  value)
inline

The ARN of the cluster that hosts the task.

Definition at line 262 of file Task.h.

◆ WithConnectivity() [1/2]

Task& Aws::ECS::Model::Task::WithConnectivity ( const Connectivity value)
inline

The connectivity status of a task.

Definition at line 288 of file Task.h.

◆ WithConnectivity() [2/2]

Task& Aws::ECS::Model::Task::WithConnectivity ( Connectivity &&  value)
inline

The connectivity status of a task.

Definition at line 293 of file Task.h.

◆ WithConnectivityAt() [1/2]

Task& Aws::ECS::Model::Task::WithConnectivityAt ( const Aws::Utils::DateTime value)
inline

The Unix timestamp for when the task last went into CONNECTED status.

Definition at line 324 of file Task.h.

◆ WithConnectivityAt() [2/2]

Task& Aws::ECS::Model::Task::WithConnectivityAt ( Aws::Utils::DateTime &&  value)
inline

The Unix timestamp for when the task last went into CONNECTED status.

Definition at line 330 of file Task.h.

◆ WithContainerInstanceArn() [1/3]

Task& Aws::ECS::Model::Task::WithContainerInstanceArn ( const Aws::String value)
inline

The ARN of the container instances that host the task.

Definition at line 361 of file Task.h.

◆ WithContainerInstanceArn() [2/3]

Task& Aws::ECS::Model::Task::WithContainerInstanceArn ( Aws::String &&  value)
inline

The ARN of the container instances that host the task.

Definition at line 366 of file Task.h.

◆ WithContainerInstanceArn() [3/3]

Task& Aws::ECS::Model::Task::WithContainerInstanceArn ( const char *  value)
inline

The ARN of the container instances that host the task.

Definition at line 371 of file Task.h.

◆ WithContainers() [1/2]

Task& Aws::ECS::Model::Task::WithContainers ( const Aws::Vector< Container > &  value)
inline

The containers associated with the task.

Definition at line 397 of file Task.h.

◆ WithContainers() [2/2]

Task& Aws::ECS::Model::Task::WithContainers ( Aws::Vector< Container > &&  value)
inline

The containers associated with the task.

Definition at line 402 of file Task.h.

◆ WithCpu() [1/3]

Task& Aws::ECS::Model::Task::WithCpu ( const Aws::String value)
inline

The number of CPU units used by the task as expressed in a task definition. It can be expressed as an integer using CPU units, for example 1024. It can also be expressed as a string using vCPUs, for example 1 vCPU or 1 vcpu. String values are converted to an integer indicating the CPU units when the task definition is registered.

If you are using the EC2 launch type, this field is optional. Supported values are between 128 CPU units (0.125 vCPUs) and 10240 CPU units (10 vCPUs).

If you are using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of supported values for the memory parameter:

  • 256 (.25 vCPU) - Available memory values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)

  • 512 (.5 vCPU) - Available memory values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)

  • 1024 (1 vCPU) - Available memory values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)

  • 2048 (2 vCPU) - Available memory values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)

  • 4096 (4 vCPU) - Available memory values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)

Definition at line 557 of file Task.h.

◆ WithCpu() [2/3]

Task& Aws::ECS::Model::Task::WithCpu ( Aws::String &&  value)
inline

The number of CPU units used by the task as expressed in a task definition. It can be expressed as an integer using CPU units, for example 1024. It can also be expressed as a string using vCPUs, for example 1 vCPU or 1 vcpu. String values are converted to an integer indicating the CPU units when the task definition is registered.

If you are using the EC2 launch type, this field is optional. Supported values are between 128 CPU units (0.125 vCPUs) and 10240 CPU units (10 vCPUs).

If you are using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of supported values for the memory parameter:

  • 256 (.25 vCPU) - Available memory values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)

  • 512 (.5 vCPU) - Available memory values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)

  • 1024 (1 vCPU) - Available memory values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)

  • 2048 (2 vCPU) - Available memory values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)

  • 4096 (4 vCPU) - Available memory values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)

Definition at line 581 of file Task.h.

◆ WithCpu() [3/3]

Task& Aws::ECS::Model::Task::WithCpu ( const char *  value)
inline

The number of CPU units used by the task as expressed in a task definition. It can be expressed as an integer using CPU units, for example 1024. It can also be expressed as a string using vCPUs, for example 1 vCPU or 1 vcpu. String values are converted to an integer indicating the CPU units when the task definition is registered.

If you are using the EC2 launch type, this field is optional. Supported values are between 128 CPU units (0.125 vCPUs) and 10240 CPU units (10 vCPUs).

If you are using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of supported values for the memory parameter:

  • 256 (.25 vCPU) - Available memory values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)

  • 512 (.5 vCPU) - Available memory values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)

  • 1024 (1 vCPU) - Available memory values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)

  • 2048 (2 vCPU) - Available memory values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)

  • 4096 (4 vCPU) - Available memory values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)

Definition at line 605 of file Task.h.

◆ WithCreatedAt() [1/2]

Task& Aws::ECS::Model::Task::WithCreatedAt ( const Aws::Utils::DateTime value)
inline

The Unix timestamp for when the task was created (the task entered the PENDING state).

Definition at line 636 of file Task.h.

◆ WithCreatedAt() [2/2]

Task& Aws::ECS::Model::Task::WithCreatedAt ( Aws::Utils::DateTime &&  value)
inline

The Unix timestamp for when the task was created (the task entered the PENDING state).

Definition at line 642 of file Task.h.

◆ WithDesiredStatus() [1/3]

Task& Aws::ECS::Model::Task::WithDesiredStatus ( const Aws::String value)
inline

The desired status of the task. For more information, see Task Lifecycle.

Definition at line 685 of file Task.h.

◆ WithDesiredStatus() [2/3]

Task& Aws::ECS::Model::Task::WithDesiredStatus ( Aws::String &&  value)
inline

The desired status of the task. For more information, see Task Lifecycle.

Definition at line 692 of file Task.h.

◆ WithDesiredStatus() [3/3]

Task& Aws::ECS::Model::Task::WithDesiredStatus ( const char *  value)
inline

The desired status of the task. For more information, see Task Lifecycle.

Definition at line 699 of file Task.h.

◆ WithExecutionStoppedAt() [1/2]

Task& Aws::ECS::Model::Task::WithExecutionStoppedAt ( const Aws::Utils::DateTime value)
inline

The Unix timestamp for when the task execution stopped.

Definition at line 725 of file Task.h.

◆ WithExecutionStoppedAt() [2/2]

Task& Aws::ECS::Model::Task::WithExecutionStoppedAt ( Aws::Utils::DateTime &&  value)
inline

The Unix timestamp for when the task execution stopped.

Definition at line 730 of file Task.h.

◆ WithGroup() [1/3]

Task& Aws::ECS::Model::Task::WithGroup ( const Aws::String value)
inline

The name of the task group associated with the task.

Definition at line 761 of file Task.h.

◆ WithGroup() [2/3]

Task& Aws::ECS::Model::Task::WithGroup ( Aws::String &&  value)
inline

The name of the task group associated with the task.

Definition at line 766 of file Task.h.

◆ WithGroup() [3/3]

Task& Aws::ECS::Model::Task::WithGroup ( const char *  value)
inline

The name of the task group associated with the task.

Definition at line 771 of file Task.h.

◆ WithHealthStatus() [1/2]

Task& Aws::ECS::Model::Task::WithHealthStatus ( const HealthStatus value)
inline

The health status for the task, which is determined by the health of the essential containers in the task. If all essential containers in the task are reporting as HEALTHY, then the task status also reports as HEALTHY. If any essential containers in the task are reporting as UNHEALTHY or UNKNOWN, then the task status also reports as UNHEALTHY or UNKNOWN, accordingly.

The Amazon ECS container agent does not monitor or report on Docker health checks that are embedded in a container image (such as those specified in a parent image or from the image's Dockerfile) and not specified in the container definition. Health check parameters that are specified in a container definition override any Docker health checks that exist in the container image.

Definition at line 852 of file Task.h.

◆ WithHealthStatus() [2/2]

Task& Aws::ECS::Model::Task::WithHealthStatus ( HealthStatus &&  value)
inline

The health status for the task, which is determined by the health of the essential containers in the task. If all essential containers in the task are reporting as HEALTHY, then the task status also reports as HEALTHY. If any essential containers in the task are reporting as UNHEALTHY or UNKNOWN, then the task status also reports as UNHEALTHY or UNKNOWN, accordingly.

The Amazon ECS container agent does not monitor or report on Docker health checks that are embedded in a container image (such as those specified in a parent image or from the image's Dockerfile) and not specified in the container definition. Health check parameters that are specified in a container definition override any Docker health checks that exist in the container image.

Definition at line 868 of file Task.h.

◆ WithInferenceAccelerators() [1/2]

Task& Aws::ECS::Model::Task::WithInferenceAccelerators ( const Aws::Vector< InferenceAccelerator > &  value)
inline

The Elastic Inference accelerator associated with the task.

Definition at line 894 of file Task.h.

◆ WithInferenceAccelerators() [2/2]

Task& Aws::ECS::Model::Task::WithInferenceAccelerators ( Aws::Vector< InferenceAccelerator > &&  value)
inline

The Elastic Inference accelerator associated with the task.

Definition at line 899 of file Task.h.

◆ WithLastStatus() [1/3]

Task& Aws::ECS::Model::Task::WithLastStatus ( const Aws::String value)
inline

The last known status of the task. For more information, see Task Lifecycle.

Definition at line 952 of file Task.h.

◆ WithLastStatus() [2/3]

Task& Aws::ECS::Model::Task::WithLastStatus ( Aws::String &&  value)
inline

The last known status of the task. For more information, see Task Lifecycle.

Definition at line 959 of file Task.h.

◆ WithLastStatus() [3/3]

Task& Aws::ECS::Model::Task::WithLastStatus ( const char *  value)
inline

The last known status of the task. For more information, see Task Lifecycle.

Definition at line 966 of file Task.h.

◆ WithLaunchType() [1/2]

Task& Aws::ECS::Model::Task::WithLaunchType ( const LaunchType value)
inline

The launch type on which your task is running. For more information, see Amazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide.

Definition at line 1007 of file Task.h.

◆ WithLaunchType() [2/2]

Task& Aws::ECS::Model::Task::WithLaunchType ( LaunchType &&  value)
inline

The launch type on which your task is running. For more information, see Amazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide.

Definition at line 1015 of file Task.h.

◆ WithMemory() [1/3]

Task& Aws::ECS::Model::Task::WithMemory ( const Aws::String value)
inline

The amount of memory (in MiB) used by the task as expressed in a task definition. It can be expressed as an integer using MiB, for example 1024. It can also be expressed as a string using GB, for example 1GB or 1 GB. String values are converted to an integer indicating the MiB when the task definition is registered.

If you are using the EC2 launch type, this field is optional.

If you are using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of supported values for the cpu parameter:

  • 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available cpu values: 256 (.25 vCPU)

  • 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available cpu values: 512 (.5 vCPU)

  • 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available cpu values: 1024 (1 vCPU)

  • Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available cpu values: 2048 (2 vCPU)

  • Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)

    • Available cpu values: 4096 (4 vCPU)

Definition at line 1142 of file Task.h.

◆ WithMemory() [2/3]

Task& Aws::ECS::Model::Task::WithMemory ( Aws::String &&  value)
inline

The amount of memory (in MiB) used by the task as expressed in a task definition. It can be expressed as an integer using MiB, for example 1024. It can also be expressed as a string using GB, for example 1GB or 1 GB. String values are converted to an integer indicating the MiB when the task definition is registered.

If you are using the EC2 launch type, this field is optional.

If you are using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of supported values for the cpu parameter:

  • 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available cpu values: 256 (.25 vCPU)

  • 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available cpu values: 512 (.5 vCPU)

  • 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available cpu values: 1024 (1 vCPU)

  • Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available cpu values: 2048 (2 vCPU)

  • Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)

    • Available cpu values: 4096 (4 vCPU)

Definition at line 1163 of file Task.h.

◆ WithMemory() [3/3]

Task& Aws::ECS::Model::Task::WithMemory ( const char *  value)
inline

The amount of memory (in MiB) used by the task as expressed in a task definition. It can be expressed as an integer using MiB, for example 1024. It can also be expressed as a string using GB, for example 1GB or 1 GB. String values are converted to an integer indicating the MiB when the task definition is registered.

If you are using the EC2 launch type, this field is optional.

If you are using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of supported values for the cpu parameter:

  • 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available cpu values: 256 (.25 vCPU)

  • 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available cpu values: 512 (.5 vCPU)

  • 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available cpu values: 1024 (1 vCPU)

  • Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available cpu values: 2048 (2 vCPU)

  • Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)

    • Available cpu values: 4096 (4 vCPU)

Definition at line 1184 of file Task.h.

◆ WithOverrides() [1/2]

Task& Aws::ECS::Model::Task::WithOverrides ( const TaskOverride value)
inline

One or more container overrides.

Definition at line 1210 of file Task.h.

◆ WithOverrides() [2/2]

Task& Aws::ECS::Model::Task::WithOverrides ( TaskOverride &&  value)
inline

One or more container overrides.

Definition at line 1215 of file Task.h.

◆ WithPlatformVersion() [1/3]

Task& Aws::ECS::Model::Task::WithPlatformVersion ( const Aws::String value)
inline

The platform version on which your task is running. A platform version is only specified for tasks using the Fargate launch type. If one is not specified, the LATEST platform version is used by default. For more information, see AWS Fargate Platform Versions in the Amazon Elastic Container Service Developer Guide.

Definition at line 1282 of file Task.h.

◆ WithPlatformVersion() [2/3]

Task& Aws::ECS::Model::Task::WithPlatformVersion ( Aws::String &&  value)
inline

The platform version on which your task is running. A platform version is only specified for tasks using the Fargate launch type. If one is not specified, the LATEST platform version is used by default. For more information, see AWS Fargate Platform Versions in the Amazon Elastic Container Service Developer Guide.

Definition at line 1293 of file Task.h.

◆ WithPlatformVersion() [3/3]

Task& Aws::ECS::Model::Task::WithPlatformVersion ( const char *  value)
inline

The platform version on which your task is running. A platform version is only specified for tasks using the Fargate launch type. If one is not specified, the LATEST platform version is used by default. For more information, see AWS Fargate Platform Versions in the Amazon Elastic Container Service Developer Guide.

Definition at line 1304 of file Task.h.

◆ WithPullStartedAt() [1/2]

Task& Aws::ECS::Model::Task::WithPullStartedAt ( const Aws::Utils::DateTime value)
inline

The Unix timestamp for when the container image pull began.

Definition at line 1330 of file Task.h.

◆ WithPullStartedAt() [2/2]

Task& Aws::ECS::Model::Task::WithPullStartedAt ( Aws::Utils::DateTime &&  value)
inline

The Unix timestamp for when the container image pull began.

Definition at line 1335 of file Task.h.

◆ WithPullStoppedAt() [1/2]

Task& Aws::ECS::Model::Task::WithPullStoppedAt ( const Aws::Utils::DateTime value)
inline

The Unix timestamp for when the container image pull completed.

Definition at line 1361 of file Task.h.

◆ WithPullStoppedAt() [2/2]

Task& Aws::ECS::Model::Task::WithPullStoppedAt ( Aws::Utils::DateTime &&  value)
inline

The Unix timestamp for when the container image pull completed.

Definition at line 1366 of file Task.h.

◆ WithStartedAt() [1/2]

Task& Aws::ECS::Model::Task::WithStartedAt ( const Aws::Utils::DateTime value)
inline

The Unix timestamp for when the task started (the task transitioned from the PENDING state to the RUNNING state).

Definition at line 1397 of file Task.h.

◆ WithStartedAt() [2/2]

Task& Aws::ECS::Model::Task::WithStartedAt ( Aws::Utils::DateTime &&  value)
inline

The Unix timestamp for when the task started (the task transitioned from the PENDING state to the RUNNING state).

Definition at line 1403 of file Task.h.

◆ WithStartedBy() [1/3]

Task& Aws::ECS::Model::Task::WithStartedBy ( const Aws::String value)
inline

The tag specified when a task is started. If the task is started by an Amazon ECS service, then the startedBy parameter contains the deployment ID of the service that starts it.

Definition at line 1446 of file Task.h.

◆ WithStartedBy() [2/3]

Task& Aws::ECS::Model::Task::WithStartedBy ( Aws::String &&  value)
inline

The tag specified when a task is started. If the task is started by an Amazon ECS service, then the startedBy parameter contains the deployment ID of the service that starts it.

Definition at line 1453 of file Task.h.

◆ WithStartedBy() [3/3]

Task& Aws::ECS::Model::Task::WithStartedBy ( const char *  value)
inline

The tag specified when a task is started. If the task is started by an Amazon ECS service, then the startedBy parameter contains the deployment ID of the service that starts it.

Definition at line 1460 of file Task.h.

◆ WithStopCode() [1/2]

Task& Aws::ECS::Model::Task::WithStopCode ( const TaskStopCode value)
inline

The stop code indicating why a task was stopped. The stoppedReason may contain additional details.

Definition at line 1491 of file Task.h.

◆ WithStopCode() [2/2]

Task& Aws::ECS::Model::Task::WithStopCode ( TaskStopCode &&  value)
inline

The stop code indicating why a task was stopped. The stoppedReason may contain additional details.

Definition at line 1497 of file Task.h.

◆ WithStoppedAt() [1/2]

Task& Aws::ECS::Model::Task::WithStoppedAt ( const Aws::Utils::DateTime value)
inline

The Unix timestamp for when the task was stopped (the task transitioned from the RUNNING state to the STOPPED state).

Definition at line 1528 of file Task.h.

◆ WithStoppedAt() [2/2]

Task& Aws::ECS::Model::Task::WithStoppedAt ( Aws::Utils::DateTime &&  value)
inline

The Unix timestamp for when the task was stopped (the task transitioned from the RUNNING state to the STOPPED state).

Definition at line 1534 of file Task.h.

◆ WithStoppedReason() [1/3]

Task& Aws::ECS::Model::Task::WithStoppedReason ( const Aws::String value)
inline

The reason that the task was stopped.

Definition at line 1565 of file Task.h.

◆ WithStoppedReason() [2/3]

Task& Aws::ECS::Model::Task::WithStoppedReason ( Aws::String &&  value)
inline

The reason that the task was stopped.

Definition at line 1570 of file Task.h.

◆ WithStoppedReason() [3/3]

Task& Aws::ECS::Model::Task::WithStoppedReason ( const char *  value)
inline

The reason that the task was stopped.

Definition at line 1575 of file Task.h.

◆ WithStoppingAt() [1/2]

Task& Aws::ECS::Model::Task::WithStoppingAt ( const Aws::Utils::DateTime value)
inline

The Unix timestamp for when the task stops (transitions from the RUNNING state to STOPPED).

Definition at line 1606 of file Task.h.

◆ WithStoppingAt() [2/2]

Task& Aws::ECS::Model::Task::WithStoppingAt ( Aws::Utils::DateTime &&  value)
inline

The Unix timestamp for when the task stops (transitions from the RUNNING state to STOPPED).

Definition at line 1612 of file Task.h.

◆ WithTags() [1/2]

Task& Aws::ECS::Model::Task::WithTags ( const Aws::Vector< Tag > &  value)
inline

The metadata that you apply to the task to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

The following basic restrictions apply to tags:

  • Maximum number of tags per resource - 50

  • For each resource, each tag key must be unique, and each tag key can have only one value.

  • Maximum key length - 128 Unicode characters in UTF-8

  • Maximum value length - 256 Unicode characters in UTF-8

  • If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / .

  • Tag keys and values are case-sensitive.

  • Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.

Definition at line 1713 of file Task.h.

◆ WithTags() [2/2]

Task& Aws::ECS::Model::Task::WithTags ( Aws::Vector< Tag > &&  value)
inline

The metadata that you apply to the task to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

The following basic restrictions apply to tags:

  • Maximum number of tags per resource - 50

  • For each resource, each tag key must be unique, and each tag key can have only one value.

  • Maximum key length - 128 Unicode characters in UTF-8

  • Maximum value length - 256 Unicode characters in UTF-8

  • If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / .

  • Tag keys and values are case-sensitive.

  • Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.

Definition at line 1733 of file Task.h.

◆ WithTaskArn() [1/3]

Task& Aws::ECS::Model::Task::WithTaskArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the task.

Definition at line 1804 of file Task.h.

◆ WithTaskArn() [2/3]

Task& Aws::ECS::Model::Task::WithTaskArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the task.

Definition at line 1809 of file Task.h.

◆ WithTaskArn() [3/3]

Task& Aws::ECS::Model::Task::WithTaskArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the task.

Definition at line 1814 of file Task.h.

◆ WithTaskDefinitionArn() [1/3]

Task& Aws::ECS::Model::Task::WithTaskDefinitionArn ( const Aws::String value)
inline

The ARN of the task definition that creates the task.

Definition at line 1845 of file Task.h.

◆ WithTaskDefinitionArn() [2/3]

Task& Aws::ECS::Model::Task::WithTaskDefinitionArn ( Aws::String &&  value)
inline

The ARN of the task definition that creates the task.

Definition at line 1850 of file Task.h.

◆ WithTaskDefinitionArn() [3/3]

Task& Aws::ECS::Model::Task::WithTaskDefinitionArn ( const char *  value)
inline

The ARN of the task definition that creates the task.

Definition at line 1855 of file Task.h.

◆ WithVersion()

Task& Aws::ECS::Model::Task::WithVersion ( long long  value)
inline

The version counter for the task. Every time a task experiences a change that triggers a CloudWatch event, the version counter is incremented. If you are replicating your Amazon ECS task state with CloudWatch Events, you can compare the version of a task reported by the Amazon ECS API actions with the version reported in CloudWatch Events for the task (inside the detail object) to verify that the version in your event stream is current.

Definition at line 1896 of file Task.h.


The documentation for this class was generated from the following file: