pub struct DescribeStackResourcesInput {
pub logical_resource_id: Option<String>,
pub physical_resource_id: Option<String>,
pub stack_name: Option<String>,
}
Expand description
The input for DescribeStackResources action.
Fields
logical_resource_id: Option<String>
The logical name of the resource as specified in the template.
Default: There is no default value.
physical_resource_id: Option<String>
The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS CloudFormation.
For example, for an Amazon Elastic Compute Cloud (EC2) instance, PhysicalResourceId
corresponds to the InstanceId
. You can pass the EC2 InstanceId
to DescribeStackResources
to find which stack the instance belongs to and what other resources are part of the stack.
Required: Conditional. If you do not specify PhysicalResourceId
, you must specify StackName
.
Default: There is no default value.
stack_name: Option<String>
The name or the unique stack ID that is associated with the stack, which are not always interchangeable:
-
Running stacks: You can specify either the stack's name or its unique stack ID.
-
Deleted stacks: You must specify the unique stack ID.
Default: There is no default value.
Required: Conditional. If you do not specify StackName
, you must specify PhysicalResourceId
.
Trait Implementations
sourceimpl Clone for DescribeStackResourcesInput
impl Clone for DescribeStackResourcesInput
sourcefn clone(&self) -> DescribeStackResourcesInput
fn clone(&self) -> DescribeStackResourcesInput
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 DescribeStackResourcesInput
impl Debug for DescribeStackResourcesInput
sourceimpl Default for DescribeStackResourcesInput
impl Default for DescribeStackResourcesInput
sourcefn default() -> DescribeStackResourcesInput
fn default() -> DescribeStackResourcesInput
Returns the “default value” for a type. Read more
sourceimpl PartialEq<DescribeStackResourcesInput> for DescribeStackResourcesInput
impl PartialEq<DescribeStackResourcesInput> for DescribeStackResourcesInput
sourcefn eq(&self, other: &DescribeStackResourcesInput) -> bool
fn eq(&self, other: &DescribeStackResourcesInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DescribeStackResourcesInput) -> bool
fn ne(&self, other: &DescribeStackResourcesInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for DescribeStackResourcesInput
Auto Trait Implementations
impl RefUnwindSafe for DescribeStackResourcesInput
impl Send for DescribeStackResourcesInput
impl Sync for DescribeStackResourcesInput
impl Unpin for DescribeStackResourcesInput
impl UnwindSafe for DescribeStackResourcesInput
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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