interface CfnWebACLMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.WAFRegional.Mixins.CfnWebACLMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awswafregional/mixins#CfnWebACLMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.wafregional.mixins.CfnWebACLMixinProps |
Python | aws_cdk.mixins_preview.aws_wafregional.mixins.CfnWebACLMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_wafregional » mixins » CfnWebACLMixinProps |
Properties for CfnWebACLPropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-webacl.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as wafregional_mixins } from '@aws-cdk/mixins-preview/aws-wafregional';
const cfnWebACLMixinProps: wafregional_mixins.CfnWebACLMixinProps = {
defaultAction: {
type: 'type',
},
metricName: 'metricName',
name: 'name',
rules: [{
action: {
type: 'type',
},
priority: 123,
ruleId: 'ruleId',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| default | IResolvable | Action | The action to perform if none of the Rules contained in the WebACL match. |
| metric | string | A name for the metrics for this WebACL . |
| name? | string | A friendly name or description of the WebACL . |
| rules? | IResolvable | (IResolvable | Rule)[] | An array that contains the action for each Rule in a WebACL , the priority of the Rule , and the ID of the Rule . |
defaultAction?
Type:
IResolvable | Action
(optional)
The action to perform if none of the Rules contained in the WebACL match.
The action is specified by the WafAction object.
metricName?
Type:
string
(optional)
A name for the metrics for this WebACL .
The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change MetricName after you create the WebACL .
name?
Type:
string
(optional)
A friendly name or description of the WebACL .
You can't change the name of a WebACL after you create it.
rules?
Type:
IResolvable | (IResolvable | Rule)[]
(optional)
An array that contains the action for each Rule in a WebACL , the priority of the Rule , and the ID of the Rule .

.NET
Go
Java
Python
TypeScript