CloudFormationClient.describe_stack_resource
rboto-cloudformation==0.4.0 · Service index · Types
Model summary (excerpt): Returns a description of the specified resource in the specified stack. For deleted stacks, DescribeStackResource returns resource information for up to 90 days after the stack has been deleted.
Install and imports
from rboto import CloudFormationClient
from rboto_cloudformation.types import (
DescribeStackResourceOutput,
)
Signature
async def describe_stack_resource(
*,
stack_name: str,
logical_resource_id: str,
) -> DescribeStackResourceOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
stack_name |
Yes | The name or the unique stack ID that's 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. |
logical_resource_id |
Yes | The logical name of the resource as specified in the template. |
Output
DescribeStackResourceOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
stack_resource_detail |
StackResourceDetailOutput | None |
Always present | StackResourceDetailOutput |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
No modeled service errors for this operation.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.