Skip to main content

invitations_counts

Creates, updates, deletes, gets or lists an invitations_counts resource.

Overview

Nameinvitations_counts
TypeResource
Idaws.securityhub.invitations_counts

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
invitations_countintegerThe number of all membership invitations sent to this Security Hub CSPM member account, not including the currently accepted invitation.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_invitations_countselectregionWe recommend using Organizations instead of Security Hub CSPM invitations to manage your member accounts. For information, see Managing Security Hub CSPM administrator and member accounts with Organizations in the Security Hub CSPM User Guide. Returns the count of all Security Hub CSPM membership invitations that were sent to the calling member account, not including the currently accepted invitation.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

We recommend using Organizations instead of Security Hub CSPM invitations to manage your member accounts. For information, see Managing Security Hub CSPM administrator and member accounts with Organizations in the Security Hub CSPM User Guide. Returns the count of all Security Hub CSPM membership invitations that were sent to the calling member account, not including the currently accepted invitation.

SELECT
invitations_count
FROM aws.securityhub.invitations_counts
WHERE region = '{{ region }}' -- required
;