#[non_exhaustive]pub struct StackInstanceResourceDriftsSummary {
pub stack_id: Option<String>,
pub logical_resource_id: Option<String>,
pub physical_resource_id: Option<String>,
pub physical_resource_id_context: Option<Vec<PhysicalResourceIdContextKeyValuePair>>,
pub resource_type: Option<String>,
pub property_differences: Option<Vec<PropertyDifference>>,
pub stack_resource_drift_status: Option<StackResourceDriftStatus>,
pub timestamp: Option<DateTime>,
}
Expand description
The structure containing summary information about resource drifts for a stack instance.
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.stack_id: Option<String>
The ID of the stack instance.
logical_resource_id: Option<String>
The logical name of the resource specified in the template.
physical_resource_id: Option<String>
The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.
physical_resource_id_context: Option<Vec<PhysicalResourceIdContextKeyValuePair>>
Context information that enables CloudFormation to uniquely identify a resource. CloudFormation uses context key-value pairs in cases where a resource's logical and physical IDs aren't enough to uniquely identify that resource. Each context key-value pair specifies a unique resource that contains the targeted resource.
resource_type: Option<String>
Type of resource. For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.
property_differences: Option<Vec<PropertyDifference>>
Status of the actual configuration of the resource compared to its expected configuration. These will be present only for resources whose StackInstanceResourceDriftStatus
is MODIFIED
.
stack_resource_drift_status: Option<StackResourceDriftStatus>
The drift status of the resource in a stack instance.
-
DELETED
: The resource differs from its expected template configuration in that the resource has been deleted. -
MODIFIED
: One or more resource properties differ from their expected template values. -
IN_SYNC
: The resource's actual configuration matches its expected template configuration. -
NOT_CHECKED
: CloudFormation doesn't currently return this value.
timestamp: Option<DateTime>
Time at which the stack instance drift detection operation was initiated.
Implementations§
source§impl StackInstanceResourceDriftsSummary
impl StackInstanceResourceDriftsSummary
sourcepub fn logical_resource_id(&self) -> Option<&str>
pub fn logical_resource_id(&self) -> Option<&str>
The logical name of the resource specified in the template.
sourcepub fn physical_resource_id(&self) -> Option<&str>
pub fn physical_resource_id(&self) -> Option<&str>
The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.
sourcepub fn physical_resource_id_context(
&self
) -> &[PhysicalResourceIdContextKeyValuePair]
pub fn physical_resource_id_context( &self ) -> &[PhysicalResourceIdContextKeyValuePair]
Context information that enables CloudFormation to uniquely identify a resource. CloudFormation uses context key-value pairs in cases where a resource's logical and physical IDs aren't enough to uniquely identify that resource. Each context key-value pair specifies a unique resource that contains the targeted resource.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .physical_resource_id_context.is_none()
.
sourcepub fn resource_type(&self) -> Option<&str>
pub fn resource_type(&self) -> Option<&str>
Type of resource. For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.
sourcepub fn property_differences(&self) -> &[PropertyDifference]
pub fn property_differences(&self) -> &[PropertyDifference]
Status of the actual configuration of the resource compared to its expected configuration. These will be present only for resources whose StackInstanceResourceDriftStatus
is MODIFIED
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .property_differences.is_none()
.
sourcepub fn stack_resource_drift_status(&self) -> Option<&StackResourceDriftStatus>
pub fn stack_resource_drift_status(&self) -> Option<&StackResourceDriftStatus>
The drift status of the resource in a stack instance.
-
DELETED
: The resource differs from its expected template configuration in that the resource has been deleted. -
MODIFIED
: One or more resource properties differ from their expected template values. -
IN_SYNC
: The resource's actual configuration matches its expected template configuration. -
NOT_CHECKED
: CloudFormation doesn't currently return this value.
source§impl StackInstanceResourceDriftsSummary
impl StackInstanceResourceDriftsSummary
sourcepub fn builder() -> StackInstanceResourceDriftsSummaryBuilder
pub fn builder() -> StackInstanceResourceDriftsSummaryBuilder
Creates a new builder-style object to manufacture StackInstanceResourceDriftsSummary
.
Trait Implementations§
source§impl Clone for StackInstanceResourceDriftsSummary
impl Clone for StackInstanceResourceDriftsSummary
source§fn clone(&self) -> StackInstanceResourceDriftsSummary
fn clone(&self) -> StackInstanceResourceDriftsSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for StackInstanceResourceDriftsSummary
impl PartialEq for StackInstanceResourceDriftsSummary
source§fn eq(&self, other: &StackInstanceResourceDriftsSummary) -> bool
fn eq(&self, other: &StackInstanceResourceDriftsSummary) -> bool
self
and other
values to be equal, and is used
by ==
.