Add-VSWAFv2RuleGroupRuleAction
Add-VSWAFv2RuleGroupRuleAction
SYNOPSIS
Adds an AWS::WAFv2::RuleGroup.RuleAction resource property to the template. Note
SYNTAX
Add-VSWAFv2RuleGroupRuleAction [[-Allow] <Object>] [[-Block] <Object>] [[-Count] <Object>] [<CommonParameters>]
DESCRIPTION
Adds an AWS::WAFv2::RuleGroup.RuleAction resource property to the template. Note
This is the latest version of AWS WAF, named AWS WAFV2, released in November, 2019. For information, including how to migrate your AWS WAF resources from the prior release, see the AWS WAF Developer Guide: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html.
The action that AWS WAF should take on a web request when it matches a rule’s statement. Settings at the web ACL level can override the rule action setting.
PARAMETERS
-Allow
Instructs AWS WAF to allow the web request.
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-ruleaction.html#cfn-wafv2-rulegroup-ruleaction-allow UpdateType: Mutable PrimitiveType: Json
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Block
Instructs AWS WAF to block the web request.
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-ruleaction.html#cfn-wafv2-rulegroup-ruleaction-block UpdateType: Mutable PrimitiveType: Json
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Count
Instructs AWS WAF to count the web request and allow it.
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-ruleaction.html#cfn-wafv2-rulegroup-ruleaction-count UpdateType: Mutable PrimitiveType: Json
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.