Class SizeConstraintSet
Provides a WAF Size Constraint Set Resource
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var sizeConstraintSet = new Aws.Waf.SizeConstraintSet("sizeConstraintSet", new Aws.Waf.SizeConstraintSetArgs
{
SizeConstraints =
{
new Aws.Waf.Inputs.SizeConstraintSetSizeConstraintArgs
{
ComparisonOperator = "EQ",
FieldToMatch = new Aws.Waf.Inputs.SizeConstraintSetSizeConstraintFieldToMatchArgs
{
Type = "BODY",
},
Size = "4096",
TextTransformation = "NONE",
},
},
});
}
}
Inherited Members
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.Waf
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
Amazon Resource Name (ARN)
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 |