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).

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 Amazon 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 Amazon 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 Amazon SDKs, see the following: