WebAclRuleState constructor
- Input<
WebAclRuleAction?> ? action, - Input<
WebAclRuleCaptchaConfig?> ? captchaConfig, - Input<
WebAclRuleChallengeConfig?> ? challengeConfig, - Input<
String?> ? name, - Input<
WebAclRuleOverrideAction?> ? overrideAction, - Input<
int?> ? priority, - Input<
String?> ? region, - Input<
List< ? ruleLabels,WebAclRuleRuleLabel> ?> - Input<
WebAclRuleStatement?> ? statement, - Input<
WebAclRuleTimeouts?> ? timeouts, - Input<
WebAclRuleVisibilityConfig?> ? visibilityConfig, - Input<
String?> ? webAclArn,
Creates a new WebAclRuleState.
action Action to take when the rule matches. See Action below. Conflicts with overrideAction.
captchaConfig CAPTCHA configuration that overrides the web ACL level setting. See Captcha Config below.
challengeConfig Challenge configuration that overrides the web ACL level setting. See Challenge Config below.
name Name of the rule. Must be unique within the Web ACL.
overrideAction Override action for managed rule groups. See Override Action below. Conflicts with action.
priority Rule priority. Rules with lower priority are evaluated first.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
ruleLabels Labels to apply to matching web requests. See Rule Label below.
statement Rule statement. See Statement below.
timeouts Optional.
visibilityConfig CloudWatch metrics configuration. See Visibility Config below.
webAclArn ARN of the Web ACL to add the rule to.
Implementation
const WebAclRuleState({
this.action,
this.captchaConfig,
this.challengeConfig,
this.name,
this.overrideAction,
this.priority,
this.region,
this.ruleLabels,
this.statement,
this.timeouts,
this.visibilityConfig,
this.webAclArn,
});