Struct aws_sdk_cloudformation::operation::describe_stack_resources::DescribeStackResourcesInput
source · #[non_exhaustive]pub struct DescribeStackResourcesInput {
pub stack_name: Option<String>,
pub logical_resource_id: Option<String>,
pub physical_resource_id: Option<String>,
}
Expand description
The input for DescribeStackResources
action.
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 or the unique stack ID that is associated with the stack, which aren't 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 don't specify StackName
, you must specify PhysicalResourceId
.
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 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 don't specify PhysicalResourceId
, you must specify StackName
.
Default: There is no default value.
Implementations§
source§impl DescribeStackResourcesInput
impl DescribeStackResourcesInput
sourcepub fn stack_name(&self) -> Option<&str>
pub fn stack_name(&self) -> Option<&str>
The name or the unique stack ID that is associated with the stack, which aren't 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 don't specify StackName
, you must specify PhysicalResourceId
.
sourcepub fn logical_resource_id(&self) -> Option<&str>
pub fn logical_resource_id(&self) -> Option<&str>
The logical name of the resource as specified in the template.
Default: There is no default value.
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.
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 don't specify PhysicalResourceId
, you must specify StackName
.
Default: There is no default value.
source§impl DescribeStackResourcesInput
impl DescribeStackResourcesInput
sourcepub fn builder() -> DescribeStackResourcesInputBuilder
pub fn builder() -> DescribeStackResourcesInputBuilder
Creates a new builder-style object to manufacture DescribeStackResourcesInput
.
Trait Implementations§
source§impl Clone for DescribeStackResourcesInput
impl Clone for DescribeStackResourcesInput
source§fn clone(&self) -> DescribeStackResourcesInput
fn clone(&self) -> DescribeStackResourcesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeStackResourcesInput
impl Debug for DescribeStackResourcesInput
source§impl PartialEq for DescribeStackResourcesInput
impl PartialEq for DescribeStackResourcesInput
source§fn eq(&self, other: &DescribeStackResourcesInput) -> bool
fn eq(&self, other: &DescribeStackResourcesInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeStackResourcesInput
Auto Trait Implementations§
impl Freeze for DescribeStackResourcesInput
impl RefUnwindSafe for DescribeStackResourcesInput
impl Send for DescribeStackResourcesInput
impl Sync for DescribeStackResourcesInput
impl Unpin for DescribeStackResourcesInput
impl UnwindSafe for DescribeStackResourcesInput
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