automation_rules_v2s
Creates, updates, deletes, gets or lists an automation_rules_v2s resource.
Overview
| Name | automation_rules_v2s |
| Type | Resource |
| Id | aws.securityhub.automation_rules_v2s |
Fields
The following fields are returned by SELECT queries:
- list_automation_rules_v2
| Name | Datatype | Description |
|---|---|---|
next_token | string | The pagination token to use to request the next page of results. Otherwise, this parameter is null. |
rules | array | An array of automation rules. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_automation_rules_v2 | select | region | NextToken, MaxResults | Returns a list of automation rules and metadata for the calling account. |
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) |
MaxResults | integer | The maximum number of results to return. |
NextToken | string | The token required for pagination. On your first call, set the value of this parameter to NULL. For subsequent calls, to continue listing data, set the value of this parameter to the value returned in the previous response. |
SELECT examples
- list_automation_rules_v2
Returns a list of automation rules and metadata for the calling account.
SELECT
next_token,
rules
FROM aws.securityhub.automation_rules_v2s
WHERE region = '{{ region }}' -- required
AND NextToken = '{{ NextToken }}'
AND MaxResults = '{{ MaxResults }}'
;