AWS::CloudFormation::GeneratedTemplate TemplateConfiguration - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

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

AWS::CloudFormation::GeneratedTemplate TemplateConfiguration

The configuration details of a generated template.

Syntax

To declare this entity in your 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 AWS 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 AWS CloudFormation User Guide.

Required: No

Type: String

Allowed values: DELETE | RETAIN

Update requires: No interruption