class Amazonite::CloudFormation::TemplateSummary

Overview

The summary of a generated template.

Defined in:

cloudformation/template_summary.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(generated_template_id : String | Nil = nil, generated_template_name : String | Nil = nil, status : GeneratedTemplateStatus | Nil = nil, status_reason : String | Nil = nil, creation_time : Time | Nil = nil, last_updated_time : Time | Nil = nil, number_of_resources : Int32 | 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 creation_time : Time | Nil #

The time the generated template was created.


[View source]
def creation_time=(creation_time : Time | Nil) #

The time the generated template was created.


[View source]
def generated_template_id : String | Nil #

The Amazon Resource Name (ARN) of the generated template. The format is arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}. For example, arn:aws:cloudformation:*us-east-1*:*123456789012*:generatedtemplate/*2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc* .


[View source]
def generated_template_id=(generated_template_id : String | Nil) #

The Amazon Resource Name (ARN) of the generated template. The format is arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}. For example, arn:aws:cloudformation:*us-east-1*:*123456789012*:generatedtemplate/*2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc* .


[View source]
def generated_template_name : String | Nil #

The name of the generated template.


[View source]
def generated_template_name=(generated_template_name : String | Nil) #

The name of the generated template.


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

See Object#hash(hasher)


def last_updated_time : Time | Nil #

The time the generated template was last updated.


[View source]
def last_updated_time=(last_updated_time : Time | Nil) #

The time the generated template was last updated.


[View source]
def number_of_resources : Int32 | Nil #

The number of resources in the generated template. This is a total of resources in pending, in-progress, completed, and failed states.


[View source]
def number_of_resources=(number_of_resources : Int32 | Nil) #

The number of resources in the generated template. This is a total of resources in pending, in-progress, completed, and failed states.


[View source]
def status : GeneratedTemplateStatus | Nil #

The status of the template generation. Supported values are:

  • CreatePending - the creation of the template is pending.

  • CreateInProgress - the creation of the template is in progress.

  • DeletePending - the deletion of the template is pending.

  • DeleteInProgress - the deletion of the template is in progress.

  • UpdatePending - the update of the template is pending.

  • UpdateInProgress - the update of the template is in progress.

  • Failed - the template operation failed.

  • Complete - the template operation is complete.


[View source]
def status=(status : GeneratedTemplateStatus | Nil) #

The status of the template generation. Supported values are:

  • CreatePending - the creation of the template is pending.

  • CreateInProgress - the creation of the template is in progress.

  • DeletePending - the deletion of the template is pending.

  • DeleteInProgress - the deletion of the template is in progress.

  • UpdatePending - the update of the template is pending.

  • UpdateInProgress - the update of the template is in progress.

  • Failed - the template operation failed.

  • Complete - the template operation is complete.


[View source]
def status_reason : String | Nil #

The reason for the current template generation status. This will provide more details if a failure happened.


[View source]
def status_reason=(status_reason : String | Nil) #

The reason for the current template generation status. This will provide more details if a failure happened.


[View source]
def to_query_params(prefix : String) : Array(Tuple(String, String)) #

[View source]
def validate! : Nil #

[View source]