Updates the resource query of a group. For more information about resource queries, see Create a tag-based group in Resource Groups.
Minimum permissions
To run this command, you must have the following permissions:
resource-groups:UpdateGroupQuery
resourcegroups_update_group_query(GroupName, Group, ResourceQuery)
A list with the following syntax:
list(
GroupQuery = list(
GroupName = "string",
ResourceQuery = list(
Type = "TAG_FILTERS_1_0"|"CLOUDFORMATION_STACK_1_0",
Query = "string"
)
)
)
Don't use this parameter. Use Group
instead.
The name or the ARN of the resource group to query.
[required] The resource query to determine which AWS resources are members of this resource group.
A resource group can contain either a Configuration
or a
ResourceQuery
, but not both.
svc$update_group_query(
GroupName = "string",
Group = "string",
ResourceQuery = list(
Type = "TAG_FILTERS_1_0"|"CLOUDFORMATION_STACK_1_0",
Query = "string"
)
)