Skip to main content

automation_rules_v2s

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

Overview​

Nameautomation_rules_v2s
TypeResource
Idaws.securityhub.automation_rules_v2s

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
next_tokenstringThe pagination token to use to request the next page of results. Otherwise, this parameter is null.
rulesarrayAn array of automation rules.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_automation_rules_v2selectregionNextToken, MaxResultsReturns 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
MaxResultsintegerThe maximum number of results to return.
NextTokenstringThe 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​

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 }}'
;