paws.management (version 0.1.0)

cloudformation_delete_stack_instances: Deletes stack instances for the specified accounts, in the specified regions

Description

Deletes stack instances for the specified accounts, in the specified regions.

Usage

cloudformation_delete_stack_instances(StackSetName, Accounts, Regions,
  OperationPreferences, RetainStacks, OperationId)

Arguments

StackSetName

[required] The name or unique ID of the stack set that you want to delete stack instances for.

Accounts

[required] The names of the AWS accounts that you want to delete stack instances for.

Regions

[required] The regions where you want to delete stack set instances.

OperationPreferences

Preferences for how AWS CloudFormation performs this stack set operation.

RetainStacks

[required] Removes the stack instances from the specified stack set, but doesn't delete the stacks. You can't reassociate a retained stack or add an existing, saved stack to a new stack set.

For more information, see Stack set operation options.

OperationId

The unique identifier for this stack set operation.

If you don't specify an operation ID, the SDK generates one automatically.

The operation ID also functions as an idempotency token, to ensure that AWS CloudFormation performs the stack set operation only once, even if you retry the request multiple times. You can retry stack set operation requests to ensure that AWS CloudFormation successfully received them.

Repeating this stack set operation with a new operation ID retries all stack instances whose status is OUTDATED.

Request syntax

svc$delete_stack_instances(
  StackSetName = "string",
  Accounts = list(
    "string"
  ),
  Regions = list(
    "string"
  ),
  OperationPreferences = list(
    RegionOrder = list(
      "string"
    ),
    FailureToleranceCount = 123,
    FailureTolerancePercentage = 123,
    MaxConcurrentCount = 123,
    MaxConcurrentPercentage = 123
  ),
  RetainStacks = TRUE|FALSE,
  OperationId = "string"
)