Show / Hide Table of Contents

Class SizeConstraintSet

Provides a WAF Regional Size Constraint Set Resource for use with Application Load Balancer.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var sizeConstraintSet = new Aws.WafRegional.SizeConstraintSet("sizeConstraintSet", new Aws.WafRegional.SizeConstraintSetArgs
    {
        SizeConstraints = 
        {
            new Aws.WafRegional.Inputs.SizeConstraintSetSizeConstraintArgs
            {
                ComparisonOperator = "EQ",
                FieldToMatch = new Aws.WafRegional.Inputs.SizeConstraintSetSizeConstraintFieldToMatchArgs
                {
                    Type = "BODY",
                },
                Size = "4096",
                TextTransformation = "NONE",
            },
        },
    });
}

}
Inheritance
System.Object
Resource
CustomResource
SizeConstraintSet
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.WafRegional
Assembly: Pulumi.Aws.dll
Syntax
public class SizeConstraintSet : CustomResource

Constructors

View Source

SizeConstraintSet(String, SizeConstraintSetArgs, CustomResourceOptions)

Create a SizeConstraintSet resource with the given unique name, arguments, and options.

Declaration
public SizeConstraintSet(string name, SizeConstraintSetArgs args = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

SizeConstraintSetArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Arn

Declaration
public Output<string> Arn { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

The name or description of the Size Constraint Set.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

SizeConstraints

Specifies the parts of web requests that you want to inspect the size of.

Declaration
public Output<ImmutableArray<SizeConstraintSetSizeConstraint>> SizeConstraints { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<SizeConstraintSetSizeConstraint>>

Methods

View Source

Get(String, Input<String>, SizeConstraintSetState, CustomResourceOptions)

Get an existing SizeConstraintSet resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static SizeConstraintSet Get(string name, Input<string> id, SizeConstraintSetState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

SizeConstraintSetState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
SizeConstraintSet
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.