Struct aws_sdk_codedeploy::model::TimeBasedCanary [−][src]
#[non_exhaustive]pub struct TimeBasedCanary {
pub canary_percentage: i32,
pub canary_interval: i32,
}
Expand description
A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in two increments. 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.canary_percentage: i32
The percentage of traffic to shift in the first increment of a
TimeBasedCanary
deployment.
canary_interval: i32
The number of minutes between the first and second traffic shifts of a
TimeBasedCanary
deployment.
Implementations
The percentage of traffic to shift in the first increment of a
TimeBasedCanary
deployment.
The number of minutes between the first and second traffic shifts of a
TimeBasedCanary
deployment.
Creates a new builder-style object to manufacture TimeBasedCanary
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 TimeBasedCanary
impl Send for TimeBasedCanary
impl Sync for TimeBasedCanary
impl Unpin for TimeBasedCanary
impl UnwindSafe for TimeBasedCanary
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