Show / Hide Table of Contents

Class CfnWebACL.AllowActionProperty

Specifies that AWS WAF should allow the request and optionally defines additional custom handling for the request.

Inheritance
object
CfnWebACL.AllowActionProperty
Implements
CfnWebACL.IAllowActionProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.WAFv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnWebACL.AllowActionProperty : CfnWebACL.IAllowActionProperty
Syntax (vb)
Public Class CfnWebACL.AllowActionProperty Implements CfnWebACL.IAllowActionProperty
Remarks

This is used in the context of other settings, for example to specify values for a rule action or a web ACL default action.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-allowaction.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.WAFv2;

             var allowActionProperty = new AllowActionProperty {
                 CustomRequestHandling = new CustomRequestHandlingProperty {
                     InsertHeaders = new [] { new CustomHTTPHeaderProperty {
                         Name = "name",
                         Value = "value"
                     } }
                 }
             };

Synopsis

Constructors

AllowActionProperty()

Specifies that AWS WAF should allow the request and optionally defines additional custom handling for the request.

Properties

CustomRequestHandling

Defines custom handling for the web request.

Constructors

AllowActionProperty()

Specifies that AWS WAF should allow the request and optionally defines additional custom handling for the request.

public AllowActionProperty()
Remarks

This is used in the context of other settings, for example to specify values for a rule action or a web ACL default action.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-allowaction.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.WAFv2;

             var allowActionProperty = new AllowActionProperty {
                 CustomRequestHandling = new CustomRequestHandlingProperty {
                     InsertHeaders = new [] { new CustomHTTPHeaderProperty {
                         Name = "name",
                         Value = "value"
                     } }
                 }
             };

Properties

CustomRequestHandling

Defines custom handling for the web request.

public object? CustomRequestHandling { get; set; }
Property Value

object

Remarks

For information about customizing web requests and responses, see Customizing web requests and responses in AWS WAF in the AWS WAF Developer Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-allowaction.html#cfn-wafv2-webacl-allowaction-customrequesthandling

Type union: either IResolvable or CfnWebACL.ICustomRequestHandlingProperty

Implements

CfnWebACL.IAllowActionProperty
Back to top Generated by DocFX