Invites other AWS accounts to become member accounts for the Security Hub master account that the invitation is sent from.
This operation is only used to invite accounts that do not belong to an organization. Organization accounts do not receive invitations.
Before you can use this action to invite a member, you must first use
the create_members
action to create the
member account in Security Hub.
When the account owner enables Security Hub and accepts the invitation to become a member account, the master account can view the findings generated from the member account.
securityhub_invite_members(AccountIds)
A list with the following syntax:
list(
UnprocessedAccounts = list(
list(
AccountId = "string",
ProcessingResult = "string"
)
)
)
[required] The list of account IDs of the AWS accounts to invite to Security Hub as members.
svc$invite_members(
AccountIds = list(
"string"
)
)