View a markdown version of this page

AWS::CloudFormation::GeneratedTemplate TemplateConfiguration - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::CloudFormation::GeneratedTemplate TemplateConfiguration

The configuration details of a generated template.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "DeletionPolicy" : String, "UpdateReplacePolicy" : String }

YAML

DeletionPolicy: String UpdateReplacePolicy: String

Properties

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 Amazon CloudFormation User Guide.

Required: No

Type: String

Allowed values: DELETE | RETAIN

Update requires: No interruption

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 Amazon CloudFormation User Guide.

Required: No

Type: String

Allowed values: DELETE | RETAIN

Update requires: No interruption