Struct aws_sdk_cloudformation::model::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
sourceimpl 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).
sourceimpl PropertyDifference
impl PropertyDifference
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PropertyDifference
Trait Implementations
sourceimpl Clone for PropertyDifference
impl Clone for PropertyDifference
sourcefn clone(&self) -> PropertyDifference
fn clone(&self) -> PropertyDifference
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PropertyDifference
impl Debug for PropertyDifference
sourceimpl PartialEq<PropertyDifference> for PropertyDifference
impl PartialEq<PropertyDifference> for PropertyDifference
sourcefn eq(&self, other: &PropertyDifference) -> bool
fn eq(&self, other: &PropertyDifference) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PropertyDifference) -> bool
fn ne(&self, other: &PropertyDifference) -> bool
This method tests for !=
.
impl StructuralPartialEq for PropertyDifference
Auto Trait Implementations
impl RefUnwindSafe for PropertyDifference
impl Send for PropertyDifference
impl Sync for PropertyDifference
impl Unpin for PropertyDifference
impl UnwindSafe for PropertyDifference
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more