

# DomainUnitTarget
<a name="API_DomainUnitTarget"></a>

The target for the domain unit.

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

 ** domainUnitId **   <a name="datazone-Type-DomainUnitTarget-domainUnitId"></a>
The ID of the domain unit.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Pattern: `[a-z0-9_\-]+`   
Required: Yes

 ** includeChildDomainUnits **   <a name="datazone-Type-DomainUnitTarget-includeChildDomainUnits"></a>
Specifies whether to apply a rule to the child domain units.  
Type: Boolean  
Required: No

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