list_stack_instances
¶
list_stack_instances(
*,
config_overrides: Optional[CloudFormationClientConfig] = None,
stack_set_name: Optional[StackSetName] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
filters: Optional[StackInstanceFilters] = None,
stack_instance_account: Optional[Account] = None,
stack_instance_region: Optional[Region] = None,
call_as: Optional[CallAs] = None,
) -> ListStackInstancesOutput
Returns summary information about stack instances that are associated with the specified StackSet. You can filter for stack instances that are associated with a specific Amazon Web Services account name or Region, or that have a specific status.
Parameters:
-
stack_set_name(Optional[StackSetName], default:None) –The name or unique ID of the StackSet that you want to list stack instances 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. -
filters(Optional[StackInstanceFilters], default:None) –The filter to apply to stack instances
-
stack_instance_account(Optional[Account], default:None) –The name of the Amazon Web Services account that you want to list stack instances for.
-
stack_instance_region(Optional[Region], default:None) –The name of the Region where you want to list stack instances.
-
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:
-
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
4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 | |