# FirewallRuleTypeProperty

Firewall rule type union.

Exactly one member must be set. Mutually exclusive with FirewallDomainListId and DnsThreatProtection/ConfidenceThreshold.

- Source: Generated code
- Type last changed: v2.262.0 · 22 Jul 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_route53resolver as route53resolver } from 'aws-cdk-lib';
const firewallRuleTypeProperty: route53resolver.CfnFirewallRuleGroup.FirewallRuleTypeProperty = {
  firewallAdvancedContentCategory: {
    category: 'category',
  },
  firewallAdvancedThreatCategory: {
    category: 'category',
  },
  partnerThreatProtection: {
    partner: 'partner',
  },
};
```

## Properties

- `firewallAdvancedContentCategory`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFirewallRuleGroup.FirewallAdvancedContentCategoryConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_route53resolver.CfnFirewallRuleGroup.FirewallAdvancedContentCategoryConfigProperty.html) — Configuration for an advanced content category rule type.

- `firewallAdvancedThreatCategory`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFirewallRuleGroup.FirewallAdvancedThreatCategoryConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_route53resolver.CfnFirewallRuleGroup.FirewallAdvancedThreatCategoryConfigProperty.html) — Configuration for an advanced threat category rule type.

- `partnerThreatProtection`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFirewallRuleGroup.PartnerThreatProtectionConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_route53resolver.CfnFirewallRuleGroup.PartnerThreatProtectionConfigProperty.html) — Configuration for a partner threat protection rule type.
