CfnRuleGroupProps

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

Bases: object

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

Parameters
  • capacity (Union[int, float]) – AWS::WAFv2::RuleGroup.Capacity.

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

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

  • custom_response_bodies (Union[IResolvable, Mapping[str, Union[IResolvable, CustomResponseBodyProperty]], None]) – AWS::WAFv2::RuleGroup.CustomResponseBodies.

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

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

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

  • tags (Optional[Sequence[CfnTag]]) – AWS::WAFv2::RuleGroup.Tags.

Link

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

Attributes

capacity

AWS::WAFv2::RuleGroup.Capacity.

Link

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

Return type

Union[int, float]

custom_response_bodies

AWS::WAFv2::RuleGroup.CustomResponseBodies.

Link

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

Return type

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

description

AWS::WAFv2::RuleGroup.Description.

Link

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

Return type

Optional[str]

name

AWS::WAFv2::RuleGroup.Name.

Link

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

Return type

Optional[str]

rules

AWS::WAFv2::RuleGroup.Rules.

Link

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

Return type

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

scope

AWS::WAFv2::RuleGroup.Scope.

Link

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

Return type

str

tags

AWS::WAFv2::RuleGroup.Tags.

Link

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

Return type

Optional[List[CfnTag]]

visibility_config

AWS::WAFv2::RuleGroup.VisibilityConfig.

Link

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

Return type

Union[IResolvable, VisibilityConfigProperty]