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)


9887
9888
9889
9890
9891
9892
# File 'lib/aws-sdk-cloudformation/types.rb', line 9887

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)


9887
9888
9889
9890
9891
9892
# File 'lib/aws-sdk-cloudformation/types.rb', line 9887

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