admins_managing_accounts
Creates, updates, deletes, gets or lists an admins_managing_accounts resource.
Overview
| Name | admins_managing_accounts |
| Type | Resource |
| Id | aws.fms.admins_managing_accounts |
Fields
The following fields are returned by SELECT queries:
- list_admins_managing_account
| Name | Datatype | Description |
|---|---|---|
admin_account | string | The list of accounts who manage member accounts within their AdminScope. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_admins_managing_account | select | region | Lists the accounts that are managing the specified Organizations member account. This is useful for any member account so that they can view the accounts who are managing their account. This operation only returns the managing administrators that have the requested account within their AdminScope. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_admins_managing_account
Lists the accounts that are managing the specified Organizations member account. This is useful for any member account so that they can view the accounts who are managing their account. This operation only returns the managing administrators that have the requested account within their AdminScope.
SELECT
admin_account
FROM aws.fms.admins_managing_accounts
WHERE region = '{{ region }}' -- required
;