AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

The query that is used to define a resource group or a search for resources.

Inheritance Hierarchy


Namespace: Amazon.ResourceGroups.Model
Assembly: AWSSDK.ResourceGroups.dll
Version: 3.x.y.z


public class ResourceQuery

The ResourceQuery type exposes the following members


Public Method ResourceQuery()


Public Property Query System.String

Gets and sets the property Query.

The query that defines a group or a search.

Public Property Type Amazon.ResourceGroups.QueryType

Gets and sets the property Type.

The type of the query. The valid value in this release is TAG_FILTERS_1_0.

TAG_FILTERS_1_0: A JSON syntax that lets you specify a collection of simple tag filters for resource types and tags, as supported by the AWS Tagging API GetResources operation. When more than one element is present, only resources that match all filters are part of the result. If a filter specifies more than one value for a key, a resource matches the filter if its tag value matches any of the specified values.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms