Interface CfnFirewallRuleGroupAssociationProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnFirewallRuleGroupAssociationProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:40.362Z") @Stability(Stable) public interface CfnFirewallRuleGroupAssociationProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnFirewallRuleGroupAssociation.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.route53resolver.*;
 CfnFirewallRuleGroupAssociationProps cfnFirewallRuleGroupAssociationProps = CfnFirewallRuleGroupAssociationProps.builder()
         .firewallRuleGroupId("firewallRuleGroupId")
         .priority(123)
         .vpcId("vpcId")
         // the properties below are optional
         .mutationProtection("mutationProtection")
         .name("name")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Method Details

    • getFirewallRuleGroupId

      @Stability(Stable) @NotNull String getFirewallRuleGroupId()
      The unique identifier of the firewall rule group.
    • getPriority

      @Stability(Stable) @NotNull Number getPriority()
      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.

      You must specify a unique priority for each rule group that you associate with a single VPC. To make it easier to insert rule groups later, leave space between the numbers, for example, use 101, 200, and so on. You can change the priority setting for a rule group association after you create it.

      The allowed values for Priority are between 100 and 9900 (excluding 100 and 9900).

    • getVpcId

      @Stability(Stable) @NotNull String getVpcId()
      The unique identifier of the VPC that is associated with the rule group.
    • getMutationProtection

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

      @Stability(Stable) @Nullable default String getName()
      The name of the association.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      A list of the tag keys and values that you want to associate with the rule group.
    • builder

      @Stability(Stable) static CfnFirewallRuleGroupAssociationProps.Builder builder()
      Returns:
      a CfnFirewallRuleGroupAssociationProps.Builder of CfnFirewallRuleGroupAssociationProps