Show / Hide Table of Contents

Class CfnWebACL.WafActionProperty

This is AWS WAF Classic documentation.

Inheritance
System.Object
CfnWebACL.WafActionProperty
Implements
CfnWebACL.IWafActionProperty
Namespace: Amazon.CDK.AWS.WAF
Assembly: Amazon.CDK.AWS.WAF.dll
Syntax (csharp)
public class WafActionProperty : Object, CfnWebACL.IWafActionProperty
Syntax (vb)
Public Class WafActionProperty
    Inherits Object
    Implements CfnWebACL.IWafActionProperty
Remarks

For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF , use the AWS WAF V2 API and see the AWS WAF Developer Guide . With the latest version, AWS WAF has a single set of endpoints for regional and global use.

For the action that is associated with a rule in a WebACL , specifies the action that you want AWS WAF to perform when a web request matches all of the conditions in a rule. For the default action in a WebACL , specifies the action that you want AWS WAF to take when a web request doesn't match all of the conditions in any of the rules in a WebACL .

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-webacl-action.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.WAF;

var wafActionProperty = new WafActionProperty {
    Type = "type"
};

Synopsis

Constructors

WafActionProperty()

Properties

Type

Specifies how you want AWS WAF to respond to requests that match the settings in a Rule .

Constructors

WafActionProperty()

public WafActionProperty()

Properties

Type

Specifies how you want AWS WAF to respond to requests that match the settings in a Rule .

public string Type { get; set; }
Property Value

System.String

Remarks

Valid settings include the following:

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-webacl-action.html#cfn-waf-webacl-action-type

    Implements

    CfnWebACL.IWafActionProperty
    Back to top Generated by DocFX