CfnWebACLProps

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

Bases: object

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

Parameters
Link

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

Attributes

custom_response_bodies

AWS::WAFv2::WebACL.CustomResponseBodies.

Link

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

Return type

Union[IResolvable, Mapping[str, Union[IResolvable, CustomResponseBodyProperty]], None]

default_action

AWS::WAFv2::WebACL.DefaultAction.

Link

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.

Link

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.

Link

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.

Link

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.

Link

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.

Link

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.

Link

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

Return type

Union[IResolvable, VisibilityConfigProperty]