CmdID

CmdID / aws / aws inspector2

aws inspector2 get-member

Gets member information for your organization. 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 get member information for your organization

The following get-member example retrieves information about the member account 123456789012 in your organization.

aws inspector2 get-member --account-id 123456789012Identify
--account-idThe Amazon Web Services account ID of the member account to retrieve information on.
Its output
{
        "member": {
        "accountId": "123456789012",
        "delegatedAdminAccountId": "123456789012",
        "relationshipStatus": "ENABLED",
        "updatedAt": "2023-09-11T09:57:20.520000-07:00"
    }
}

For more information, see Managing multiple accounts in Amazon Inspector with AWS Organizations in the Amazon Inspector User Guide.

Options

1 in the AWS CLI reference
--account-idThe Amazon Web Services account ID of the member account to retrieve information on.