Struct aws_sdk_codedeploy::model::TimeBasedCanary
source · #[non_exhaustive]pub struct TimeBasedCanary { /* private fields */ }
Expand description
A configuration that shifts traffic from one version of a Lambda function or Amazon 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.
Implementations§
source§impl TimeBasedCanary
impl TimeBasedCanary
sourcepub fn canary_percentage(&self) -> i32
pub fn canary_percentage(&self) -> i32
The percentage of traffic to shift in the first increment of a TimeBasedCanary
deployment.
sourcepub fn canary_interval(&self) -> i32
pub fn canary_interval(&self) -> i32
The number of minutes between the first and second traffic shifts of a TimeBasedCanary
deployment.
source§impl TimeBasedCanary
impl TimeBasedCanary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TimeBasedCanary
.
Trait Implementations§
source§impl Clone for TimeBasedCanary
impl Clone for TimeBasedCanary
source§fn clone(&self) -> TimeBasedCanary
fn clone(&self) -> TimeBasedCanary
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TimeBasedCanary
impl Debug for TimeBasedCanary
source§impl PartialEq<TimeBasedCanary> for TimeBasedCanary
impl PartialEq<TimeBasedCanary> for TimeBasedCanary
source§fn eq(&self, other: &TimeBasedCanary) -> bool
fn eq(&self, other: &TimeBasedCanary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.