:doc:`CloudFormation <../../cloudformation>` / Paginator / ListResourceScanResources

*************************
ListResourceScanResources
*************************



.. py:class:: CloudFormation.Paginator.ListResourceScanResources

  ::

    
    paginator = client.get_paginator('list_resource_scan_resources')

  
  

  .. py:method:: paginate(**kwargs)

    Creates an iterator that will paginate through responses from :py:meth:`CloudFormation.Client.list_resource_scan_resources`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListResourceScanResources>`_    


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          ResourceScanId='string',
          ResourceIdentifier='string',
          ResourceTypePrefix='string',
          TagKey='string',
          TagValue='string',
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :type ResourceScanId: string
    :param ResourceScanId: **[REQUIRED]** 

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

      

    
    :type ResourceIdentifier: string
    :param ResourceIdentifier: 

      If specified, the returned resources will have the specified resource identifier (or one of them in the case where the resource has multiple identifiers).

      

    
    :type ResourceTypePrefix: string
    :param ResourceTypePrefix: 

      If specified, the returned resources will be of any of the resource types with the specified prefix.

      

    
    :type TagKey: string
    :param TagKey: 

      If specified, the returned resources will have a matching tag key.

      

    
    :type TagValue: string
    :param TagValue: 

      If specified, the returned resources will have a matching tag value.

      

    
    :type PaginationConfig: dict
    :param PaginationConfig: 

      A dictionary that provides parameters to control pagination.

      

    
      - **MaxItems** *(integer) --* 

        The total number of items to return. If the total number of items available is more than the value specified in max-items then a ``NextToken`` will be provided in the output that you can use to resume pagination.

        

      
      - **PageSize** *(integer) --* 

        The size of each page.

        

      
      - **StartingToken** *(string) --* 

        A token to specify where to start paginating. This is the ``NextToken`` from a previous response.

        

      
    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax**

      
      ::

        {
            'Resources': [
                {
                    'ResourceType': 'string',
                    'ResourceIdentifier': {
                        'string': 'string'
                    },
                    'ManagedByStack': True|False
                },
            ],
            
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

        - **Resources** *(list) --* 

          List of up to ``MaxResults`` resources in the specified resource scan that match all of the specified filters.

          
          

          - *(dict) --* 

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

            
            

            - **ResourceType** *(string) --* 

              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 *CloudFormation User Guide*

              
            

            - **ResourceIdentifier** *(dict) --* 

              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 *CloudFormation Command Line Interface (CLI) User Guide*.

              
              

              - *(string) --* 
                

                - *(string) --* 
          
        
            

            - **ManagedByStack** *(boolean) --* 

              If ``true``, the resource is managed by a CloudFormation stack.

              
        
      
    