Skip to content

DeleteRuleGroupRequest

Source code in docs_src/capo_network_firewall/types/delete_rule_group_request.py
class DeleteRuleGroupRequest(TypedDict, closed=True):
    rule_group_name: NotRequired[
        "capo_network_firewall.types.resource_name.ResourceName"
    ]
    """<p>The descriptive name of the rule group. You can't change the name of a rule group after you create it.</p> <p>You must specify the ARN or the name, and you can specify both. </p>"""
    rule_group_arn: NotRequired["capo_network_firewall.types.resource_arn.ResourceArn"]
    """<p>The Amazon Resource Name (ARN) of the rule group.</p> <p>You must specify the ARN or the name, and you can specify both. </p>"""
    type: NotRequired["capo_network_firewall.types.rule_group_type.RuleGroupType"]
    """<p>Indicates the type of the rule group. Valid values are:</p> <ul> <li> <p> <code>STATELESS</code> - Stateless rules, for use in a Classic Network Firewall policy.</p> </li> <li> <p> <code>STATEFUL</code> - Stateful rules, for use in a Classic Network Firewall policy.</p> </li> <li> <p> <code>FIREWALL</code> - Firewall engine rules, for use in a Next Generation policy.</p> </li> <li> <p> <code>IPS</code> - IPS engine rules, for use in a Next Generation policy.</p> </li> </ul> <note> <p>This setting is required for requests that do not include the <code>RuleGroupARN</code>.</p> </note>"""

rule_group_arn instance-attribute

rule_group_arn: NotRequired[ResourceArn]

The Amazon Resource Name (ARN) of the rule group.

You must specify the ARN or the name, and you can specify both.

rule_group_name instance-attribute

rule_group_name: NotRequired[ResourceName]

The 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.

type instance-attribute

type: NotRequired[RuleGroupType]

Indicates the type of the rule group. Valid values are:

  • STATELESS - Stateless rules, for use in a Classic Network Firewall policy.

  • STATEFUL - Stateful rules, for use in a Classic Network Firewall policy.

  • FIREWALL - Firewall engine rules, for use in a Next Generation policy.

  • IPS - IPS engine rules, for use in a Next Generation policy.

This setting is required for requests that do not include the RuleGroupARN.