Class FirewallRuleGroupAssociation.Builder

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

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

    • create

      @Stability(Experimental) public static FirewallRuleGroupAssociation.Builder create(software.constructs.Construct scope, String id)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      Returns:
      a new instance of FirewallRuleGroupAssociation.Builder.
    • priority

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

      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
    • vpc

      @Stability(Experimental) public FirewallRuleGroupAssociation.Builder vpc(IVpc vpc)
      (experimental) The VPC that to associate with the rule group.

      Parameters:
      vpc - The VPC that to associate with the rule group. This parameter is required.
      Returns:
      this
    • mutationProtection

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

      Default: true

      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(Experimental) public FirewallRuleGroupAssociation.Builder name(String name)
      (experimental) The name of the association.

      Default: - a CloudFormation generated name

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

      @Stability(Experimental) public FirewallRuleGroupAssociation.Builder firewallRuleGroup(IFirewallRuleGroup firewallRuleGroup)
      (experimental) The firewall rule group which must be associated.

      Parameters:
      firewallRuleGroup - The firewall rule group which must be associated. This parameter is required.
      Returns:
      this
    • build

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