@Stability(value=Stable) public static final class CfnRuleGroup.StatelessRuleProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnRuleGroup.StatelessRuleProperty>
CfnRuleGroup.StatelessRuleProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnRuleGroup.StatelessRuleProperty |
build()
Builds the configured instance.
|
CfnRuleGroup.StatelessRuleProperty.Builder |
priority(Number priority)
Sets the value of
CfnRuleGroup.StatelessRuleProperty.getPriority() |
CfnRuleGroup.StatelessRuleProperty.Builder |
ruleDefinition(CfnRuleGroup.RuleDefinitionProperty ruleDefinition)
Sets the value of
CfnRuleGroup.StatelessRuleProperty.getRuleDefinition() |
CfnRuleGroup.StatelessRuleProperty.Builder |
ruleDefinition(IResolvable ruleDefinition)
Sets the value of
CfnRuleGroup.StatelessRuleProperty.getRuleDefinition() |
@Stability(value=Stable) public CfnRuleGroup.StatelessRuleProperty.Builder priority(Number priority)
CfnRuleGroup.StatelessRuleProperty.getPriority()priority - Indicates the order in which to run this rule relative to all of the rules that are defined for a stateless rule group. This parameter is required.
Network Firewall evaluates the rules in a rule group starting with the lowest priority setting. You must ensure that the priority settings are unique for the rule group.
Each stateless rule group uses exactly one StatelessRulesAndCustomActions object, and each StatelessRulesAndCustomActions contains exactly one StatelessRules object. To ensure unique priority settings for your rule groups, set unique priorities for the stateless rules that you define inside any single StatelessRules object.
You can change the priority settings of your rules at any time. To make it easier to insert rules later, number them so there's a wide range in between, for example use 100, 200, and so on.
this@Stability(value=Stable) public CfnRuleGroup.StatelessRuleProperty.Builder ruleDefinition(CfnRuleGroup.RuleDefinitionProperty ruleDefinition)
CfnRuleGroup.StatelessRuleProperty.getRuleDefinition()ruleDefinition - Defines the stateless 5-tuple packet inspection criteria and the action to take on a packet that matches the criteria. This parameter is required.this@Stability(value=Stable) public CfnRuleGroup.StatelessRuleProperty.Builder ruleDefinition(IResolvable ruleDefinition)
CfnRuleGroup.StatelessRuleProperty.getRuleDefinition()ruleDefinition - Defines the stateless 5-tuple packet inspection criteria and the action to take on a packet that matches the criteria. This parameter is required.this@Stability(value=Stable) public CfnRuleGroup.StatelessRuleProperty build()
build in interface software.amazon.jsii.Builder<CfnRuleGroup.StatelessRuleProperty>CfnRuleGroup.StatelessRulePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.