Website : rimsha.abasa.com
backdoor
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
lib
/
python3
/
dist-packages
/
awscli
/
examples
/
resource-groups
/
Filename :
list-group-resources.rst
back
Copy
**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