pub struct DeploymentReadyOption {
pub action_on_timeout: Option<String>,
pub wait_time_in_minutes: Option<i64>,
}Expand description
Information about how traffic is rerouted to instances in a replacement environment in a blue/green deployment.
Fields§
§action_on_timeout: Option<String>Information about when to reroute traffic from an original environment to a replacement environment in a blue/green deployment.
-
CONTINUEDEPLOYMENT: Register new instances with the load balancer immediately after the new application revision is installed on the instances in the replacement environment.
-
STOPDEPLOYMENT: 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.
wait_time_in_minutes: Option<i64>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.
Trait Implementations§
Source§impl Clone for DeploymentReadyOption
impl Clone for DeploymentReadyOption
Source§fn clone(&self) -> DeploymentReadyOption
fn clone(&self) -> DeploymentReadyOption
1.0.0 (const: unstable) · 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 Default for DeploymentReadyOption
impl Default for DeploymentReadyOption
Source§fn default() -> DeploymentReadyOption
fn default() -> DeploymentReadyOption
Source§impl<'de> Deserialize<'de> for DeploymentReadyOption
impl<'de> Deserialize<'de> for DeploymentReadyOption
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for DeploymentReadyOption
impl PartialEq 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 ==.