enableOrganizationAdminAccount

Designates the Security Hub CSPM administrator account for an organization. Can only be called by the organization management account.

Samples

// The following example designates the specified account as the Security Hub administrator account.
// The requesting account must be the organization management account.
securityHubClient.enableOrganizationAdminAccount {
    adminAccountId = "123456789012"
}