Show / Hide Table of Contents

Class CfnSizeConstraintSetProps

Properties for defining a CfnSizeConstraintSet.

Inheritance
object
CfnSizeConstraintSetProps
Implements
ICfnSizeConstraintSetProps
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 CfnSizeConstraintSetProps : ICfnSizeConstraintSetProps
Syntax (vb)
Public Class CfnSizeConstraintSetProps Implements ICfnSizeConstraintSetProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-sizeconstraintset.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 cfnSizeConstraintSetProps = new CfnSizeConstraintSetProps {
                 Name = "name",
                 SizeConstraints = new [] { new SizeConstraintProperty {
                     ComparisonOperator = "comparisonOperator",
                     FieldToMatch = new FieldToMatchProperty {
                         Type = "type",

                         // the properties below are optional
                         Data = "data"
                     },
                     Size = 123,
                     TextTransformation = "textTransformation"
                 } }
             };

Synopsis

Constructors

CfnSizeConstraintSetProps()

Properties for defining a CfnSizeConstraintSet.

Properties

Name

The name, if any, of the SizeConstraintSet .

SizeConstraints

The size constraint and the part of the web request to check.

Constructors

CfnSizeConstraintSetProps()

Properties for defining a CfnSizeConstraintSet.

public CfnSizeConstraintSetProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-sizeconstraintset.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 cfnSizeConstraintSetProps = new CfnSizeConstraintSetProps {
                 Name = "name",
                 SizeConstraints = new [] { new SizeConstraintProperty {
                     ComparisonOperator = "comparisonOperator",
                     FieldToMatch = new FieldToMatchProperty {
                         Type = "type",

                         // the properties below are optional
                         Data = "data"
                     },
                     Size = 123,
                     TextTransformation = "textTransformation"
                 } }
             };

Properties

Name

The name, if any, of the SizeConstraintSet .

public string Name { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-sizeconstraintset.html#cfn-waf-sizeconstraintset-name

SizeConstraints

The size constraint and the part of the web request to check.

public object SizeConstraints { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-sizeconstraintset.html#cfn-waf-sizeconstraintset-sizeconstraints

Type union: either IResolvable or (either IResolvable or CfnSizeConstraintSet.ISizeConstraintProperty)[]

Implements

ICfnSizeConstraintSetProps
Back to top Generated by DocFX