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.

TemplateConfiguration

The configuration details of a generated template.

Contents

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.

Type: String

Valid Values: DELETE | RETAIN

Required: No

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.

Type: String

Valid Values: DELETE | RETAIN

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: