CfnRuleProps

class aws_cdk.aws_wafregional.CfnRuleProps(*, metric_name, name, predicates=None)

Bases: object

__init__(*, metric_name, name, predicates=None)

Properties for defining a AWS::WAFRegional::Rule.

Parameters
  • metric_name (str) – AWS::WAFRegional::Rule.MetricName.

  • name (str) – AWS::WAFRegional::Rule.Name.

  • predicates (Union[IResolvable, List[Union[IResolvable, PredicateProperty]], None]) – AWS::WAFRegional::Rule.Predicates.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-rule.html

Return type

None

Attributes

metric_name

AWS::WAFRegional::Rule.MetricName.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-rule.html#cfn-wafregional-rule-metricname

Return type

str

name

AWS::WAFRegional::Rule.Name.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-rule.html#cfn-wafregional-rule-name

Return type

str

predicates

AWS::WAFRegional::Rule.Predicates.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-rule.html#cfn-wafregional-rule-predicates

Return type

Union[IResolvable, List[Union[IResolvable, PredicateProperty]], None]