StatelessRuleGroupReferenceProperty Struct
Identifier for a single stateless rule group, used in a firewall policy to refer to the rule group.
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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 statelessRuleGroupReferenceProperty: networkfirewall.CfnFirewallPolicy.StatelessRuleGroupReferenceProperty = {
priority: 123,
resourceArn: 'resourceArn',
};
python
# 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
stateless_rule_group_reference_property = networkfirewall.CfnFirewallPolicy.StatelessRuleGroupReferenceProperty(
priority=123,
resource_arn="resourceArn"
)
java
// 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.*;
StatelessRuleGroupReferenceProperty statelessRuleGroupReferenceProperty = StatelessRuleGroupReferenceProperty.builder()
.priority(123)
.resourceArn("resourceArn")
.build();
csharp
// 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 statelessRuleGroupReferenceProperty = new StatelessRuleGroupReferenceProperty {
Priority = 123,
ResourceArn = "resourceArn"
};
go
// 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"
statelessRuleGroupReferenceProperty := &StatelessRuleGroupReferenceProperty{
Priority: jsii.Number(123),
ResourceArn: jsii.String("resourceArn"),
}
Properties
An integer setting that indicates the order in which to run the stateless rule groups in a single firewall policy.
Network Firewall applies each stateless rule group to a packet starting with the group that has the lowest priority setting. You must ensure that the priority settings are unique within each policy.
The Amazon Resource Name (ARN) of the stateless rule group.