CfnWebACLProps

class aws_cdk.aws_wafv2.CfnWebACLProps(*, default_action, scope, visibility_config, description=None, name=None, rules=None, tags=None)

Bases: object

__init__(*, default_action, scope, visibility_config, description=None, name=None, rules=None, tags=None)

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

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

  • scope (str) – AWS::WAFv2::WebACL.Scope.

  • visibility_config (Union[IResolvable, VisibilityConfigProperty]) – AWS::WAFv2::WebACL.VisibilityConfig.

  • description (Optional[str]) – AWS::WAFv2::WebACL.Description.

  • name (Optional[str]) – AWS::WAFv2::WebACL.Name.

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

  • tags (Optional[List[CfnTag]]) – AWS::WAFv2::WebACL.Tags.

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

Return type

None

Attributes

default_action

AWS::WAFv2::WebACL.DefaultAction.

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

Return type

Union[DefaultActionProperty, IResolvable]

description

AWS::WAFv2::WebACL.Description.

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

Return type

Optional[str]

name

AWS::WAFv2::WebACL.Name.

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

Return type

Optional[str]

rules

AWS::WAFv2::WebACL.Rules.

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

Return type

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

scope

AWS::WAFv2::WebACL.Scope.

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

Return type

str

tags

AWS::WAFv2::WebACL.Tags.

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

Return type

Optional[List[CfnTag]]

visibility_config

AWS::WAFv2::WebACL.VisibilityConfig.

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

Return type

Union[IResolvable, VisibilityConfigProperty]