[][src]Struct rusoto_codedeploy::ECSTaskSet

pub struct ECSTaskSet {
    pub desired_count: Option<i64>,
    pub identifer: Option<String>,
    pub pending_count: Option<i64>,
    pub running_count: Option<i64>,
    pub status: Option<String>,
    pub target_group: Option<TargetGroupInfo>,
    pub task_set_label: Option<String>,
    pub traffic_weight: Option<f64>,
}

Information about a set of Amazon ECS tasks in an AWS CodeDeploy deployment. An Amazon ECS task set includes details such as the desired number of tasks, how many tasks are running, and whether the task set serves production traffic. An AWS CodeDeploy application that uses the Amazon ECS compute platform deploys a containerized application in an Amazon ECS service as a task set.

Fields

desired_count: Option<i64>

The number of tasks in a task set. During a deployment that uses the Amazon ECS compute type, CodeDeploy instructs Amazon ECS to create a new task set and uses this value to determine how many tasks to create. After the updated task set is created, CodeDeploy shifts traffic to the new task set.

identifer: Option<String>

A unique ID of an ECSTaskSet.

pending_count: Option<i64>

The number of tasks in the task set that are in the PENDING status during an Amazon ECS deployment. A task in the PENDING state is preparing to enter the RUNNING state. A task set enters the PENDING status when it launches for the first time, or when it is restarted after being in the STOPPED state.

running_count: Option<i64>

The number of tasks in the task set that are in the RUNNING status during an Amazon ECS deployment. A task in the RUNNING state is running and ready for use.

status: Option<String>

The status of the task set. There are three valid task set statuses:

  • PRIMARY: Indicates the task set is serving production traffic.

  • ACTIVE: Indicates the task set is not serving production traffic.

  • DRAINING: Indicates the tasks in the task set are being stopped and their corresponding targets are being deregistered from their target group.

target_group: Option<TargetGroupInfo>

The target group associated with the task set. The target group is used by AWS CodeDeploy to manage traffic to a task set.

task_set_label: Option<String>

A label that identifies whether the ECS task set is an original target (BLUE) or a replacement target (GREEN).

traffic_weight: Option<f64>

The percentage of traffic served by this task set.

Trait Implementations

impl Clone for ECSTaskSet[src]

impl Debug for ECSTaskSet[src]

impl Default for ECSTaskSet[src]

impl<'de> Deserialize<'de> for ECSTaskSet[src]

impl PartialEq<ECSTaskSet> for ECSTaskSet[src]

impl StructuralPartialEq for ECSTaskSet[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.