

# IndexingRule
<a name="API_IndexingRule"></a>

 Rule used to determine the server-side sampling rate for spans ingested through the CloudWatchLogs destination and indexed by X-Ray. 

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

 ** ModifiedAt **   <a name="xray-Type-IndexingRule-ModifiedAt"></a>
 Displays when the rule was last modified, in Unix time seconds.   
Type: Timestamp  
Required: No

 ** Name **   <a name="xray-Type-IndexingRule-Name"></a>
 The name of the indexing rule.   
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 32.  
Required: No

 ** Rule **   <a name="xray-Type-IndexingRule-Rule"></a>
 The indexing rule.   
Type: [IndexingRuleValue](API_IndexingRuleValue.md) object  
 **Note: **This object is a Union. Only one member of this object can be specified or returned.  
Required: No

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

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/xray-2016-04-12/IndexingRule) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/xray-2016-04-12/IndexingRule) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/xray-2016-04-12/IndexingRule) 