Skip to main content

available_managed_rule_groups

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

Overview

Nameavailable_managed_rule_groups
TypeResource
Idaws.wafv2.available_managed_rule_groups

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
managed_rule_groupsarrayArray of managed rule groups that you can use. If you specified a Limit in your request, this might not be the full list.
next_markerstringWhen you request a list of objects with a Limit setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a NextMarker value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request. (pattern: <code>.\S.</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_available_managed_rule_groupsselectregionRetrieves an array of managed rule groups that are available for you to use. This list includes all Amazon Web Services Managed Rules rule groups and all of the Amazon Web Services Marketplace managed rule groups that you're subscribed to.

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

Retrieves an array of managed rule groups that are available for you to use. This list includes all Amazon Web Services Managed Rules rule groups and all of the Amazon Web Services Marketplace managed rule groups that you're subscribed to.

SELECT
managed_rule_groups,
next_marker
FROM aws.wafv2.available_managed_rule_groups
WHERE region = '{{ region }}' -- required
;