List Groups
resourcegroups_list_groups | R Documentation |
Returns a list of existing Resource Groups in your account¶
Description¶
Returns a list of existing Resource Groups in your account.
Minimum permissions
To run this command, you must have the following permissions:
resource-groups:ListGroups
Usage¶
resourcegroups_list_groups(Filters, MaxResults, NextToken)
Arguments¶
Filters |
Filters, formatted as GroupFilter objects, that you want to apply
to a
|
MaxResults |
The total number of results that you want included on each page
of the response. If you do not include this parameter, it defaults to a
value that is specific to the operation. If additional items exist
beyond the maximum you specify, the |
NextToken |
The parameter for receiving additional results if you receive a
|
Value¶
A list with the following syntax:
list(
GroupIdentifiers = list(
list(
GroupName = "string",
GroupArn = "string",
Description = "string",
Criticality = 123,
Owner = "string",
DisplayName = "string"
)
),
Groups = list(
list(
GroupArn = "string",
Name = "string",
Description = "string",
Criticality = 123,
Owner = "string",
DisplayName = "string",
ApplicationTag = list(
"string"
)
)
),
NextToken = "string"
)
Request syntax¶
svc$list_groups(
Filters = list(
list(
Name = "resource-type"|"configuration-type"|"owner"|"display-name"|"criticality",
Values = list(
"string"
)
)
),
MaxResults = 123,
NextToken = "string"
)