[][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:

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 PartialEq<ECSTaskSet> for ECSTaskSet[src]

impl Default for ECSTaskSet[src]

impl Clone for ECSTaskSet[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ECSTaskSet[src]

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

Auto Trait Implementations

impl Send for ECSTaskSet

impl Sync for ECSTaskSet

Blanket Implementations

impl<T> From for T[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self