Struct aws_sdk_codedeploy::model::DeploymentReadyOption
source · #[non_exhaustive]pub struct DeploymentReadyOption { /* private fields */ }
Expand description
Information about how traffic is rerouted to instances in a replacement environment in a blue/green deployment.
Implementations§
source§impl DeploymentReadyOption
impl DeploymentReadyOption
sourcepub fn action_on_timeout(&self) -> Option<&DeploymentReadyAction>
pub fn action_on_timeout(&self) -> Option<&DeploymentReadyAction>
Information about when to reroute traffic from an original environment to a replacement environment in a blue/green deployment.
-
CONTINUE_DEPLOYMENT: Register new instances with the load balancer immediately after the new application revision is installed on the instances in the replacement environment.
-
STOP_DEPLOYMENT: Do not register new instances with a load balancer unless traffic rerouting is started using
ContinueDeployment
. If traffic rerouting is not started before the end of the specified wait period, the deployment status is changed to Stopped.
sourcepub fn wait_time_in_minutes(&self) -> i32
pub fn wait_time_in_minutes(&self) -> i32
The number of minutes to wait before the status of a blue/green deployment is changed to Stopped if rerouting is not started manually. Applies only to the STOP_DEPLOYMENT
option for actionOnTimeout
.
source§impl DeploymentReadyOption
impl DeploymentReadyOption
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DeploymentReadyOption
.
Trait Implementations§
source§impl Clone for DeploymentReadyOption
impl Clone for DeploymentReadyOption
source§fn clone(&self) -> DeploymentReadyOption
fn clone(&self) -> DeploymentReadyOption
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeploymentReadyOption
impl Debug for DeploymentReadyOption
source§impl PartialEq<DeploymentReadyOption> for DeploymentReadyOption
impl PartialEq<DeploymentReadyOption> for DeploymentReadyOption
source§fn eq(&self, other: &DeploymentReadyOption) -> bool
fn eq(&self, other: &DeploymentReadyOption) -> bool
self
and other
values to be equal, and is used
by ==
.