Class CfnFirewallRuleGroupAssociation.Builder

java.lang.Object
software.amazon.awscdk.services.route53resolver.CfnFirewallRuleGroupAssociation.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFirewallRuleGroupAssociation>
Enclosing class:
CfnFirewallRuleGroupAssociation

@Stability(Stable) public static final class CfnFirewallRuleGroupAssociation.Builder extends Object implements software.amazon.jsii.Builder<CfnFirewallRuleGroupAssociation>
A fluent builder for CfnFirewallRuleGroupAssociation.
  • Method Details

    • create

      @Stability(Stable) public static CfnFirewallRuleGroupAssociation.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnFirewallRuleGroupAssociation.Builder.
    • firewallRuleGroupId

      @Stability(Stable) public CfnFirewallRuleGroupAssociation.Builder firewallRuleGroupId(String firewallRuleGroupId)
      The unique identifier of the firewall rule group.

      Parameters:
      firewallRuleGroupId - The unique identifier of the firewall rule group. This parameter is required.
      Returns:
      this
    • priority

      @Stability(Stable) public CfnFirewallRuleGroupAssociation.Builder priority(Number priority)
      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).

      Parameters:
      priority - The setting that determines the processing order of the rule group among the rule groups that are associated with a single VPC. This parameter is required.
      Returns:
      this
    • vpcId

      @Stability(Stable) public CfnFirewallRuleGroupAssociation.Builder vpcId(String vpcId)
      The unique identifier of the VPC that is associated with the rule group.

      Parameters:
      vpcId - The unique identifier of the VPC that is associated with the rule group. This parameter is required.
      Returns:
      this
    • mutationProtection

      @Stability(Stable) public CfnFirewallRuleGroupAssociation.Builder mutationProtection(String mutationProtection)
      If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections.

      Parameters:
      mutationProtection - If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnFirewallRuleGroupAssociation.Builder name(String name)
      The name of the association.

      Parameters:
      name - The name of the association. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnFirewallRuleGroupAssociation.Builder tags(List<? extends CfnTag> tags)
      A list of the tag keys and values that you want to associate with the rule group.

      Parameters:
      tags - A list of the tag keys and values that you want to associate with the rule group. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnFirewallRuleGroupAssociation build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnFirewallRuleGroupAssociation>
      Returns:
      a newly built instance of CfnFirewallRuleGroupAssociation.