Class: Aws::CloudFormation::Types::TemplateConfiguration

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudformation/types.rb

Overview

The configuration details of a generated template.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#deletion_policyString

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

[1]: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html

Returns:

  • (String)


9972
9973
9974
9975
9976
9977
# File 'lib/aws-sdk-cloudformation/types.rb', line 9972

class TemplateConfiguration < Struct.new(
  :deletion_policy,
  :update_replace_policy)
  SENSITIVE = []
  include Aws::Structure
end

#update_replace_policyString

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

[1]: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatereplacepolicy.html

Returns:

  • (String)


9972
9973
9974
9975
9976
9977
# File 'lib/aws-sdk-cloudformation/types.rb', line 9972

class TemplateConfiguration < Struct.new(
  :deletion_policy,
  :update_replace_policy)
  SENSITIVE = []
  include Aws::Structure
end