organization_admin
Gets an individual organization_admin
resource
Overview
Name | organization_admin |
Type | Resource |
Description | organization_admin |
Id | awscc.detective.organization_admin |
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 |
graph_arn | string | The Detective graph ARN |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
account_id,
graph_arn
FROM awscc.detective.organization_admin
WHERE data__Identifier = '<AccountId>';
Permissions
To operate on the organization_admin
resource, the following permissions are required:
Read
detective:ListOrganizationAdminAccount,
organizations:DescribeOrganization
Delete
detective:DisableOrganizationAdminAccount,
detective:ListOrganizationAdminAccount,
organizations:DescribeOrganization