public static final class CfnFirewallRuleGroupAssociation.Builder
extends java.lang.Object
CfnFirewallRuleGroupAssociation
.Modifier and Type | Method and Description |
---|---|
CfnFirewallRuleGroupAssociation |
build() |
static CfnFirewallRuleGroupAssociation.Builder |
create(Construct scope,
java.lang.String id) |
CfnFirewallRuleGroupAssociation.Builder |
firewallRuleGroupId(java.lang.String firewallRuleGroupId)
The unique identifier of the firewall rule group.
|
CfnFirewallRuleGroupAssociation.Builder |
mutationProtection(java.lang.String mutationProtection)
If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections.
|
CfnFirewallRuleGroupAssociation.Builder |
name(java.lang.String name)
The name of the association.
|
CfnFirewallRuleGroupAssociation.Builder |
priority(java.lang.Number priority)
The setting that determines the processing order of the rule group among the rule groups that are associated with a single VPC.
|
CfnFirewallRuleGroupAssociation.Builder |
tags(java.util.List<? extends CfnTag> tags)
A list of the tag keys and values that you want to associate with the rule group.
|
CfnFirewallRuleGroupAssociation.Builder |
vpcId(java.lang.String vpcId)
The unique identifier of the VPC that is associated with the rule group.
|
public static CfnFirewallRuleGroupAssociation.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnFirewallRuleGroupAssociation.Builder
.public CfnFirewallRuleGroupAssociation.Builder firewallRuleGroupId(java.lang.String firewallRuleGroupId)
firewallRuleGroupId
- The unique identifier of the firewall rule group. This parameter is required.this
public CfnFirewallRuleGroupAssociation.Builder priority(java.lang.Number priority)
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).
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.this
public CfnFirewallRuleGroupAssociation.Builder vpcId(java.lang.String vpcId)
vpcId
- The unique identifier of the VPC that is associated with the rule group. This parameter is required.this
public CfnFirewallRuleGroupAssociation.Builder mutationProtection(java.lang.String mutationProtection)
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.this
public CfnFirewallRuleGroupAssociation.Builder name(java.lang.String name)
name
- The name of the association. This parameter is required.this
public CfnFirewallRuleGroupAssociation.Builder tags(java.util.List<? extends CfnTag> tags)
tags
- A list of the tag keys and values that you want to associate with the rule group. This parameter is required.this
public CfnFirewallRuleGroupAssociation build()