AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.
Returns information about the specified account's administrative scope. The administrative scope defines the resources that an Firewall Manager administrator can manage.
See also: AWS API Documentation
get-admin-scope
--admin-account <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
--admin-account
(string)
The administrator account that you want to get the details for.
--cli-input-json
(string)
Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton
. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.
--generate-cli-skeleton
(string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input
, prints a sample input JSON that can be used as an argument for --cli-input-json
. If provided with the value output
, it validates the command inputs and returns a sample output JSON for that command.
--debug
(boolean)
Turn on debug logging.
--endpoint-url
(string)
Override command's default URL with the given URL.
--no-verify-ssl
(boolean)
By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.
--no-paginate
(boolean)
Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.
--output
(string)
The formatting style for command output.
--query
(string)
A JMESPath query to use in filtering the response data.
--profile
(string)
Use a specific profile from your credential file.
--region
(string)
The region to use. Overrides config/env settings.
--version
(string)
Display the version of this tool.
--color
(string)
Turn on/off color output.
--no-sign-request
(boolean)
Do not sign requests. Credentials will not be loaded if this argument is provided.
--ca-bundle
(string)
The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.
--cli-read-timeout
(int)
The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.
--cli-connect-timeout
(int)
The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.
AdminScope -> (structure)
Contains details about the administrative scope of the requested account.
AccountScope -> (structure)
Defines the accounts that the specified Firewall Manager administrator can apply policies to.
Accounts -> (list)
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
. IfExcludeSpecifiedAccounts
is set totrue
, then the Firewall Manager administrator can apply policies to all members of the organization except for the accounts in this list. IfExcludeSpecifiedAccounts
is set tofalse
, then the Firewall Manager administrator can only apply policies to the accounts in this list.(string)
AllAccountsEnabled -> (boolean)
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 inAccountScope$Accounts
. You cannot specify both.ExcludeSpecifiedAccounts -> (boolean)
A boolean value that excludes the accounts inAccountScope$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 inAccountScope$Accounts
. You can either specify a list of accounts to exclude byAccountScope$Accounts
, or you can enable management of all accounts byAccountScope$AllAccountsEnabled
. You cannot specify both.OrganizationalUnitScope -> (structure)
Defines the Organizations organizational units that the specified Firewall Manager administrator can apply policies to. For more information about OUs in Organizations, see Managing organizational units (OUs) in the Organizations User Guide .
OrganizationalUnits -> (list)
The list of OUs within the organization that the specified Firewall Manager administrator either can or cannot apply policies to, based on the value of
OrganizationalUnitScope$ExcludeSpecifiedOrganizationalUnits
. IfOrganizationalUnitScope$ExcludeSpecifiedOrganizationalUnits
is set totrue
, then the Firewall Manager administrator can apply policies to all OUs in the organization except for the OUs in this list. IfOrganizationalUnitScope$ExcludeSpecifiedOrganizationalUnits
is set tofalse
, then the Firewall Manager administrator can only apply policies to the OUs in this list.(string)
AllOrganizationalUnitsEnabled -> (boolean)
A boolean value that indicates if the administrator can apply policies to all OUs within an organization. If true, the administrator can manage all OUs within the organization. You can either enable management of all OUs through this operation, or you can specify OUs to manage inOrganizationalUnitScope$OrganizationalUnits
. You cannot specify both.ExcludeSpecifiedOrganizationalUnits -> (boolean)
A boolean value that excludes the OUs inOrganizationalUnitScope$OrganizationalUnits
from the administrator's scope. If true, the Firewall Manager administrator can apply policies to all OUs in the organization except for the OUs listed inOrganizationalUnitScope$OrganizationalUnits
. You can either specify a list of OUs to exclude byOrganizationalUnitScope$OrganizationalUnits
, or you can enable management of all OUs byOrganizationalUnitScope$AllOrganizationalUnitsEnabled
. You cannot specify both.RegionScope -> (structure)
Defines the Amazon Web Services Regions that the specified Firewall Manager administrator can perform actions in.
Regions -> (list)
The Amazon Web Services Regions that the specified Firewall Manager administrator can perform actions in.
(string)
AllRegionsEnabled -> (boolean)
Allows the specified Firewall Manager administrator to manage all Amazon Web Services Regions.PolicyTypeScope -> (structure)
Defines the Firewall Manager policy types that the specified Firewall Manager administrator can create and manage.
PolicyTypes -> (list)
The list of policy types that the specified Firewall Manager administrator can manage.
(string)
AllPolicyTypesEnabled -> (boolean)
Allows the specified Firewall Manager administrator to manage all Firewall Manager policy types, except for third-party policy types. Third-party policy types can only be managed by the Firewall Manager default administrator.
Status -> (string)
The current status of the request to onboard a member account as an Firewall Manager administrator.
ONBOARDING
- The account is onboarding to Firewall Manager as an administrator.ONBOARDING_COMPLETE
- Firewall Manager The account is onboarded to Firewall Manager as an administrator, and can perform actions on the resources defined in their AdminScope .OFFBOARDING
- The account is being removed as an Firewall Manager administrator.OFFBOARDING_COMPLETE
- The account has been removed as an Firewall Manager administrator.