class Amazonite::CloudFormation::StackResource

Overview

The StackResource data type.

Defined in:

cloudformation/stack_resource.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(logical_resource_id : String, resource_type : String, timestamp : Time, resource_status : ResourceStatus, stack_name : String | Nil = nil, stack_id : String | Nil = nil, physical_resource_id : String | Nil = nil, resource_status_reason : String | Nil = nil, description : String | Nil = nil, drift_information : StackResourceDriftInformation | Nil = nil, module_info : ModuleInfo | 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 description : String | Nil #

User defined description associated with the resource.


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

User defined description associated with the resource.


[View source]
def drift_information : StackResourceDriftInformation | Nil #

Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection.


[View source]
def drift_information=(drift_information : StackResourceDriftInformation | Nil) #

Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection.


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

See Object#hash(hasher)


def logical_resource_id : String #

The logical name of the resource specified in the template.


[View source]
def logical_resource_id=(logical_resource_id : String) #

The logical name of the resource specified in the template.


[View source]
def module_info : ModuleInfo | Nil #

Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.


[View source]
def module_info=(module_info : ModuleInfo | Nil) #

Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.


[View source]
def physical_resource_id : String | Nil #

The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.


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

The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.


[View source]
def resource_status : ResourceStatus #

Current status of the resource.


[View source]
def resource_status=(resource_status : ResourceStatus) #

Current status of the resource.


[View source]
def resource_status_reason : String | Nil #

Success/failure message associated with the resource.


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

Success/failure message associated with the resource.


[View source]
def resource_type : String #

Type of resource. For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.


[View source]
def resource_type=(resource_type : String) #

Type of resource. For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.


[View source]
def stack_id : String | Nil #

Unique identifier of the stack.


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

Unique identifier of the stack.


[View source]
def stack_name : String | Nil #

The name associated with the stack.


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

The name associated with the stack.


[View source]
def timestamp : Time #

Time the status was updated.


[View source]
def timestamp=(timestamp : Time) #

Time the status was updated.


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

[View source]
def validate! : Nil #

[View source]