aws-cdk-lib.aws_networkfirewall.CfnFirewallPolicy.StatefulRuleGroupReferenceProperty

interface StatefulRuleGroupReferenceProperty

LanguageType name
.NETAmazon.CDK.AWS.NetworkFirewall.CfnFirewallPolicy.StatefulRuleGroupReferenceProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsnetworkfirewall#CfnFirewallPolicy_StatefulRuleGroupReferenceProperty
Javasoftware.amazon.awscdk.services.networkfirewall.CfnFirewallPolicy.StatefulRuleGroupReferenceProperty
Pythonaws_cdk.aws_networkfirewall.CfnFirewallPolicy.StatefulRuleGroupReferenceProperty
TypeScript aws-cdk-lib » aws_networkfirewall » CfnFirewallPolicy » StatefulRuleGroupReferenceProperty

Identifier for a single stateful rule group, used in a firewall policy to refer to a rule group.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_networkfirewall as networkfirewall } from 'aws-cdk-lib';
const statefulRuleGroupReferenceProperty: networkfirewall.CfnFirewallPolicy.StatefulRuleGroupReferenceProperty = {
  resourceArn: 'resourceArn',

  // the properties below are optional
  override: {
    action: 'action',
  },
  priority: 123,
};

Properties

NameTypeDescription
resourceArnstringThe Amazon Resource Name (ARN) of the stateful rule group.
override?IResolvable | StatefulRuleGroupOverridePropertyThe action that allows the policy owner to override the behavior of the rule group within a policy.
priority?numberAn integer setting that indicates the order in which to run the stateful rule groups in a single FirewallPolicy .

resourceArn

Type: string

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


override?

Type: IResolvable | StatefulRuleGroupOverrideProperty (optional)

The action that allows the policy owner to override the behavior of the rule group within a policy.


priority?

Type: number (optional)

An integer setting that indicates the order in which to run the stateful rule groups in a single FirewallPolicy .

This setting only applies to firewall policies that specify the STRICT_ORDER rule order in the stateful engine options settings.

Network Firewall evalutes each stateful rule group against a packet starting with the group that has the lowest priority setting. You must ensure that the priority settings are unique within each policy.

You can change the priority settings of your rule groups at any time. To make it easier to insert rule groups later, number them so there's a wide range in between, for example use 100, 200, and so on.