#[non_exhaustive]pub struct BlueGreenDeploymentConfiguration {
pub terminate_blue_instances_on_deployment_success: Option<BlueInstanceTerminationOption>,
pub deployment_ready_option: Option<DeploymentReadyOption>,
pub green_fleet_provisioning_option: Option<GreenFleetProvisioningOption>,
}
Expand description
Information about blue/green deployment options for a deployment group.
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.terminate_blue_instances_on_deployment_success: Option<BlueInstanceTerminationOption>
Information about whether to terminate instances in the original fleet during a blue/green deployment.
deployment_ready_option: Option<DeploymentReadyOption>
Information about the action to take when newly provisioned instances are ready to receive traffic in a blue/green deployment.
green_fleet_provisioning_option: Option<GreenFleetProvisioningOption>
Information about how instances are provisioned for a replacement environment in a blue/green deployment.
Implementations§
source§impl BlueGreenDeploymentConfiguration
impl BlueGreenDeploymentConfiguration
sourcepub fn terminate_blue_instances_on_deployment_success(
&self,
) -> Option<&BlueInstanceTerminationOption>
pub fn terminate_blue_instances_on_deployment_success( &self, ) -> Option<&BlueInstanceTerminationOption>
Information about whether to terminate instances in the original fleet during a blue/green deployment.
sourcepub fn deployment_ready_option(&self) -> Option<&DeploymentReadyOption>
pub fn deployment_ready_option(&self) -> Option<&DeploymentReadyOption>
Information about the action to take when newly provisioned instances are ready to receive traffic in a blue/green deployment.
sourcepub fn green_fleet_provisioning_option(
&self,
) -> Option<&GreenFleetProvisioningOption>
pub fn green_fleet_provisioning_option( &self, ) -> Option<&GreenFleetProvisioningOption>
Information about how instances are provisioned for a replacement environment in a blue/green deployment.
source§impl BlueGreenDeploymentConfiguration
impl BlueGreenDeploymentConfiguration
sourcepub fn builder() -> BlueGreenDeploymentConfigurationBuilder
pub fn builder() -> BlueGreenDeploymentConfigurationBuilder
Creates a new builder-style object to manufacture BlueGreenDeploymentConfiguration
.
Trait Implementations§
source§impl Clone for BlueGreenDeploymentConfiguration
impl Clone for BlueGreenDeploymentConfiguration
source§fn clone(&self) -> BlueGreenDeploymentConfiguration
fn clone(&self) -> BlueGreenDeploymentConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for BlueGreenDeploymentConfiguration
impl PartialEq for BlueGreenDeploymentConfiguration
source§fn eq(&self, other: &BlueGreenDeploymentConfiguration) -> bool
fn eq(&self, other: &BlueGreenDeploymentConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BlueGreenDeploymentConfiguration
Auto Trait Implementations§
impl Freeze for BlueGreenDeploymentConfiguration
impl RefUnwindSafe for BlueGreenDeploymentConfiguration
impl Send for BlueGreenDeploymentConfiguration
impl Sync for BlueGreenDeploymentConfiguration
impl Unpin for BlueGreenDeploymentConfiguration
impl UnwindSafe for BlueGreenDeploymentConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more