Skip to content

list_stack_instance_resource_drifts

Operation

list_stack_instance_resource_drifts

list_stack_instance_resource_drifts(request: ListStackInstanceResourceDriftsInput | ListStackInstanceResourceDriftsInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ListStackInstanceResourceDriftsInputDict]) -> ListStackInstanceResourceDriftsOutput

Returns drift information for resources in a stack instance.

Note

ListStackInstanceResourceDrifts returns drift information for the most recent drift detection operation. If an operation is in progress, it may only return partial results.

Parameters:

Name Type Description Default
request ListStackInstanceResourceDriftsInput | ListStackInstanceResourceDriftsInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None
**kwargs Unpack[ListStackInstanceResourceDriftsInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
ListStackInstanceResourceDriftsOutput

An instance of ListStackInstanceResourceDriftsOutput.

list_stack_instance_resource_drifts async

list_stack_instance_resource_drifts(request: ListStackInstanceResourceDriftsInput | ListStackInstanceResourceDriftsInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ListStackInstanceResourceDriftsInputDict]) -> ListStackInstanceResourceDriftsOutput

Returns drift information for resources in a stack instance.

Note

ListStackInstanceResourceDrifts returns drift information for the most recent drift detection operation. If an operation is in progress, it may only return partial results.

Parameters:

Name Type Description Default
request ListStackInstanceResourceDriftsInput | ListStackInstanceResourceDriftsInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None
**kwargs Unpack[ListStackInstanceResourceDriftsInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
ListStackInstanceResourceDriftsOutput

An instance of ListStackInstanceResourceDriftsOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

ListStackInstanceResourceDriftsInputDict

Bases: TypedDict

Dictionary form of ListStackInstanceResourceDriftsInput.

Attributes

call_as instance-attribute
call_as: str | None

[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, specify DELEGATED_ADMIN.

Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.

max_results instance-attribute
max_results: int | None

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.

next_token instance-attribute
next_token: str | None

The token for the next set of items to return. (You received this token from a previous call.)

operation_id instance-attribute
operation_id: Required[str]

The unique ID of the drift operation.

stack_instance_account instance-attribute
stack_instance_account: Required[str]

The name of the Amazon Web Services account that you want to list resource drifts for.

stack_instance_region instance-attribute
stack_instance_region: Required[str]

The name of the Region where you want to list resource drifts.

stack_instance_resource_drift_statuses instance-attribute
stack_instance_resource_drift_statuses: Sequence[str] | None

The resource drift status of the stack instance.

  • 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: CloudFormation doesn't currently return this value.

stack_set_name instance-attribute
stack_set_name: Required[str]

The name or unique ID of the StackSet that you want to list drifted resources for.

ListStackInstanceResourceDriftsInput dataclass

Bases: _SerdeShape

Dataclass for ListStackInstanceResourceDriftsInput structure.

Attributes

call_as class-attribute instance-attribute
call_as: str | None = ...

[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, specify DELEGATED_ADMIN.

Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.

max_results class-attribute instance-attribute
max_results: int | None = ...

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.

next_token class-attribute instance-attribute
next_token: str | None = ...

The token for the next set of items to return. (You received this token from a previous call.)

operation_id class-attribute instance-attribute
operation_id: str | None = ...

The unique ID of the drift operation.

stack_instance_account class-attribute instance-attribute
stack_instance_account: str | None = ...

The name of the Amazon Web Services account that you want to list resource drifts for.

stack_instance_region class-attribute instance-attribute
stack_instance_region: str | None = ...

The name of the Region where you want to list resource drifts.

stack_instance_resource_drift_statuses class-attribute instance-attribute
stack_instance_resource_drift_statuses: list[str] | None = ...

The resource drift status of the stack instance.

  • 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: CloudFormation doesn't currently return this value.

stack_set_name class-attribute instance-attribute
stack_set_name: str | None = ...

The name or unique ID of the StackSet that you want to list drifted resources for.

Output

ListStackInstanceResourceDriftsOutput dataclass

Bases: _SerdeShape

Dataclass for ListStackInstanceResourceDriftsOutput structure.

Attributes

next_token class-attribute instance-attribute
next_token: str | None = ...

If the previous paginated request didn't return all of the remaining results, the response object's NextToken parameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.

summaries class-attribute instance-attribute
summaries: list[StackInstanceResourceDriftsSummary] | None = ...

A list of StackInstanceResourceDriftsSummary structures that contain information about the specified stack instances.