Skip to content

CloudFormationClient.detect_stack_set_drift

rboto-cloudformation==0.4.0 · Service index · Types

Model summary (excerpt): Detect drift on a StackSet. When CloudFormation performs drift detection on a StackSet, it performs drift detection on the stack associated with each stack instance in the StackSet. For more information, see Performing drift detection on CloudFormation StackSets . DetectStackSetDrift returns the OperationId of the StackSet drift detection operation. Use this operation id with...

Install and imports

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

Signature

async def detect_stack_set_drift(
    *,
    stack_set_name: str,
    operation_preferences: StackSetOperationPreferences | None = None,
    operation_id: str | None = None,
    call_as: CallAs | None = None,
) -> DetectStackSetDriftOutput: ...

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_set_name Yes The name of the StackSet on which to perform the drift detection operation.
operation_preferences No The user-specified preferences for how CloudFormation performs a StackSet operation. For more information about maximum concurrent accounts and failure tolerance, see StackSet operation options .
operation_id No The ID of the StackSet operation.
call_as No [Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. By default, SELF is specified. Use SELF for StackSets with self-managed permissions. If you are signed in to the management account, specify SELF . If you are signed in to a delegated administrator account,...

Output

DetectStackSetDriftOutput.

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

CallAs, DetectStackSetDriftOutput, StackSetOperationPreferences

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

Import from rboto_cloudformation.exceptions:

InvalidOperationError, OperationInProgressError, StackSetNotFoundError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model