:doc:`Stack <index>` / Attribute / parent_id

*********
parent_id
*********



.. py:attribute:: CloudFormation.Stack.parent_id

  

  - *(string) --* 

    For nested stacks, the stack ID of the direct parent of this stack. For the first level of nested stacks, the root stack is also the parent stack.

     

    For more information, see `Nested stacks <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html>`__ in the *CloudFormation User Guide*.

    