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

Description Usage Arguments Value Request syntax

View source: R/cloudformation_operations.R

Description

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

Usage

1
2
3
cloudformation_delete_stack_instances(StackSetName, Accounts,
  DeploymentTargets, 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

[Self-managed permissions] The names of the AWS accounts that you want to delete stack instances for.

You can specify Accounts or DeploymentTargets, but not both.

DeploymentTargets

[Service-managed permissions] The AWS Organizations accounts from which to delete stack instances.

You can specify Accounts or DeploymentTargets, but not both.

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.

Value

A list with the following syntax:

1
2
3
list(
  OperationId = "string"
)

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
svc$delete_stack_instances(
  StackSetName = "string",
  Accounts = list(
    "string"
  ),
  DeploymentTargets = list(
    Accounts = list(
      "string"
    ),
    OrganizationalUnitIds = list(
      "string"
    )
  ),
  Regions = list(
    "string"
  ),
  OperationPreferences = list(
    RegionOrder = list(
      "string"
    ),
    FailureToleranceCount = 123,
    FailureTolerancePercentage = 123,
    MaxConcurrentCount = 123,
    MaxConcurrentPercentage = 123
  ),
  RetainStacks = TRUE|FALSE,
  OperationId = "string"
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.