invitations_counts
Creates, updates, deletes, gets or lists an invitations_counts resource.
Overview
| Name | invitations_counts |
| Type | Resource |
| Id | aws.securityhub.invitations_counts |
Fields
The following fields are returned by SELECT queries:
- get_invitations_count
| Name | Datatype | Description |
|---|---|---|
invitations_count | integer | The 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_invitations_count | select | region | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_invitations_count
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
;