Skip to content

CloudFormationClient.describe_stack_resource_drifts

rboto-cloudformation==0.4.0 · Service index · Types

Model summary (excerpt): Returns drift information for the resources that have been checked for drift in the specified stack. This includes actual and expected configuration values for resources where CloudFormation detects configuration drift. For a given stack, there will be one StackResourceDrift for each stack resource that has been checked for drift. Resources that haven't yet been checked for drift aren't...

Install and imports

python -m pip install "rboto[cloudformation]==0.4.0"
from rboto import CloudFormationClient
from collections.abc import Sequence
from rboto_cloudformation.types import (
    DescribeStackResourceDriftsOutput,
    StackResourceDriftStatus,
)

Signature

async def describe_stack_resource_drifts(
    *,
    stack_name: str,
    stack_resource_drift_status_filters: Sequence[StackResourceDriftStatus] | None = None,
    next_token: str | None = None,
    max_results: int | None = None,
) -> DescribeStackResourceDriftsOutput: ...

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 for which you want drift information.
stack_resource_drift_status_filters No The resource drift status values to use as filters for the resource drift results returned. DELETED : The resource differs from its expected template configuration in that the resource has been deleted. MODIFIED : One or more resource properties differ from their expected template values. IN_SYNC : The resource's actual configuration matches its expected template configuration. NOT_CHECKED :...
next_token No The token for the next set of items to return. (You received this token from a previous call.)
max_results No The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results.

Output

DescribeStackResourceDriftsOutput.

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_drifts list[StackResourceDriftOutput] | None Always present StackResourceDriftOutput
next_token str | None Always present —

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

DescribeStackResourceDriftsOutput, StackResourceDriftStatus

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

client.paginators.describe_stack_resource_drifts(...) accepts the same arguments and returns AsyncIterator[DescribeStackResourceDriftsOutput]. Direct calls return one page. Pages preserve the Output representation above.

Input cursors: next_token. Page-size argument: max_results.

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