[ AWS CLI Command Reference ](../../index.html)

  * [ Home ](../../index.html)
  * [ User Guide ](https://docs.aws.amazon.com/cli/latest/userguide/)
  * [ Forum ](https://forums.aws.amazon.com/forum.jspa?forumID=150)
  * [ GitHub ](https://github.com/aws/aws-cli)

###  Navigation

  * [ index ](../../genindex.html "General Index")
  * [ next ](list-resource-scan-resources.html "list-resource-scan-resources") | 
  * [ previous ](list-imports.html "list-imports") | 
  * [ AWS CLI 2.15.40 Command Reference ](../../index.html) » 
  * [ aws ](../index.html) » 
  * [ cloudformation ](index.html) » 

  * [ ← list-imports ](list-imports.html "previous chapter \(use the left arrow\)") / 
  * [ list-resource-scan-resources → ](list-resource-scan-resources.html "next chapter \(use the right arrow\)")

[ ![Amazon Web Services logo](../../_static/logo.png) ](../../index.html)

###  [ Table of Contents ](../../index.html)

  * list-resource-scan-related-resources 
    * Description 
    * Synopsis 
    * Options 
    * Global Options 
    * Output 

###  Quick search

Search box  Search

###  Feedback

Did you find this page useful? Do you have a suggestion to improve the
documentation? [ Give us feedback ](https://docs.aws.amazon.com/forms/aws-doc-
feedback?hidden_service_name=AWS%20Command%20Line%20Interface&hidden_guide_name=Reference&topic_url=https%3A%2F%2Fdocs.aws.amazon.com%2Fcli%2Flatest%2Freference/cloudformation/list-
resource-scan-related-resources.html) .  
If you would like to suggest an improvement or fix for the AWS CLI, check out
our [ contributing guide ](https://github.com/aws/aws-
cli/blob/develop/CONTRIBUTING.md) on GitHub.

###  User Guide

First time using the AWS CLI? See the [ User Guide
](https://docs.aws.amazon.com/cli/latest/userguide/) for help getting started.

[ [ aws  ](../index.html#cli-aws) . [ cloudformation  ](index.html#cli-aws-
cloudformation) ]

#  list-resource-scan-related-resources  Â¶

##  Description  Â¶

Lists the related resources for a list of resources from a resource scan. The
response indicates whether each returned resource is already managed by
CloudFormation.

See also: [ AWS API Documentation
](https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListResourceScanRelatedResources)

` list-resource-scan-related-resources  ` is a paginated operation. Multiple
API calls may be issued in order to retrieve the entire data set of results.
You can disable pagination by providing the ` --no-paginate  ` argument. When
using ` --output  text  ` and the ` --query  ` argument on a paginated
response, the ` --query  ` argument must extract data from the results of the
following query expressions: ` RelatedResources  `

##  Synopsis  Â¶

    
    
      list-resource-scan-related-resources
    --resource-scan-id <value>
    --resources <value>
    [--cli-input-json | --cli-input-yaml]
    [--starting-token <value>]
    [--page-size <value>]
    [--max-items <value>]
    [--generate-cli-skeleton <value>]
    [--debug]
    [--endpoint-url <value>]
    [--no-verify-ssl]
    [--no-paginate]
    [--output <value>]
    [--query <value>]
    [--profile <value>]
    [--region <value>]
    [--version <value>]
    [--color <value>]
    [--no-sign-request]
    [--ca-bundle <value>]
    [--cli-read-timeout <value>]
    [--cli-connect-timeout <value>]
    [--cli-binary-format <value>]
    [--no-cli-pager]
    [--cli-auto-prompt]
    [--no-cli-auto-prompt]
    

##  Options  Â¶

` --resource-scan-id  ` (string)

> The Amazon Resource Name (ARN) of the resource scan.

` --resources  ` (list)

> The list of resources for which you want to get the related resources. Up to
> 100 resources can be provided.
>
> (structure)
>

>> Identifies a scanned resource. This is used with the `
ListResourceScanRelatedResources  ` API action.

>>

>> ResourceType -> (string)

>>

>>> The type of the resource, such as ` AWS::DynamoDB::Table  ` . For the list
of supported resources, see [ IaC generator supported resource ty