securityhub_invite_members: Invites other AWS accounts to become member accounts for the...

Description Usage Arguments Value Request syntax

View source: R/securityhub_operations.R

Description

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.

Usage

1

Arguments

AccountIds

[required] The list of account IDs of the AWS accounts to invite to Security Hub as members.

Value

A list with the following syntax:

1
2
3
4
5
6
7
8
list(
  UnprocessedAccounts = list(
    list(
      AccountId = "string",
      ProcessingResult = "string"
    )
  )
)

Request syntax

1
2
3
4
5
svc$invite_members(
  AccountIds = list(
    "string"
  )
)

paws.security.identity documentation built on Aug. 23, 2021, 9:16 a.m.