list_stack_instance_resource_drifts
¶
list_stack_instance_resource_drifts(
*,
config_overrides: Optional[CloudFormationClientConfig] = None,
stack_set_name: Optional[StackSetNameOrId] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
stack_instance_resource_drift_statuses: Optional[
StackResourceDriftStatusFilters
] = None,
stack_instance_account: Optional[Account] = None,
stack_instance_region: Optional[Region] = None,
operation_id: Optional[ClientRequestToken] = None,
call_as: Optional[CallAs] = None,
) -> ListStackInstanceResourceDriftsOutput
Returns drift information for resources in a stack instance.
ListStackInstanceResourceDrifts returns drift information for the most recent drift detection operation. If an operation is in progress, it may only return partial results.
Parameters:
-
stack_set_name(Optional[StackSetNameOrId], default:None) –The name or unique ID of the StackSet that you want to list drifted resources for.
-
next_token(Optional[NextToken], default:None) –The token for the next set of items to return. (You received this token from a previous call.)
-
max_results(Optional[MaxResults], default: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
NextTokenvalue that you can assign to theNextTokenrequest parameter to get the next set of results. -
stack_instance_resource_drift_statuses(Optional[StackResourceDriftStatusFilters], default: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_instance_account(Optional[Account], default:None) –The name of the Amazon Web Services account that you want to list resource drifts for.
-
stack_instance_region(Optional[Region], default:None) –The name of the Region where you want to list resource drifts.
-
operation_id(Optional[ClientRequestToken], default:None) –The unique ID of the drift operation.
-
call_as(Optional[CallAs], default: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,
SELFis specified. UseSELFfor 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.
-
Raises:
-
OperationNotFoundException–The specified ID refers to an operation that doesn't exist.
-
StackInstanceNotFoundException–The specified stack instance doesn't exist.
-
StackSetNotFoundException–The specified StackSet doesn't exist.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_cloudformation/_services/cloud_formation.py
4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 | |