Skip to main content

rule_group_metadatas

Creates, updates, deletes, gets or lists a rule_group_metadatas resource.

Overview

Namerule_group_metadatas
TypeResource
Idaws.network_firewall.rule_group_metadatas

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
capacityintegerThe maximum operating resources that this rule group can use. Rule group capacity is fixed at creation. When you update a rule group, you are limited to this capacity. When you reference a rule group from a firewall policy, Network Firewall reserves this capacity for the rule group. You can retrieve the capacity that would be required for a rule group before you create the rule group by calling CreateRuleGroup with DryRun set to TRUE.
descriptionstringReturns the metadata objects for the specified rule group. (pattern: <code>^.*$</code>)
last_modified_timestring (date-time)A timestamp indicating when the rule group was last modified.
listing_namestringThe display name of the product listing for this rule group.
product_idstringThe unique identifier for the product listing associated with this rule group.
rule_group_arnstringThe descriptive name of the rule group. You can't change the name of a rule group after you create it. You must specify the ARN or the name, and you can specify both. (pattern: <code>^arn:aws.*</code>)
rule_group_namestringThe descriptive name of the rule group. You can't change the name of a rule group after you create it. You must specify the ARN or the name, and you can specify both. (pattern: <code>^[a-zA-Z0-9-]+$</code>)
stateful_rule_optionsobjectAdditional options governing how Network Firewall handles the rule group. You can only use these for stateful rule groups.
typestringIndicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules. This setting is required for requests that do not include the RuleGroupARN. (STATELESS, STATEFUL, STATEFUL_DOMAIN)
vendor_namestringThe name of the Amazon Web Services Marketplace vendor that provides this rule group.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_rule_group_metadataselectregionHigh-level information about a rule group, returned by operations like create and describe. You can use the information provided in the metadata to retrieve and manage a rule group. You can retrieve all objects for a rule group by calling DescribeRuleGroup.

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

High-level information about a rule group, returned by operations like create and describe. You can use the information provided in the metadata to retrieve and manage a rule group. You can retrieve all objects for a rule group by calling DescribeRuleGroup.

SELECT
capacity,
description,
last_modified_time,
listing_name,
product_id,
rule_group_arn,
rule_group_name,
stateful_rule_options,
type,
vendor_name
FROM aws.network_firewall.rule_group_metadatas
WHERE region = '{{ region }}' -- required
;