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:StringUpdateReplacePolicy:String
Properties
DeletionPolicy-
The
DeletionPolicyassigned 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 | RETAINUpdate requires: No interruption
-
UpdateReplacePolicy-
The
UpdateReplacePolicyassigned 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 | RETAINUpdate requires: No interruption
-