Import existing stacks into a new StackSets¶
Description¶
Import existing stacks into a new StackSets. Use the stack import operation to import up to 10 stacks into a new StackSet 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.
Usage¶
cloudformation_import_stacks_to_stack_set(StackSetName, StackIds,
StackIdsUrl, OrganizationalUnitIds, OperationPreferences, OperationId,
CallAs)
Arguments¶
-
StackSetName[required] The name of the StackSet. The name must be unique in the Region where you create your StackSet.
-
StackIdsThe IDs of the stacks you are importing into a StackSet. You import up to 10 stacks per StackSet at a time.
Specify either
StackIdsorStackIdsUrl. -
StackIdsUrlThe Amazon S3 URL which contains list of stack ids to be inputted.
Specify either
StackIdsorStackIdsUrl. -
OrganizationalUnitIdsThe list of OU ID's to which the imported stacks must be mapped as deployment targets.
-
OperationPreferencesThe user-specified preferences for how CloudFormation performs a StackSet operation.
For more information about maximum concurrent accounts and failure tolerance, see StackSet operation options.
-
OperationIdA unique, user defined, identifier for the StackSet operation.
-
CallAsBy default,
SELFis specified. UseSELFfor StackSets with self-managed permissions.- If you are signed in to the management account, specify
SELF. - For service managed StackSets, specify
DELEGATED_ADMIN.
- If you are signed in to the management account, specify
Value¶
A list with the following syntax:
Request syntax¶
svc$import_stacks_to_stack_set(
StackSetName = "string",
StackIds = list(
"string"
),
StackIdsUrl = "string",
OrganizationalUnitIds = list(
"string"
),
OperationPreferences = list(
RegionConcurrencyType = "SEQUENTIAL"|"PARALLEL",
RegionOrder = list(
"string"
),
FailureToleranceCount = 123,
FailureTolerancePercentage = 123,
MaxConcurrentCount = 123,
MaxConcurrentPercentage = 123,
ConcurrencyMode = "STRICT_FAILURE_TOLERANCE"|"SOFT_FAILURE_TOLERANCE"
),
OperationId = "string",
CallAs = "SELF"|"DELEGATED_ADMIN"
)