Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/awscli/examples/resource-groups/ |
Upload File : |
**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