[][src]Struct rusoto_codedeploy::TrafficRoutingConfig

pub struct TrafficRoutingConfig {
    pub time_based_canary: Option<TimeBasedCanary>,
    pub time_based_linear: Option<TimeBasedLinear>,
    pub type_: Option<String>,
}

The configuration that specifies how traffic is shifted from one version of a Lambda function to another version during an AWS Lambda deployment.

Fields

time_based_canary: Option<TimeBasedCanary>

A configuration that shifts traffic from one version of a Lambda function to another in two increments. The original and target Lambda function versions are specified in the deployment's AppSpec file.

time_based_linear: Option<TimeBasedLinear>

A configuration that shifts traffic from one version of a Lambda function to another in equal increments, with an equal number of minutes between each increment. The original and target Lambda function versions are specified in the deployment's AppSpec file.

type_: Option<String>

The type of traffic shifting (TimeBasedCanary or TimeBasedLinear) used by a deployment configuration .

Trait Implementations

impl Clone for TrafficRoutingConfig[src]

impl Default for TrafficRoutingConfig[src]

impl PartialEq<TrafficRoutingConfig> for TrafficRoutingConfig[src]

impl Debug for TrafficRoutingConfig[src]

impl Serialize for TrafficRoutingConfig[src]

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

Auto Trait Implementations

Blanket Implementations

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

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

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.

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self