@Stability(value=Stable) public static final class CfnRuleGroup.Builder extends Object implements software.amazon.jsii.Builder<CfnRuleGroup>
CfnRuleGroup.| Modifier and Type | Method and Description |
|---|---|
CfnRuleGroup |
build() |
CfnRuleGroup.Builder |
capacity(Number capacity)
The maximum operating resources that this rule group can use.
|
static CfnRuleGroup.Builder |
create(software.constructs.Construct scope,
String id) |
CfnRuleGroup.Builder |
description(String description)
A description of the rule group.
|
CfnRuleGroup.Builder |
ruleGroup(CfnRuleGroup.RuleGroupProperty ruleGroup)
An object that defines the rule group rules.
|
CfnRuleGroup.Builder |
ruleGroup(IResolvable ruleGroup)
An object that defines the rule group rules.
|
CfnRuleGroup.Builder |
ruleGroupName(String ruleGroupName)
The descriptive name of the rule group.
|
CfnRuleGroup.Builder |
tags(List<? extends CfnTag> tags)
An array of key-value pairs to apply to this resource.
|
CfnRuleGroup.Builder |
type(String type)
Indicates whether the rule group is stateless or stateful.
|
@Stability(value=Stable) public static CfnRuleGroup.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnRuleGroup.ActionDefinitionProperty.Builder.@Stability(value=Stable) public CfnRuleGroup.Builder capacity(Number capacity)
You can't change a rule group's capacity setting after you create the rule group. When you update a rule group, you are limited to this capacity. When you reference a rule group from a firewall policy, Network Firewall reserves this capacity for the rule group.
capacity - The maximum operating resources that this rule group can use. This parameter is required.this@Stability(value=Stable) public CfnRuleGroup.Builder ruleGroupName(String ruleGroupName)
You can't change the name of a rule group after you create it.
ruleGroupName - The descriptive name of the rule group. This parameter is required.this@Stability(value=Stable) public CfnRuleGroup.Builder type(String type)
If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules.
type - Indicates whether the rule group is stateless or stateful. This parameter is required.this@Stability(value=Stable) public CfnRuleGroup.Builder description(String description)
description - A description of the rule group. This parameter is required.this@Stability(value=Stable) public CfnRuleGroup.Builder ruleGroup(CfnRuleGroup.RuleGroupProperty ruleGroup)
ruleGroup - An object that defines the rule group rules. This parameter is required.this@Stability(value=Stable) public CfnRuleGroup.Builder ruleGroup(IResolvable ruleGroup)
ruleGroup - An object that defines the rule group rules. This parameter is required.this@Stability(value=Stable) public CfnRuleGroup.Builder tags(List<? extends CfnTag> tags)
For more information, see Tag .
tags - An array of key-value pairs to apply to this resource. This parameter is required.this@Stability(value=Stable) public CfnRuleGroup build()
build in interface software.amazon.jsii.Builder<CfnRuleGroup>Copyright © 2022. All rights reserved.