Skip to content

CloudFormationClient.detect_stack_resource_drift

rboto-cloudformation==0.4.0 · Service index · Types

Model summary (excerpt): Returns information about whether a 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. This information includes actual and expected property values for resources in which CloudFormation detects drift. Only resource properties explicitly defined in the stack template are...

Install and imports

python -m pip install "rboto[cloudformation]==0.4.0"
from rboto import CloudFormationClient
from rboto_cloudformation.types import (
    DetectStackResourceDriftOutput,
)

Signature

async def detect_stack_resource_drift(
    *,
    stack_name: str,
    logical_resource_id: str,
) -> DetectStackResourceDriftOutput: ...

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 of the stack to which the resource belongs.
logical_resource_id Yes The logical name of the resource for which to return drift information.

Output

DetectStackResourceDriftOutput.

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_drift StackResourceDriftOutput | None Always present StackResourceDriftOutput

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

DetectStackResourceDriftOutput

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.

Service guide · Pinned model