Struct aws_sdk_cloudformation::types::PropertyDifference
source · #[non_exhaustive]pub struct PropertyDifference {
pub property_path: Option<String>,
pub expected_value: Option<String>,
pub actual_value: Option<String>,
pub difference_type: Option<DifferenceType>,
}
Expand description
Information about a resource property whose actual value differs from its expected value, as defined in the stack template and any values specified as template parameters. These will be present only for resources whose StackResourceDriftStatus
is MODIFIED
. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.
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.property_path: Option<String>
The fully-qualified path to the resource property.
expected_value: Option<String>
The expected property value of the resource property, as defined in the stack template and any values specified as template parameters.
actual_value: Option<String>
The actual property value of the resource property.
difference_type: Option<DifferenceType>
The type of property difference.
-
ADD
: A value has been added to a resource property that's an array or list data type. -
REMOVE
: The property has been removed from the current resource configuration. -
NOT_EQUAL
: The current property value differs from its expected value (as defined in the stack template and any values specified as template parameters).
Implementations§
source§impl PropertyDifference
impl PropertyDifference
sourcepub fn property_path(&self) -> Option<&str>
pub fn property_path(&self) -> Option<&str>
The fully-qualified path to the resource property.
sourcepub fn expected_value(&self) -> Option<&str>
pub fn expected_value(&self) -> Option<&str>
The expected property value of the resource property, as defined in the stack template and any values specified as template parameters.
sourcepub fn actual_value(&self) -> Option<&str>
pub fn actual_value(&self) -> Option<&str>
The actual property value of the resource property.
sourcepub fn difference_type(&self) -> Option<&DifferenceType>
pub fn difference_type(&self) -> Option<&DifferenceType>
The type of property difference.
-
ADD
: A value has been added to a resource property that's an array or list data type. -
REMOVE
: The property has been removed from the current resource configuration. -
NOT_EQUAL
: The current property value differs from its expected value (as defined in the stack template and any values specified as template parameters).
source§impl PropertyDifference
impl PropertyDifference
sourcepub fn builder() -> PropertyDifferenceBuilder
pub fn builder() -> PropertyDifferenceBuilder
Creates a new builder-style object to manufacture PropertyDifference
.
Trait Implementations§
source§impl Clone for PropertyDifference
impl Clone for PropertyDifference
source§fn clone(&self) -> PropertyDifference
fn clone(&self) -> PropertyDifference
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PropertyDifference
impl Debug for PropertyDifference
source§impl PartialEq for PropertyDifference
impl PartialEq for PropertyDifference
source§fn eq(&self, other: &PropertyDifference) -> bool
fn eq(&self, other: &PropertyDifference) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PropertyDifference
Auto Trait Implementations§
impl Freeze for PropertyDifference
impl RefUnwindSafe for PropertyDifference
impl Send for PropertyDifference
impl Sync for PropertyDifference
impl Unpin for PropertyDifference
impl UnwindSafe for PropertyDifference
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> 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