[][src]Struct rusoto_codedeploy::BlueInstanceTerminationOption

pub struct BlueInstanceTerminationOption {
    pub action: Option<String>,
    pub termination_wait_time_in_minutes: Option<i64>,
}

Information about whether instances in the original environment are terminated when a blue/green deployment is successful. BlueInstanceTerminationOption does not apply to Lambda deployments.

Fields

action: Option<String>

The action to take on instances in the original environment after a successful blue/green deployment.

  • TERMINATE: Instances are terminated after a specified wait time.

  • KEEP_ALIVE: Instances are left running after they are deregistered from the load balancer and removed from the deployment group.

termination_wait_time_in_minutes: Option<i64>

For an Amazon EC2 deployment, the number of minutes to wait after a successful blue/green deployment before terminating instances from the original environment.

For an Amazon ECS deployment, the number of minutes before deleting the original (blue) task set. During an Amazon ECS deployment, CodeDeploy shifts traffic from the original (blue) task set to a replacement (green) task set.

The maximum setting is 2880 minutes (2 days).

Trait Implementations

impl Clone for BlueInstanceTerminationOption[src]

impl Debug for BlueInstanceTerminationOption[src]

impl Default for BlueInstanceTerminationOption[src]

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

impl PartialEq<BlueInstanceTerminationOption> for BlueInstanceTerminationOption[src]

impl Serialize for BlueInstanceTerminationOption[src]

impl StructuralPartialEq for BlueInstanceTerminationOption[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.