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 ==.