Update Group Query
resourcegroups_update_group_query | R Documentation |
Updates the resource query of a group¶
Description¶
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
Usage¶
Arguments¶
GroupName
Don't use this parameter. Use
Group
instead.Group
The name or the ARN of the resource group to query.
ResourceQuery
[required] The resource query to determine which Amazon Web Services resources are members of this resource group.
A resource group can contain either a
Configuration
or aResourceQuery
, but not both.
Value¶
A list with the following syntax:
list(
GroupQuery = list(
GroupName = "string",
ResourceQuery = list(
Type = "TAG_FILTERS_1_0"|"CLOUDFORMATION_STACK_1_0",
Query = "string"
)
)
)