You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CloudFormation::Types::ResourceToImport

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ResourceToImport as input to an Aws::Client method, you can use a vanilla Hash:

{
  resource_type: "ResourceType", # required
  logical_resource_id: "LogicalResourceId", # required
  resource_identifier: { # required
    "ResourceIdentifierPropertyKey" => "ResourceIdentifierPropertyValue",
  },
}

Describes the target resource of an import operation.

Instance Attribute Summary collapse

Instance Attribute Details

#logical_resource_idString

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

Returns:

  • (String)

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

#resource_identifierHash<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).

Returns:

  • (Hash<String,String>)

    A key-value pair that identifies the target resource.

#resource_typeString

The type of resource to import into your stack, such as AWS::S3::Bucket.

Returns:

  • (String)

    The type of resource to import into your stack, such as AWS::S3::Bucket.