Struct aws_sdk_codedeploy::model::TimeBasedLinear [−][src]
#[non_exhaustive]pub struct TimeBasedLinear {
pub linear_percentage: i32,
pub linear_interval: i32,
}
Expand description
A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in equal increments, with an equal number of minutes between each increment. The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.linear_percentage: i32
The percentage of traffic that is shifted at the start of each increment of a
TimeBasedLinear
deployment.
linear_interval: i32
The number of minutes between each incremental traffic shift of a
TimeBasedLinear
deployment.
Implementations
The percentage of traffic that is shifted at the start of each increment of a
TimeBasedLinear
deployment.
The number of minutes between each incremental traffic shift of a
TimeBasedLinear
deployment.
Creates a new builder-style object to manufacture TimeBasedLinear
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TimeBasedLinear
impl Send for TimeBasedLinear
impl Sync for TimeBasedLinear
impl Unpin for TimeBasedLinear
impl UnwindSafe for TimeBasedLinear
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more