organization_admins
Retrieves a list of organization_admins
in a region
Overview
Name | organization_admins |
Type | Resource |
Description | organization_admins |
Id | awscc.detective.organization_admins |
Fields
Name | Datatype | Description |
---|---|---|
account_id | string | The account ID of the account that should be registered as your Organization's delegated administrator for Detective |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
account_id
FROM awscc.detective.organization_admins
WHERE region = 'us-east-1'
Permissions
To operate on the organization_admins
resource, the following permissions are required:
Create
detective:EnableOrganizationAdminAccount,
detective:ListOrganizationAdminAccount,
iam:CreateServiceLinkedRole,
organizations:RegisterDelegatedAdministrator,
organizations:DescribeOrganization,
organizations:EnableAWSServiceAccess,
organizations:ListAccounts
List
detective:ListOrganizationAdminAccount,
organizations:DescribeOrganization