AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the EnableOrganizationAdminAccount operation. Designates the Security Hub administrator account for an organization. Can only be called by the organization management account.
Namespace: Amazon.SecurityHub.Model
Assembly: AWSSDK.SecurityHub.dll
Version: 3.x.y.z
public class EnableOrganizationAdminAccountRequest : AmazonSecurityHubRequest IAmazonWebServiceRequest
The EnableOrganizationAdminAccountRequest type exposes the following members
Name | Description | |
---|---|---|
EnableOrganizationAdminAccountRequest() |
Name | Type | Description | |
---|---|---|---|
AdminAccountId | System.String |
Gets and sets the property AdminAccountId. The Amazon Web Services account identifier of the account to designate as the Security Hub administrator account. |
The following example designates the specified account as the Security Hub administrator account. The requesting account must be the organization management account.
var client = new AmazonSecurityHubClient(); var response = client.EnableOrganizationAdminAccount(new EnableOrganizationAdminAccountRequest { AdminAccountId = "123456789012" });
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5