class Amazonite::CloudFormation::ResourceToImport

Overview

Describes the target resource of an import operation.

Defined in:

cloudformation/resource_to_import.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(resource_type : String, logical_resource_id : String, resource_identifier : Hash(String, String)) #

[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 #

The logical ID of the target resource as specified in the template.


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

The logical ID of the target resource as specified in the template.


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

A key-value pair that identifies the target resource. The key is an identifier property (for example, BucketName for AWS::S3::Bucket resources) and the value is the actual property value (for example, MyS3Bucket).


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

A key-value pair that identifies the target resource. The key is an identifier property (for example, BucketName for AWS::S3::Bucket resources) and the value is the actual property value (for example, MyS3Bucket).


[View source]
def resource_type : String #

The type of resource to import into your stack, such as AWS::S3::Bucket. For a list of supported resource types, see Resource type support for imports and drift detection in the CloudFormation User Guide.


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

The type of resource to import into your stack, such as AWS::S3::Bucket. For a list of supported resource types, 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]