Show / Hide Table of Contents

Class CfnWebACL.FieldToProtectProperty

Specifies a field type and keys to protect in stored web request data.

Inheritance
object
CfnWebACL.FieldToProtectProperty
Implements
CfnWebACL.IFieldToProtectProperty
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.FieldToProtectProperty : CfnWebACL.IFieldToProtectProperty
Syntax (vb)
Public Class CfnWebACL.FieldToProtectProperty Implements CfnWebACL.IFieldToProtectProperty
Remarks

This is part of the data protection configuration for a web ACL.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-fieldtoprotect.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 fieldToProtectProperty = new FieldToProtectProperty {
                 FieldType = "fieldType",

                 // the properties below are optional
                 FieldKeys = new [] { "fieldKeys" }
             };

Synopsis

Constructors

FieldToProtectProperty()

Specifies a field type and keys to protect in stored web request data.

Properties

FieldKeys

Specifies the keys to protect for the specified field type.

FieldType

Specifies the web request component type to protect.

Constructors

FieldToProtectProperty()

Specifies a field type and keys to protect in stored web request data.

public FieldToProtectProperty()
Remarks

This is part of the data protection configuration for a web ACL.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-fieldtoprotect.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 fieldToProtectProperty = new FieldToProtectProperty {
                 FieldType = "fieldType",

                 // the properties below are optional
                 FieldKeys = new [] { "fieldKeys" }
             };

Properties

FieldKeys

Specifies the keys to protect for the specified field type.

public string[]? FieldKeys { get; set; }
Property Value

string[]

Remarks

If you don't specify any key, then all keys for the field type are protected.

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

FieldType

Specifies the web request component type to protect.

public string FieldType { get; set; }
Property Value

string

Remarks

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

Implements

CfnWebACL.IFieldToProtectProperty
Back to top Generated by DocFX