interface RegexProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.WAFv2.CfnWebACLPropsMixin.RegexProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awswafv2#CfnWebACLPropsMixin_RegexProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.wafv2.CfnWebACLPropsMixin.RegexProperty |
Python | aws_cdk.cfn_property_mixins.aws_wafv2.CfnWebACLPropsMixin.RegexProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_wafv2 » 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 { aws_wafv2 as wafv2 } from '@aws-cdk/cfn-property-mixins';
const regexProperty: wafv2.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