class Amazonite::CloudFormation::TemplateConfiguration

Overview

The configuration details of a generated template.

Defined in:

cloudformation/template_configuration.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_xml(node : XML::Node) : self #

[View source]
def self.new(deletion_policy : GeneratedTemplateDeletionPolicy | Nil = nil, update_replace_policy : GeneratedTemplateUpdateReplacePolicy | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def deletion_policy : GeneratedTemplateDeletionPolicy | Nil #

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.


[View source]
def deletion_policy=(deletion_policy : GeneratedTemplateDeletionPolicy | Nil) #

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.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def to_query_params(prefix : String) : Array(Tuple(String, String)) #

[View source]
def update_replace_policy : GeneratedTemplateUpdateReplacePolicy | Nil #

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.


[View source]
def update_replace_policy=(update_replace_policy : GeneratedTemplateUpdateReplacePolicy | Nil) #

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.


[View source]
def validate! : Nil #

[View source]