

# account-part-of-organizations
<a name="account-part-of-organizations"></a>

Checks if an Amazon account is part of Amazon Organizations. The rule is NON\_COMPLIANT if an Amazon account is not part of Amazon Organizations or Amazon Organizations master account ID does not match rule parameter `MasterAccountId`.

**Note**  
**Managed Rules and Global IAM Resource Types**  
The global IAM resource types onboarded before February 2022 (`AWS::IAM::Group`, `AWS::IAM::Policy`, `AWS::IAM::Role`, and `AWS::IAM::User`) can only be recorded by Amazon Config in Amazon Regions where Amazon Config was available before February 2022. These resource types cannot be recorded in Regions supported by Amazon Config after February 2022. For a list of those Regions, see [Recording Amazon Resources \| Global Resources](https://docs.amazonaws.cn/config/latest/developerguide/select-resources.html#select-resources-all).  
If you record a global IAM resource type in at least one Region, periodic rules that report compliance on the global IAM resource type will run evaluations in all Regions where the periodic rule is added, even if you have not enabled the recording of the global IAM resource type in the Region where the periodic rule was added.  
To avoid unnecessary evaluations, you should only deploy periodic rules that report compliance on a global IAM resource type to one of the supported Regions. For a list of which managed rules are supported in which Regions, see [List of Amazon Config Managed Rules by Region Availability](https://docs.amazonaws.cn/config/latest/developerguide/managing-rules-by-region-availability.html).



**Identifier:** ACCOUNT\_PART\_OF\_ORGANIZATIONS

**Trigger type:** Periodic

**Amazon Web Services Region:** All supported Amazon regions except China (Beijing) Region

**Parameters:**

MasterAccountId (Optional)Type: String  
The master account ID for an Amazon account.

## Amazon CloudFormation template
<a name="w2aac20c16c17b7b3c19"></a>

To create Amazon Config managed rules with Amazon CloudFormation templates, see [Creating Amazon Config Managed Rules With Amazon CloudFormation Templates](aws-config-managed-rules-cloudformation-templates.md).