TextTransformationProperty
Struct External
Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wafv2 as wafv2 } from 'aws-cdk-lib';
const textTransformationProperty: wafv2.CfnWebACL.TextTransformationProperty = {
priority: 123,
type: 'type',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_wafv2 as wafv2
text_transformation_property = wafv2.CfnWebACL.TextTransformationProperty(
priority=123,
type="type"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.wafv2.*;
TextTransformationProperty textTransformationProperty = TextTransformationProperty.builder()
.priority(123)
.type("type")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.WAFv2;
var textTransformationProperty = new TextTransformationProperty {
Priority = 123,
Type = "type"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
textTransformationProperty := &TextTransformationProperty{
Priority: jsii.Number(123),
Type: jsii.String("type"),
}
Properties
Sets the relative processing order for multiple transformations.
AWS WAF processes all transformations, from lowest priority to highest, before inspecting the transformed content. The priorities don't need to be consecutive, but they must all be different.
For detailed descriptions of each of the transformation types, see Text transformations in the *AWS WAF Developer Guide* .