

# ResourceSelector

A single selector: an ordered path of `{level, id}` segments identifying a node in the data source's resource hierarchy. On a GLUE\_DATA\_CATALOG connection the path can also name at most one `glueService` segment, which selects a service rather than a node (see `DataSourceScope`).

## Contents
<a name="API_ResourceSelector_Contents"></a>

 ** path **   <a name="context-Type-ResourceSelector-path"></a>
Ordered hierarchy path from the root to the selected resource. Must be non-empty.  
Type: Array of [PathSegment](API_PathSegment.md) objects  
Array Members: Minimum number of 0 items. Maximum number of 100 items.  
Required: Yes

## See Also
<a name="API_ResourceSelector_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/context-2022-07-26/ResourceSelector) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/context-2022-07-26/ResourceSelector) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/context-2022-07-26/ResourceSelector) 