free_trial_statuses_v2s
Creates, updates, deletes, gets or lists a free_trial_statuses_v2s resource.
Overview
| Name | free_trial_statuses_v2s |
| Type | Resource |
| Id | aws.securityhub.free_trial_statuses_v2s |
Fields
The following fields are returned by SELECT queries:
- list_free_trial_statuses_v2
| Name | Datatype | Description |
|---|---|---|
account_id | string | The Amazon Web Services account identifier that the free trial statuses apply to. (pattern: <code>^[0-9]{12}$</code>) |
evaluated_at | string (date-time) | The date and time at which Security Hub evaluated the free trial statuses for this account. Every status in FreeTrialStatuses reflects this point in time. |
free_trial_statuses | array | An array of free trial statuses, one for each feature that has a free trial period for the account. The array is empty if the account has no free trial to report. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_free_trial_statuses_v2 | select | region | Lists the free trial status of Security Hub features. A delegated Security Hub administrator can list the status for accounts in its organization. Any other account can list the status only for itself. Free trial status remains available after a feature is disabled. |
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
- list_free_trial_statuses_v2
Lists the free trial status of Security Hub features. A delegated Security Hub administrator can list the status for accounts in its organization. Any other account can list the status only for itself. Free trial status remains available after a feature is disabled.
SELECT
account_id,
evaluated_at,
free_trial_statuses
FROM aws.securityhub.free_trial_statuses_v2s
WHERE region = '{{ region }}' -- required
;