

# ScannedResource
<a name="API_ScannedResource"></a>

A scanned resource returned by `ListResourceScanResources` or `ListResourceScanRelatedResources`.

## Contents
<a name="API_ScannedResource_Contents"></a>

 ** ManagedByStack **   
If `true`, the resource is managed by a CloudFormation stack.  
Type: Boolean  
Required: No

 ** ResourceIdentifier **  ResourceIdentifier.entry.N.key (key)  ResourceIdentifier.entry.N.value (value)   
A list of up to 256 key-value pairs that identifies for the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the `primaryIdentifier` list in the resource schema.) The value is the value of that primary identifier. For example, for a `AWS::DynamoDB::Table` resource, the primary identifiers is `TableName` so the key-value pair could be `"TableName": "MyDDBTable"`. For more information, see [primaryIdentifier](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html#schema-properties-primaryidentifier) in the * AWS CloudFormation Command Line Interface (CLI) User Guide*.  
Type: String to string map  
Required: No

 ** ResourceType **   
The type of the resource, such as `AWS::DynamoDB::Table`. For the list of supported resources, see [Resource type support for imports and drift detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html) In the * AWS CloudFormation User Guide*   
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Required: No

## See Also
<a name="API_ScannedResource_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudformation-2010-05-15/ScannedResource) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudformation-2010-05-15/ScannedResource) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudformation-2010-05-15/ScannedResource) 