Import existing stacks into a new stack sets. Use the stack import operation to import up to 10 stacks into a new stack set in the same account as the source stack or in a different administrator account and Region, by specifying the stack ID of the stack you intend to import.
ImportStacksToStackSet is only supported by self-managed permissions.
get/#Action=ImportStacksToStackSet
Query parameters
StackSetNamestring required
The name of the stack set. The name must be unique in the Region where you create your stack set.
StackIdsStackId[]
<p>The IDs of the stacks you are importing into a stack set. You import up to 10 stacks per stack set at a time.</p> <p>Specify either <code>StackIds</code> or <code>StackIdsUrl</code>.</p>
StackIdsUrlstring
<p>The Amazon S3 URL which contains list of stack ids to be inputted.</p> <p>Specify either <code>StackIds</code> or <code>StackIdsUrl</code>.</p>
OrganizationalUnitIdsOrganizationalUnitId[]
The list of OU ID's to which the stacks being imported has to be mapped as deployment target.
OperationIdstring
A unique, user defined, identifier for the stack set operation.
CallAs'SELF' | 'DELEGATED_ADMIN'
<p>By default, <code>SELF</code> is specified. Use <code>SELF</code> for stack sets with self-managed permissions.</p> <ul> <li> <p>If you are signed in to the management account, specify <code>SELF</code>.</p> </li> <li> <p>For service managed stack sets, specify <code>DELEGATED_ADMIN</code>.</p> </li> </ul>
Action'ImportStacksToStackSet' required
Version'2010-05-15' required
Response
Success