Skip to content

Import Stacks To Stack Set

cloudformation_import_stacks_to_stack_set R Documentation

Import existing stacks into a new stack sets

Description

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.

Usage

cloudformation_import_stacks_to_stack_set(StackSetName, StackIds,
  StackIdsUrl, OrganizationalUnitIds, OperationPreferences, OperationId,
  CallAs)

Arguments

StackSetName

[required] The name of the stack set. The name must be unique in the Region where you create your stack set.

StackIds

The IDs of the stacks you are importing into a stack set. You import up to 10 stacks per stack set at a time.

Specify either StackIds or StackIdsUrl.

StackIdsUrl

The Amazon S3 URL which contains list of stack ids to be inputted.

Specify either StackIds or StackIdsUrl.

OrganizationalUnitIds

The list of OU ID's to which the stacks being imported has to be mapped as deployment target.

OperationPreferences

The user-specified preferences for how CloudFormation performs a stack set operation.

For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

OperationId

A unique, user defined, identifier for the stack set operation.

CallAs

By default, SELF is specified. Use SELF for stack sets with self-managed permissions.

  • If you are signed in to the management account, specify SELF.

  • For service managed stack sets, specify DELEGATED_ADMIN.

Value

A list with the following syntax:

list(
  OperationId = "string"
)

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"
)