CfnWebACLProps

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

Bases: object

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

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

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

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

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

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

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

Attributes

default_action

AWS::WAF::WebACL.DefaultAction.

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

Return type

Union[WafActionProperty, IResolvable]

metric_name

AWS::WAF::WebACL.MetricName.

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

Return type

str

name

AWS::WAF::WebACL.Name.

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

Return type

str

rules

AWS::WAF::WebACL.Rules.

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

Return type

Union[IResolvable, None, List[Union[IResolvable, ActivatedRuleProperty]]]