Show / Hide Table of Contents

Class CfnSizeConstraintSet.FieldToMatchProperty

The part of a web request that you want to inspect, such as a specified header or a query string.

Inheritance
object
CfnSizeConstraintSet.FieldToMatchProperty
Implements
CfnSizeConstraintSet.IFieldToMatchProperty
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.WAF
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnSizeConstraintSet.FieldToMatchProperty : CfnSizeConstraintSet.IFieldToMatchProperty
Syntax (vb)
Public Class CfnSizeConstraintSet.FieldToMatchProperty Implements CfnSizeConstraintSet.IFieldToMatchProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-sizeconstraintset-fieldtomatch.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 fieldToMatchProperty = new FieldToMatchProperty {
                 Type = "type",

                 // the properties below are optional
                 Data = "data"
             };

Synopsis

Constructors

FieldToMatchProperty()

The part of a web request that you want to inspect, such as a specified header or a query string.

Properties

Data

When the value of Type is HEADER , enter the name of the header that you want AWS WAF to search, for example, User-Agent or Referer .

Type

The part of the web request that you want AWS WAF to search for a specified string.

Constructors

FieldToMatchProperty()

The part of a web request that you want to inspect, such as a specified header or a query string.

public FieldToMatchProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-sizeconstraintset-fieldtomatch.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 fieldToMatchProperty = new FieldToMatchProperty {
                 Type = "type",

                 // the properties below are optional
                 Data = "data"
             };

Properties

Data

When the value of Type is HEADER , enter the name of the header that you want AWS WAF to search, for example, User-Agent or Referer .

public string? Data { get; set; }
Property Value

string

Remarks

The name of the header is not case sensitive.

When the value of Type is SINGLE_QUERY_ARG , enter the name of the parameter that you want AWS WAF to search, for example, UserName or SalesRegion . The parameter name is not case sensitive.

If the value of Type is any other value, omit Data .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-sizeconstraintset-fieldtomatch.html#cfn-waf-sizeconstraintset-fieldtomatch-data

Type

The part of the web request that you want AWS WAF to search for a specified string.

public string Type { get; set; }
Property Value

string

Remarks

Parts of a request that you can search include the following:

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-sizeconstraintset-fieldtomatch.html#cfn-waf-sizeconstraintset-fieldtomatch-type

    Implements

    CfnSizeConstraintSet.IFieldToMatchProperty
    Back to top Generated by DocFX