interface CfnRegexPatternSetMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.WAFv2.Mixins.CfnRegexPatternSetMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awswafv2/mixins#CfnRegexPatternSetMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.wafv2.mixins.CfnRegexPatternSetMixinProps |
Python | aws_cdk.mixins_preview.aws_wafv2.mixins.CfnRegexPatternSetMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_wafv2 » mixins » CfnRegexPatternSetMixinProps |
Properties for CfnRegexPatternSetPropsMixin.
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 cfnRegexPatternSetMixinProps: wafv2_mixins.CfnRegexPatternSetMixinProps = {
description: 'description',
name: 'name',
regularExpressionList: ['regularExpressionList'],
scope: 'scope',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| description? | string | A description of the set that helps with identification. |
| name? | string | The name of the set. |
| regular | string[] | The regular expression patterns in the set. |
| scope? | string | Specifies whether this is for an Amazon CloudFront distribution or for a regional application. |
| tags? | Cfn[] | Key:value pairs associated with an AWS resource. |
description?
Type:
string
(optional)
A description of the set that helps with identification.
name?
Type:
string
(optional)
The name of the set.
You cannot change the name after you create the set.
regularExpressionList?
Type:
string[]
(optional)
The regular expression patterns in the set.
scope?
Type:
string
(optional)
Specifies whether this is for an Amazon CloudFront distribution or for a regional application.
For an AWS Amplify application, use CLOUDFRONT . A regional application can be an Application Load Balancer (ALB), an REST API, an AWS AppSync GraphQL API, an Amazon Cognito user pool, an AWS App Runner service, or an AWS Verified Access instance. Valid Values are CLOUDFRONT and REGIONAL .
For
CLOUDFRONT, you must create your WAFv2 resources in the US East (N. Virginia) Region,us-east-1.
tags?
Type:
Cfn[]
(optional)
Key:value pairs associated with an AWS resource.
The key:value pair can be anything you define. Typically, the tag key represents a category (such as "environment") and the tag value represents a specific value within that category (such as "test," "development," or "production"). You can add up to 50 tags to each AWS resource.
To modify tags on existing resources, use the AWS WAF APIs or command line interface. With AWS CloudFormation , you can only add tags to AWS WAF resources during resource creation.

.NET
Go
Java
Python
TypeScript