Skip to content

Enable Organization Admin Account

securityhub_enable_organization_admin_account R Documentation

Designates the Security Hub administrator account for an organization

Description

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

Usage

securityhub_enable_organization_admin_account(AdminAccountId)

Arguments

AdminAccountId

[required] The Amazon Web Services account identifier of the account to designate as the Security Hub administrator account.

Value

An empty list.

Request syntax

svc$enable_organization_admin_account(
  AdminAccountId = "string"
)

Examples

## Not run: 
# The following example designates the specified account as the Security
# Hub administrator account. The requesting account must be the
# organization management account.
svc$enable_organization_admin_account(
  AdminAccountId = "123456789012"
)

## End(Not run)