describe_stack_instance
async
¶
describe_stack_instance(
*,
config_overrides: Optional[AsyncCloudFormationClientConfig] = None,
stack_set_name: Optional[StackSetName] = None,
stack_instance_account: Optional[Account] = None,
stack_instance_region: Optional[Region] = None,
call_as: Optional[CallAs] = None,
) -> DescribeStackInstanceOutput
Returns the stack instance that's associated with the specified StackSet, Amazon Web Services account, and Amazon Web Services Region.
For a list of stack instances that are associated with a specific StackSet, use ListStackInstances.
Parameters:
-
stack_set_name(Optional[StackSetName], default:None) –The name or the unique stack ID of the StackSet that you want to get stack instance information for.
-
stack_instance_account(Optional[Account], default:None) –The ID of an Amazon Web Services account that's associated with this stack instance.
-
stack_instance_region(Optional[Region], default:None) –The name of a Region that's associated with this stack instance.
-
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:
-
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/async_cloud_formation.py
2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 | |