CfnRuleGroupProps

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

Bases: object

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

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.

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

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

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

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

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

Return type

None

Attributes

capacity

AWS::WAFv2::RuleGroup.Capacity.

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

Return type

Union[int, float]

description

AWS::WAFv2::RuleGroup.Description.

see :see: 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.

see :see: 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.

see :see: 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.

see :see: 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.

see :see: 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.

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

Return type

Union[IResolvable, VisibilityConfigProperty]