class Amazonite::CloudFormation::ResourceDetail

Overview

Details about a resource in a generated template

Defined in:

cloudformation/resource_detail.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(resource_type : String | Nil = nil, logical_resource_id : String | Nil = nil, resource_identifier : Hash(String, String) | Nil = nil, resource_status : GeneratedTemplateResourceStatus | Nil = nil, resource_status_reason : String | Nil = nil, warnings : Array(WarningDetail) | 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 hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def logical_resource_id : String | Nil #

The logical id for this resource in the final generated template.


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

The logical id for this resource in the final generated template.


[View source]
def resource_identifier : Hash(String, String) | Nil #

A list of up to 256 key-value pairs that identifies the resource in the generated template. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide.


[View source]
def resource_identifier=(resource_identifier : Hash(String, String) | Nil) #

A list of up to 256 key-value pairs that identifies the resource in the generated template. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide.


[View source]
def resource_status : GeneratedTemplateResourceStatus | Nil #

Status of the processing of a resource in a generated template.

InProgress The resource processing is still in progress.

Complete The resource processing is complete.

Pending The resource processing is pending.

Failed The resource processing has failed.


[View source]
def resource_status=(resource_status : GeneratedTemplateResourceStatus | Nil) #

Status of the processing of a resource in a generated template.

InProgress The resource processing is still in progress.

Complete The resource processing is complete.

Pending The resource processing is pending.

Failed The resource processing has failed.


[View source]
def resource_status_reason : String | Nil #

The reason for the resource detail, providing more information if a failure happened.


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

The reason for the resource detail, providing more information if a failure happened.


[View source]
def resource_type : String | Nil #

The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support for imports and drift detection In the CloudFormation User Guide


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

The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support for imports and drift detection In the CloudFormation User Guide


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

[View source]
def validate! : Nil #

[View source]
def warnings : Array(WarningDetail) | Nil #

The warnings generated for this resource.


[View source]
def warnings=(warnings : Array(WarningDetail) | Nil) #

The warnings generated for this resource.


[View source]