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
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 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 | |