Interface CfnGroup.ResourceQueryProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnGroup.ResourceQueryProperty.Jsii$Proxy
Enclosing class:
CfnGroup

@Stability(Stable) public static interface CfnGroup.ResourceQueryProperty extends software.amazon.jsii.JsiiSerializable
The query used to dynamically define the members of a group.

For more information about how to construct a query, see Build queries and groups in AWS Resource Groups .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.resourcegroups.*;
 ResourceQueryProperty resourceQueryProperty = ResourceQueryProperty.builder()
         .query(QueryProperty.builder()
                 .resourceTypeFilters(List.of("resourceTypeFilters"))
                 .stackIdentifier("stackIdentifier")
                 .tagFilters(List.of(TagFilterProperty.builder()
                         .key("key")
                         .values(List.of("values"))
                         .build()))
                 .build())
         .type("type")
         .build();
 

See Also: