

# RuleTarget
<a name="API_RuleTarget"></a>

The target of the rule.

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

**Important**  
This data type is a UNION, so only one of the following members can be specified when used or returned.

 ** domainUnitTarget **   <a name="datazone-Type-RuleTarget-domainUnitTarget"></a>
The ID of the domain unit.  
Type: [DomainUnitTarget](API_DomainUnitTarget.md) object  
Required: No

## See Also
<a name="API_RuleTarget_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/datazone-2018-05-10/RuleTarget) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/datazone-2018-05-10/RuleTarget) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/datazone-2018-05-10/RuleTarget) 