Struct aws_sdk_cloudformation::model::StackResourceSummary
source · [−]#[non_exhaustive]pub struct StackResourceSummary {
pub logical_resource_id: Option<String>,
pub physical_resource_id: Option<String>,
pub resource_type: Option<String>,
pub last_updated_timestamp: Option<DateTime>,
pub resource_status: Option<ResourceStatus>,
pub resource_status_reason: Option<String>,
pub drift_information: Option<StackResourceDriftInformationSummary>,
pub module_info: Option<ModuleInfo>,
}
Expand description
Contains high-level information about the specified stack resource.
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.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 the resource.
resource_type: Option<String>
Type of resource. (For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.)
last_updated_timestamp: Option<DateTime>
Time the status was updated.
resource_status: Option<ResourceStatus>
Current status of the resource.
resource_status_reason: Option<String>
Success/failure message associated with the resource.
drift_information: Option<StackResourceDriftInformationSummary>
Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.
module_info: Option<ModuleInfo>
Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.
Implementations
sourceimpl StackResourceSummary
impl StackResourceSummary
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 the resource.
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 last_updated_timestamp(&self) -> Option<&DateTime>
pub fn last_updated_timestamp(&self) -> Option<&DateTime>
Time the status was updated.
sourcepub fn resource_status(&self) -> Option<&ResourceStatus>
pub fn resource_status(&self) -> Option<&ResourceStatus>
Current status of the resource.
sourcepub fn resource_status_reason(&self) -> Option<&str>
pub fn resource_status_reason(&self) -> Option<&str>
Success/failure message associated with the resource.
sourcepub fn drift_information(&self) -> Option<&StackResourceDriftInformationSummary>
pub fn drift_information(&self) -> Option<&StackResourceDriftInformationSummary>
Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.
sourcepub fn module_info(&self) -> Option<&ModuleInfo>
pub fn module_info(&self) -> Option<&ModuleInfo>
Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.
sourceimpl StackResourceSummary
impl StackResourceSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StackResourceSummary
Trait Implementations
sourceimpl Clone for StackResourceSummary
impl Clone for StackResourceSummary
sourcefn clone(&self) -> StackResourceSummary
fn clone(&self) -> StackResourceSummary
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 StackResourceSummary
impl Debug for StackResourceSummary
sourceimpl PartialEq<StackResourceSummary> for StackResourceSummary
impl PartialEq<StackResourceSummary> for StackResourceSummary
sourcefn eq(&self, other: &StackResourceSummary) -> bool
fn eq(&self, other: &StackResourceSummary) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StackResourceSummary) -> bool
fn ne(&self, other: &StackResourceSummary) -> bool
This method tests for !=
.
impl StructuralPartialEq for StackResourceSummary
Auto Trait Implementations
impl RefUnwindSafe for StackResourceSummary
impl Send for StackResourceSummary
impl Sync for StackResourceSummary
impl Unpin for StackResourceSummary
impl UnwindSafe for StackResourceSummary
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