Add-VSWAFv2WebACLRuleAction

Add-VSWAFv2WebACLRuleAction

SYNOPSIS

Adds an AWS::WAFv2::WebACL.RuleAction resource property to the template. Note

SYNTAX

Add-VSWAFv2WebACLRuleAction [[-Allow] <Object>] [[-Block] <Object>] [[-Count] <Object>] [<CommonParameters>]

DESCRIPTION

Adds an AWS::WAFv2::WebACL.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-webacl-ruleaction.html#cfn-wafv2-webacl-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-webacl-ruleaction.html#cfn-wafv2-webacl-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-webacl-ruleaction.html#cfn-wafv2-webacl-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.

INPUTS

OUTPUTS

Vaporshell.Resource.WAFv2.WebACL.RuleAction

NOTES

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