Creates member accounts of the current AWS account by specifying a list of AWS account IDs. This step is a prerequisite for managing the associated member accounts either by invitation or through an organization.
When using Create Members
as an organizations delegated administrator
this action will enable GuardDuty in the added member accounts, with the
exception of the organization delegated administrator account, which
must enable GuardDuty prior to being added as a member.
If you are adding accounts by invitation use this action after GuardDuty
has been enabled in potential member accounts and before using
Invite Members
.
guardduty_create_members(DetectorId, AccountDetails)
[required] The unique ID of the detector of the GuardDuty account that you want to associate member accounts with.
[required] A list of account ID and email address pairs of the accounts that you want to associate with the GuardDuty administrator account.
A list with the following syntax:
list( UnprocessedAccounts = list( list( AccountId = "string", Result = "string" ) ) )
svc$create_members( DetectorId = "string", AccountDetails = list( list( AccountId = "string", Email = "string" ) ) )