Enum cloudformatious::change_set::Replacement
source · pub enum Replacement {
True,
False,
Conditional,
}
Expand description
Indicates whether AWS CloudFormation will replace the resource by creating a new one and deleting the old one.
This value depends on the value of the requires_recreation
property in the
ResourceTargetDefinition
structure. For example, if the requires_recreation
field is
Always
and the evaluation
field is Static
, Replacement
is True
. If the
requires_recreation
field is Always
and the evaluation
field is Dynamic
,
Replacement
is Conditionally
.
If you have multiple changes with different requires_recreation
values, the Replacement
value depends on the change with the most impact. A requires_recreation
value of Always
has
the most impact, followed by Conditionally
, and then Never
.
Variants§
True
The resource will be replaced.
False
The resource will not be replaced.
Conditional
The resource may be replaced.
Trait Implementations§
source§impl Clone for Replacement
impl Clone for Replacement
source§fn clone(&self) -> Replacement
fn clone(&self) -> Replacement
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Replacement
impl Debug for Replacement
source§impl Display for Replacement
impl Display for Replacement
source§impl FromStr for Replacement
impl FromStr for Replacement
source§impl PartialEq for Replacement
impl PartialEq for Replacement
source§fn eq(&self, other: &Replacement) -> bool
fn eq(&self, other: &Replacement) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy for Replacement
impl Eq for Replacement
impl StructuralPartialEq for Replacement
Auto Trait Implementations§
impl Freeze for Replacement
impl RefUnwindSafe for Replacement
impl Send for Replacement
impl Sync for Replacement
impl Unpin for Replacement
impl UnwindSafe for Replacement
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.