organization_admin_accounts
Creates, updates, deletes, gets or lists an organization_admin_accounts resource.
Overview
| Name | organization_admin_accounts |
| Type | Resource |
| Id | aws.macie2.organization_admin_accounts |
Fields
The following fields are returned by SELECT queries:
- list_organization_admin_accounts
| Name | Datatype | Description |
|---|---|---|
account_id | string | The Amazon Web Services account ID for the account. |
status | string | The current status of the account as the delegated Amazon Macie administrator account for the organization. (ENABLED, DISABLING_IN_PROGRESS) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_organization_admin_accounts | select | region | maxResults, nextToken | Retrieves information about the delegated Amazon Macie administrator account for an organization in Organizations. |
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) |
maxResults | integer | The maximum number of items to include in each page of a paginated response. |
nextToken | string | The nextToken string that specifies which page of results to return in a paginated response. |
SELECT examples
- list_organization_admin_accounts
Retrieves information about the delegated Amazon Macie administrator account for an organization in Organizations.
SELECT
account_id,
status
FROM aws.macie2.organization_admin_accounts
WHERE region = '{{ region }}' -- required
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;