Struct aws_sdk_cloudformation::types::StackResourceDetail
source · #[non_exhaustive]pub struct StackResourceDetail {
pub stack_name: Option<String>,
pub stack_id: Option<String>,
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 description: Option<String>,
pub metadata: Option<String>,
pub drift_information: Option<StackResourceDriftInformation>,
pub module_info: Option<ModuleInfo>,
}
Expand description
Contains detailed 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.stack_name: Option<String>
The name associated with the stack.
stack_id: Option<String>
Unique identifier of the stack.
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.
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.
description: Option<String>
User defined description associated with the resource.
metadata: Option<String>
The content of the Metadata
attribute declared for the resource. For more information, see Metadata Attribute in the CloudFormation User Guide.
drift_information: Option<StackResourceDriftInformation>
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§
source§impl StackResourceDetail
impl StackResourceDetail
sourcepub fn stack_name(&self) -> Option<&str>
pub fn stack_name(&self) -> Option<&str>
The name associated with the stack.
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 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 description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
User defined description associated with the resource.
sourcepub fn metadata(&self) -> Option<&str>
pub fn metadata(&self) -> Option<&str>
The content of the Metadata
attribute declared for the resource. For more information, see Metadata Attribute in the CloudFormation User Guide.
sourcepub fn drift_information(&self) -> Option<&StackResourceDriftInformation>
pub fn drift_information(&self) -> Option<&StackResourceDriftInformation>
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.
source§impl StackResourceDetail
impl StackResourceDetail
sourcepub fn builder() -> StackResourceDetailBuilder
pub fn builder() -> StackResourceDetailBuilder
Creates a new builder-style object to manufacture StackResourceDetail
.
Trait Implementations§
source§impl Clone for StackResourceDetail
impl Clone for StackResourceDetail
source§fn clone(&self) -> StackResourceDetail
fn clone(&self) -> StackResourceDetail
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StackResourceDetail
impl Debug for StackResourceDetail
source§impl PartialEq for StackResourceDetail
impl PartialEq for StackResourceDetail
source§fn eq(&self, other: &StackResourceDetail) -> bool
fn eq(&self, other: &StackResourceDetail) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StackResourceDetail
Auto Trait Implementations§
impl Freeze for StackResourceDetail
impl RefUnwindSafe for StackResourceDetail
impl Send for StackResourceDetail
impl Sync for StackResourceDetail
impl Unpin for StackResourceDetail
impl UnwindSafe for StackResourceDetail
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