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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudformation/types.rb

Overview

Describes the target resource of an import operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#logical_resource_idString

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

Returns:

  • (String)


7097
7098
7099
7100
7101
7102
7103
# File 'lib/aws-sdk-cloudformation/types.rb', line 7097

class ResourceToImport < Struct.new(
  :resource_type,
  :logical_resource_id,
  :resource_identifier)
  SENSITIVE = []
  include Aws::Structure
end

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


7097
7098
7099
7100
7101
7102
7103
# File 'lib/aws-sdk-cloudformation/types.rb', line 7097

class ResourceToImport < Struct.new(
  :resource_type,
  :logical_resource_id,
  :resource_identifier)
  SENSITIVE = []
  include Aws::Structure
end

#resource_typeString

The type of resource to import into your stack, such as ‘AWS::S3::Bucket`. For a list of supported resource types, see

Resources that support import operations][1

in the *CloudFormation

User Guide*.

[1]: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html

Returns:

  • (String)


7097
7098
7099
7100
7101
7102
7103
# File 'lib/aws-sdk-cloudformation/types.rb', line 7097

class ResourceToImport < Struct.new(
  :resource_type,
  :logical_resource_id,
  :resource_identifier)
  SENSITIVE = []
  include Aws::Structure
end