Struct rusoto_ecs::Task [] [src]

pub struct Task {
    pub cluster_arn: Option<String>,
    pub container_instance_arn: Option<String>,
    pub containers: Option<Containers>,
    pub created_at: Option<Timestamp>,
    pub desired_status: Option<String>,
    pub group: Option<String>,
    pub last_status: Option<String>,
    pub overrides: Option<TaskOverride>,
    pub started_at: Option<Timestamp>,
    pub started_by: Option<String>,
    pub stopped_at: Option<Timestamp>,
    pub stopped_reason: Option<String>,
    pub task_arn: Option<String>,
    pub task_definition_arn: Option<String>,
    pub version: Option<Long>,
}

Details on a task in a cluster.

Fields

The Amazon Resource Name (ARN) of the cluster that hosts the task.

The Amazon Resource Name (ARN) of the container instances that host the task.

The containers associated with the task.

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

The desired status of the task.

The name of the task group associated with the task.

The last known status of the task.

One or more container overrides.

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

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.

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

The reason the task was stopped.

The Amazon Resource Name (ARN) of the task.

The Amazon Resource Name (ARN) of the task definition that creates the task.

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 APIs 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.

Trait Implementations

impl Default for Task
[src]

Returns the "default value" for a type. Read more

impl Debug for Task
[src]

Formats the value using the given formatter.

impl Clone for Task
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more