Skip to content

Delete Stack Set

cloudformation_delete_stack_set R Documentation

Deletes a stack set

Description

Deletes a stack set. Before you can delete a stack set, all its member stack instances must be deleted. For more information about how to complete this, see delete_stack_instances.

Usage

cloudformation_delete_stack_set(StackSetName, CallAs)

Arguments

StackSetName

[required] The name or unique ID of the stack set that you're deleting. You can obtain this value by running list_stack_sets.

CallAs

[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.

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.

  • If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN.

    Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.

Value

An empty list.

Request syntax

svc$delete_stack_set(
  StackSetName = "string",
  CallAs = "SELF"|"DELEGATED_ADMIN"
)