interface RegexProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.WAFv2.Mixins.CfnWebACLPropsMixin.RegexProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awswafv2/mixins#CfnWebACLPropsMixin_RegexProperty |
Java | software.amazon.awscdk.mixins.preview.services.wafv2.mixins.CfnWebACLPropsMixin.RegexProperty |
Python | aws_cdk.mixins_preview.aws_wafv2.mixins.CfnWebACLPropsMixin.RegexProperty |
TypeScript | @aws-cdk/mixins-preview » aws_wafv2 » mixins » CfnWebACLPropsMixin » RegexProperty |
A single regular expression.
This is used in a RegexPatternSet and also in the configuration for the AWS Managed Rules rule group AWSManagedRulesAntiDDoSRuleSet .
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-regex.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as wafv2_mixins } from '@aws-cdk/mixins-preview/aws-wafv2';
const regexProperty: wafv2_mixins.CfnWebACLPropsMixin.RegexProperty = {
regexString: 'regexString',
};
Properties
| Name | Type | Description |
|---|---|---|
| regex | string | The string representing the regular expression. |
regexString?
Type:
string
(optional)
The string representing the regular expression.

.NET
Go
Java
Python
TypeScript