CfnRateBasedRuleProps

class aws_cdk.aws_wafregional.CfnRateBasedRuleProps(*, metric_name, name, rate_key, rate_limit, match_predicates=None)

Bases: object

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

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

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

  • rate_key (str) – AWS::WAFRegional::RateBasedRule.RateKey.

  • rate_limit (Union[int, float]) – AWS::WAFRegional::RateBasedRule.RateLimit.

  • match_predicates (Union[IResolvable, List[Union[IResolvable, PredicateProperty]], None]) – AWS::WAFRegional::RateBasedRule.MatchPredicates.

See

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

Attributes

match_predicates

AWS::WAFRegional::RateBasedRule.MatchPredicates.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-ratebasedrule.html#cfn-wafregional-ratebasedrule-matchpredicates

Return type

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

metric_name

AWS::WAFRegional::RateBasedRule.MetricName.

See

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

Return type

str

name

AWS::WAFRegional::RateBasedRule.Name.

See

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

Return type

str

rate_key

AWS::WAFRegional::RateBasedRule.RateKey.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-ratebasedrule.html#cfn-wafregional-ratebasedrule-ratekey

Return type

str

rate_limit

AWS::WAFRegional::RateBasedRule.RateLimit.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-ratebasedrule.html#cfn-wafregional-ratebasedrule-ratelimit

Return type

Union[int, float]