> **Experimental**
>
> `@aws-cdk/aws-route53resolver-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# FirewallRuleGroupAssociationOptions

Options for a Firewall Rule Group Association.

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/firewall-rule-group-association.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/@aws-cdk/aws-route53resolver-alpha/lib/firewall-rule-group-association.ts#L13)

## Example

TypeScript:

```ts
import * as ec2 from 'aws-cdk-lib/aws-ec2';

declare const ruleGroup: route53resolver.FirewallRuleGroup;
declare const myVpc: ec2.Vpc;

ruleGroup.associate('Association', {
  priority: 101,
  vpc: myVpc,
})
```

Python:

```python
import aws_cdk.aws_ec2 as ec2

# rule_group: route53resolver.FirewallRuleGroup
# my_vpc: ec2.Vpc

rule_group.associate("Association",
    priority=101,
    vpc=my_vpc
)
```

Java:

```java
import software.amazon.awscdk.services.ec2.*;

FirewallRuleGroup ruleGroup;
Vpc myVpc;

ruleGroup.associate("Association", FirewallRuleGroupAssociationOptions.builder()
        .priority(101)
        .vpc(myVpc)
        .build());
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.Route53Resolver.Alpha
using Amazon.CDK.AWS.EC2;

FirewallRuleGroup ruleGroup;
Vpc myVpc;

ruleGroup.Associate("Association", new FirewallRuleGroupAssociationOptions {
    Priority = 101,
    Vpc = myVpc
});
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdkroute53resolveralpha/v2
import ec2 "github.com/aws/aws-cdk-go/awscdk"

var ruleGroup FirewallRuleGroup
var myVpc Vpc

ruleGroup.Associate(jsii.String("Association"), &FirewallRuleGroupAssociationOptions{
	Priority: jsii.Number(101),
	Vpc: myVpc,
})
```

## Properties

- `mutationProtection`: boolean — If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections.

  **Default:** mutation protection is disabled; the association can be modified or removed

  Note that mutation protection also blocks CloudFormation from updating or
  deleting the association, so leave it disabled for associations whose
  lifecycle is managed by this stack.

- `name`: string — The name of the association.

  **Default:** a CloudFormation generated name

- `priority`: number (required) — The setting that determines the processing order of the rule group among the rule groups that are associated with a single VPC.

  DNS Firewall filters VPC
  traffic starting from rule group with the lowest numeric priority setting.

  This value must be greater than 100 and less than 9,000

- `vpc`: [IVpc](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.IVpc.html) (required) — The VPC that to associate with the rule group.
