class Aws::CloudFormation::Types::ResourceToImport

Describes the target resource of an import operation.

@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",
      },
    }

@!attribute [rw] resource_type

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]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html
@return [String]

@!attribute [rw] logical_resource_id

The logical ID of the target resource as specified in the template.
@return [String]

@!attribute [rw] resource_identifier

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`).
@return [Hash<String,String>]

@see docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceToImport AWS API Documentation

Constants

SENSITIVE