CmdID

CmdID / aws / aws securityhub

aws securityhub create-members

Creates a member association in Security Hub CSPM between the specified accounts and the account used to make the request, which is the administrator account. AWS CLI reference

1 example 1 option Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To add accounts as member accounts

The following create-members example adds two accounts as member accounts to the requesting administrator account.

aws securityhub create-members --account-details '[{"AccountId": "123456789111"}, {"AccountId": "123456789222"}]'Identify
--account-detailsThe list of accounts to associate with the Security Hub CSPM administrator account.
Its output
{
    "UnprocessedAccounts": []
}

For more information, see Managing administrator and member accounts in the AWS Security Hub User Guide.

Options

1 in the AWS CLI reference
--account-detailsThe list of accounts to associate with the Security Hub CSPM administrator account.