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
cluster_arn: Option<String>
The Amazon Resource Name (ARN) of the cluster that hosts the task.
container_instance_arn: Option<String>
The Amazon Resource Name (ARN) of the container instances that host the task.
containers: Option<Containers>
The containers associated with the task.
created_at: Option<Timestamp>
The Unix timestamp for when the task was created (the task entered the PENDING
state).
desired_status: Option<String>
The desired status of the task.
group: Option<String>
The name of the task group associated with the task.
last_status: Option<String>
The last known status of the task.
overrides: Option<TaskOverride>
One or more container overrides.
started_at: Option<Timestamp>
The Unix timestamp for when the task was started (the task transitioned from the PENDING
state to the RUNNING
state).
started_by: Option<String>
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.
stopped_at: Option<Timestamp>
The Unix timestamp for when the task was stopped (the task transitioned from the RUNNING
state to the STOPPED
state).
stopped_reason: Option<String>
The reason the task was stopped.
task_arn: Option<String>
The Amazon Resource Name (ARN) of the task.
task_definition_arn: Option<String>
The Amazon Resource Name (ARN) of the task definition that creates the task.
version: Option<Long>
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]
impl Debug for Task
[src]
impl Clone for Task
[src]
fn clone(&self) -> Task
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more