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",
},
},
});
}
}
Inherited Members
Namespace: Pulumi.Aws.WafRegional
Assembly: Pulumi.Aws.dll
Syntax
public class SizeConstraintSet : CustomResource
Constructors
View SourceSizeConstraintSet(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 SourceArn
Declaration
public Output<string> Arn { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
The name or description of the Size Constraint Set.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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 SourceGet(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 |