

# AccountScope
<a name="API_AccountScope"></a>

Configures the accounts within the administrator's Amazon Organizations organization that the specified Firewall Manager administrator can apply policies to.

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

 ** Accounts **   <a name="fms-Type-AccountScope-Accounts"></a>
The list of accounts within the organization that the specified Firewall Manager administrator either can or cannot apply policies to, based on the value of `ExcludeSpecifiedAccounts`. If `ExcludeSpecifiedAccounts` is set to `true`, then the Firewall Manager administrator can apply policies to all members of the organization except for the accounts in this list. If `ExcludeSpecifiedAccounts` is set to `false`, then the Firewall Manager administrator can only apply policies to the accounts in this list.  
Type: Array of strings  
Length Constraints: Minimum length of 1. Maximum length of 1024.  
Pattern: `^[0-9]+$`   
Required: No

 ** AllAccountsEnabled **   <a name="fms-Type-AccountScope-AllAccountsEnabled"></a>
A boolean value that indicates if the administrator can apply policies to all accounts within an organization. If true, the administrator can apply policies to all accounts within the organization. You can either enable management of all accounts through this operation, or you can specify a list of accounts to manage in `AccountScope$Accounts`. You cannot specify both.  
Type: Boolean  
Required: No

 ** ExcludeSpecifiedAccounts **   <a name="fms-Type-AccountScope-ExcludeSpecifiedAccounts"></a>
A boolean value that excludes the accounts in `AccountScope$Accounts` from the administrator's scope. If true, the Firewall Manager administrator can apply policies to all members of the organization except for the accounts listed in `AccountScope$Accounts`. You can either specify a list of accounts to exclude by `AccountScope$Accounts`, or you can enable management of all accounts by `AccountScope$AllAccountsEnabled`. You cannot specify both.  
Type: Boolean  
Required: No

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

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\$1\$1](https://docs.amazonaws.cn/goto/SdkForCpp/fms-2018-01-01/AccountScope) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/fms-2018-01-01/AccountScope) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/fms-2018-01-01/AccountScope) 