AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 3.5
 
Container for the parameters to the DeleteStack operation. Deletes a specified stack. Once the call completes successfully, stack deletion starts. Deleted stacks do not show up in the DescribeStacks API if the deletion has been completed successfully.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CloudFormation.AmazonCloudFormationRequest
      Amazon.CloudFormation.Model.DeleteStackRequest

Namespace: Amazon.CloudFormation.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class DeleteStackRequest : AmazonCloudFormationRequest
         IRequestEvents

The DeleteStackRequest type exposes the following members

Constructors

NameDescription
Public Method DeleteStackRequest()

Properties

NameTypeDescription
Public Property RetainResources System.Collections.Generic.List<System.String> Gets and sets the property RetainResources.

For stacks in the DELETE_FAILED state, a list of resource logical IDs that are associated with the resources you want to retain. During deletion, AWS CloudFormation deletes the stack but does not delete the retained resources.

Retaining resources is useful when you cannot delete a resource, such as a non-empty S3 bucket, but you want to delete the stack.

Public Property StackName System.String Gets and sets the property StackName.

The name or the unique stack ID that is associated with the stack.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1