

# OrganizationConfigRuleStatus
<a name="API_OrganizationConfigRuleStatus"></a>

Returns the status for an organization Amazon Config rule in an organization.

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

 ** OrganizationConfigRuleName **   <a name="config-Type-OrganizationConfigRuleStatus-OrganizationConfigRuleName"></a>
The name that you assign to organization Amazon Config rule.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[A-Za-z0-9-_]+`   
Required: Yes

 ** OrganizationRuleStatus **   <a name="config-Type-OrganizationConfigRuleStatus-OrganizationRuleStatus"></a>
Indicates deployment status of an organization Amazon Config rule. When management account calls PutOrganizationConfigRule action for the first time, Amazon Config rule status is created in all the member accounts. When management account calls PutOrganizationConfigRule action for the second time, Amazon Config rule status is updated in all the member accounts. Additionally, Amazon Config rule status is updated when one or more member accounts join or leave an organization. Amazon Config rule status is deleted when the management account deletes OrganizationConfigRule in all the member accounts and disables service access for `config-multiaccountsetup.amazonaws.com`.  
 Amazon Config sets the state of the rule to:  
+  `CREATE_SUCCESSFUL` when an organization Amazon Config rule has been successfully created in all the member accounts. 
+  `CREATE_IN_PROGRESS` when an organization Amazon Config rule creation is in progress.
+  `CREATE_FAILED` when an organization Amazon Config rule creation failed in one or more member accounts within that organization.
+  `DELETE_FAILED` when an organization Amazon Config rule deletion failed in one or more member accounts within that organization.
+  `DELETE_IN_PROGRESS` when an organization Amazon Config rule deletion is in progress.
+  `DELETE_SUCCESSFUL` when an organization Amazon Config rule has been successfully deleted from all the member accounts.
+  `UPDATE_SUCCESSFUL` when an organization Amazon Config rule has been successfully updated in all the member accounts.
+  `UPDATE_IN_PROGRESS` when an organization Amazon Config rule update is in progress.
+  `UPDATE_FAILED` when an organization Amazon Config rule update failed in one or more member accounts within that organization.
Type: String  
Valid Values: `CREATE_SUCCESSFUL | CREATE_IN_PROGRESS | CREATE_FAILED | DELETE_SUCCESSFUL | DELETE_FAILED | DELETE_IN_PROGRESS | UPDATE_SUCCESSFUL | UPDATE_IN_PROGRESS | UPDATE_FAILED`   
Required: Yes

 ** ErrorCode **   <a name="config-Type-OrganizationConfigRuleStatus-ErrorCode"></a>
An error code that is returned when organization Amazon Config rule creation or deletion has failed.  
Type: String  
Required: No

 ** ErrorMessage **   <a name="config-Type-OrganizationConfigRuleStatus-ErrorMessage"></a>
An error message indicating that organization Amazon Config rule creation or deletion failed due to an error.  
Type: String  
Required: No

 ** LastUpdateTime **   <a name="config-Type-OrganizationConfigRuleStatus-LastUpdateTime"></a>
The timestamp of the last update.  
Type: Timestamp  
Required: No

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

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\+\+](https://docs.amazonaws.cn/goto/SdkForCpp/config-2014-11-12/OrganizationConfigRuleStatus) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/config-2014-11-12/OrganizationConfigRuleStatus) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/config-2014-11-12/OrganizationConfigRuleStatus) 