Interface FirewallRuleGroupAssociationOptions

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
FirewallRuleGroupAssociationProps
All Known Implementing Classes:
FirewallRuleGroupAssociationOptions.Jsii$Proxy, FirewallRuleGroupAssociationProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-17T14:54:16.057Z") @Stability(Experimental) public interface FirewallRuleGroupAssociationOptions extends software.amazon.jsii.JsiiSerializable
(experimental) Options for a Firewall Rule Group Association.

Example:

 import software.amazon.awscdk.services.ec2.*;
 FirewallRuleGroup ruleGroup;
 Vpc myVpc;
 ruleGroup.associate("Association", FirewallRuleGroupAssociationOptions.builder()
         .priority(101)
         .vpc(myVpc)
         .build());
 
  • Method Details

    • getPriority

      @Stability(Experimental) @NotNull Number getPriority()
      (experimental) 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

    • getVpc

      @Stability(Experimental) @NotNull IVpc getVpc()
      (experimental) The VPC that to associate with the rule group.
    • getMutationProtection

      @Stability(Experimental) @Nullable default Boolean getMutationProtection()
      (experimental) If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections.

      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.

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

    • getName

      @Stability(Experimental) @Nullable default String getName()
      (experimental) The name of the association.

      Default: - a CloudFormation generated name

    • builder

      @Stability(Experimental) static FirewallRuleGroupAssociationOptions.Builder builder()
      Returns:
      a FirewallRuleGroupAssociationOptions.Builder of FirewallRuleGroupAssociationOptions