managed_accounts
Creates, updates, deletes, gets or lists a managed_accounts resource.
Overview
| Name | managed_accounts |
| Type | Resource |
| Id | aws.mgn.managed_accounts |
Fields
The following fields are returned by SELECT queries:
- list_managed_accounts
| Name | Datatype | Description |
|---|---|---|
account_id | string | Managed account, account ID. (pattern: <code>.[0-9]{12,}.</code>) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_managed_accounts | select | region | List Managed Accounts. |
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_managed_accounts
List Managed Accounts.
SELECT
account_id
FROM aws.mgn.managed_accounts
WHERE region = '{{ region }}' -- required
;