# StatelessRuleGroupReferenceProperty

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

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `priority`: number (required) — 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.

- `resourceArn`: string (required) — The Amazon Resource Name (ARN) of the stateless rule group.
