Learn R Programming

paws.management (version 0.1.10)

resourcegroups_update_group_query: 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

resourcegroups_update_group_query(GroupName, Group, ResourceQuery)

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 AWS resources are members of this resource group.

A resource group can contain either a Configuration or a ResourceQuery, but not both.

Request syntax

svc$update_group_query(
  GroupName = "string",
  Group = "string",
  ResourceQuery = list(
    Type = "TAG_FILTERS_1_0"|"CLOUDFORMATION_STACK_1_0",
    Query = "string"
  )
)