CfnWebACLProps

class aws_cdk.aws_wafregional.CfnWebACLProps(*, default_action, metric_name, name, rules=None)

Bases: object

__init__(*, default_action, metric_name, name, rules=None)

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

Parameters
  • default_action (Union[ActionProperty, IResolvable]) – AWS::WAFRegional::WebACL.DefaultAction.

  • metric_name (str) – AWS::WAFRegional::WebACL.MetricName.

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

  • rules (Union[IResolvable, None, List[Union[IResolvable, RuleProperty]]]) – AWS::WAFRegional::WebACL.Rules.

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

Return type

None

Attributes

default_action

AWS::WAFRegional::WebACL.DefaultAction.

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

Return type

Union[ActionProperty, IResolvable]

metric_name

AWS::WAFRegional::WebACL.MetricName.

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

Return type

str

name

AWS::WAFRegional::WebACL.Name.

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

Return type

str

rules

AWS::WAFRegional::WebACL.Rules.

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

Return type

Union[IResolvable, None, List[Union[IResolvable, RuleProperty]]]