Skip to main content

organization_admin_accounts

Creates, updates, deletes, gets or lists an organization_admin_accounts resource.

Overview

Nameorganization_admin_accounts
TypeResource
Idaws.detective.organization_admin_accounts

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
administratorsarrayThe list of Detective administrator accounts.
next_tokenstringIf there are more accounts remaining in the results, then this is the pagination token to use to request the next page of accounts.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_organization_admin_accountsselectregionReturns information about the Detective administrator account for an organization. Can only be called by the organization management account.

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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns information about the Detective administrator account for an organization. Can only be called by the organization management account.

SELECT
administrators,
next_token
FROM aws.detective.organization_admin_accounts
WHERE region = '{{ region }}' -- required
;