HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/awscli/examples/configservice/list-discovered-resources.rst
**To list resources that AWS Config has discovered**

The following command lists the EC2 instances that AWS Config has discovered::

    aws configservice list-discovered-resources --resource-type AWS::EC2::Instance

Output::

    {
        "resourceIdentifiers": [
            {
                "resourceType": "AWS::EC2::Instance",
                "resourceId": "i-1a2b3c4d"
            },
            {
                "resourceType": "AWS::EC2::Instance",
                "resourceId": "i-2a2b3c4d"
            },
            {
                "resourceType": "AWS::EC2::Instance",
                "resourceId": "i-3a2b3c4d"
            }
        ]
    }