describe_stack_instance
¶
describe_stack_instance(
*,
config_overrides: Optional[CloudFormationClientConfig] = 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/cloud_formation.py
2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 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 | |