

# ProjectsForRule
<a name="API_ProjectsForRule"></a>

Specifies projects in which the rule is created.

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

 ** selectionMode **   <a name="datazone-Type-ProjectsForRule-selectionMode"></a>
The selection mode of the rule.  
Type: String  
Valid Values: `ALL | SPECIFIC`   
Required: Yes

 ** specificProjects **   <a name="datazone-Type-ProjectsForRule-specificProjects"></a>
The specific projects in which the rule is created.  
Type: Array of strings  
Array Members: Minimum number of 1 item.  
Pattern: `[a-zA-Z0-9_-]{1,36}`   
Required: No

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