[−][src]Struct rusoto_codedeploy::ECSTaskSet
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]
pub fn clone(&self) -> ECSTaskSet
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ECSTaskSet
[src]
impl Default for ECSTaskSet
[src]
pub fn default() -> ECSTaskSet
[src]
impl<'de> Deserialize<'de> for ECSTaskSet
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<ECSTaskSet> for ECSTaskSet
[src]
pub fn eq(&self, other: &ECSTaskSet) -> bool
[src]
pub fn ne(&self, other: &ECSTaskSet) -> bool
[src]
impl StructuralPartialEq for ECSTaskSet
[src]
Auto Trait Implementations
impl RefUnwindSafe for ECSTaskSet
[src]
impl Send for ECSTaskSet
[src]
impl Sync for ECSTaskSet
[src]
impl Unpin for ECSTaskSet
[src]
impl UnwindSafe for ECSTaskSet
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,