AWS SDK Version 3 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.

The configuration details of a generated template.

Inheritance Hierarchy

System.Object
  Amazon.CloudFormation.Model.TemplateConfiguration

Namespace: Amazon.CloudFormation.Model
Assembly: AWSSDK.CloudFormation.dll
Version: 3.x.y.z

Syntax

C#
public class TemplateConfiguration

The TemplateConfiguration type exposes the following members

Constructors

NameDescription
Public Method TemplateConfiguration()

Properties

NameTypeDescription
Public Property DeletionPolicy Amazon.CloudFormation.GeneratedTemplateDeletionPolicy

Gets and sets the property DeletionPolicy.

The DeletionPolicy assigned to resources in the generated template. Supported values are:

  • DELETE - delete all resources when the stack is deleted.

  • RETAIN - retain all resources when the stack is deleted.

For more information, see DeletionPolicy attribute in the CloudFormation User Guide.

Public Property UpdateReplacePolicy Amazon.CloudFormation.GeneratedTemplateUpdateReplacePolicy

Gets and sets the property UpdateReplacePolicy.

The UpdateReplacePolicy assigned to resources in the generated template. Supported values are:

  • DELETE - delete all resources when the resource is replaced during an update operation.

  • RETAIN - retain all resources when the resource is replaced during an update operation.

For more information, see UpdateReplacePolicy attribute in the CloudFormation User Guide.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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