StatefulRuleGroupReferenceProperty Struct
Identifier for a single stateful rule group, used in a firewall policy to refer to a rule group.
| Source | |
|---|---|
| Type last changed |
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
deepThreatInspection: false,
override: {
action: 'action',
},
priority: 123,
};
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_networkfirewall as networkfirewall
stateful_rule_group_reference_property = networkfirewall.CfnFirewallPolicy.StatefulRuleGroupReferenceProperty(
resource_arn="resourceArn",
# the properties below are optional
deep_threat_inspection=False,
override=networkfirewall.CfnFirewallPolicy.StatefulRuleGroupOverrideProperty(
action="action"
),
priority=123
)
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.networkfirewall.*;
StatefulRuleGroupReferenceProperty statefulRuleGroupReferenceProperty = StatefulRuleGroupReferenceProperty.builder()
.resourceArn("resourceArn")
// the properties below are optional
.deepThreatInspection(false)
.override(StatefulRuleGroupOverrideProperty.builder()
.action("action")
.build())
.priority(123)
.build();
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.NetworkFirewall;
var statefulRuleGroupReferenceProperty = new StatefulRuleGroupReferenceProperty {
ResourceArn = "resourceArn",
// the properties below are optional
DeepThreatInspection = false,
Override = new StatefulRuleGroupOverrideProperty {
Action = "action"
},
Priority = 123
};
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
statefulRuleGroupReferenceProperty := &StatefulRuleGroupReferenceProperty{
ResourceArn: jsii.String("resourceArn"),
// the properties below are optional
DeepThreatInspection: jsii.Boolean(false),
Override: &StatefulRuleGroupOverrideProperty{
Action: jsii.String("action"),
},
Priority: jsii.Number(123),
}
Properties
deepThreatInspectionoptionalboolean | IResolvabledeep_threat_inspectionoptionaltyping.Union[bool, IResolvable]deepThreatInspectionoptionalBooleanDeepThreatInspectionoptionalboolDeepThreatInspectionoptionalinterface{} #notes
When this capability is released, AWS will analyze service logs of network traffic processed by these rule groups to identify threat indicators across customers. AWS will use these threat indicators to improve the active threat defense managed rule groups and protect the security of AWS customers and services.
Customers can opt-out of deep threat inspection at any time through the AWS Network Firewall console or API. When customers opt out, AWS Network Firewall will not use the network traffic processed by those customers' active threat defense rule groups for rule group improvement.
overrideoptionalIResolvable | CfnFirewallPolicy.overrideoptionaltyping.Union[IResolvable, StatefulRuleGroupOverrideProperty]overrideoptionalIResolvableOverrideoptionalIResolvableOverrideoptionalinterface{} #priorityoptionalnumberpriorityoptionalint | floatpriorityoptionalNumberPriorityoptionaldoublePriorityoptional*float64 #notes
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.