File: //usr/lib/python3/dist-packages/awscli/examples/resource-groups/list-group-resources.rst
**To list all of the resources in a resource group**
Example 1: The following ``list-resource-groups`` example lists all of the resources that are part of the specified resource group. ::
aws resource-groups list-group-resources \
--group-name tbq-WebServer
Output::
{
"ResourceIdentifiers": [
{
"ResourceArn": "arn:aws:ec2:us-west-2:123456789012:instance/i-09f77fa38c12345ab",
"ResourceType": "AWS::EC2::Instance"
}
]
}
Example 2: The following example lists all of the resources in the group that also have a 'resource-type' of the 'AWS::EC2::Instance'. :
aws resource-groups list-group-resources \
--group-name tbq-WebServer \
--filters Name=resource-type,Values=AWS::EC2::Instance