Class: Aws::CloudFormation::Types::ResourceToImport
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFormation::Types::ResourceToImport
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudformation/types.rb
Overview
Note:
When making an API call, you may pass ResourceToImport data as a 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
-
#logical_resource_id ⇒ String
The logical ID of the target resource as specified in the template.
-
#resource_identifier ⇒ Hash<String,String>
A key-value pair that identifies the target resource.
-
#resource_type ⇒ String
The type of resource to import into your stack, such as ‘AWS::S3::Bucket`.
Instance Attribute Details
#logical_resource_id ⇒ String
The logical ID of the target resource as specified in the template.
4594 4595 4596 4597 4598 4599 |
# File 'lib/aws-sdk-cloudformation/types.rb', line 4594 class ResourceToImport < Struct.new( :resource_type, :logical_resource_id, :resource_identifier) include Aws::Structure end |
#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`).
4594 4595 4596 4597 4598 4599 |
# File 'lib/aws-sdk-cloudformation/types.rb', line 4594 class ResourceToImport < Struct.new( :resource_type, :logical_resource_id, :resource_identifier) include Aws::Structure end |
#resource_type ⇒ String
The type of resource to import into your stack, such as ‘AWS::S3::Bucket`.
4594 4595 4596 4597 4598 4599 |
# File 'lib/aws-sdk-cloudformation/types.rb', line 4594 class ResourceToImport < Struct.new( :resource_type, :logical_resource_id, :resource_identifier) include Aws::Structure end |