-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnWebACL_CountActionProperty.go
30 lines (27 loc) · 1.18 KB
/
CfnWebACL_CountActionProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package awswafv2
// Specifies that AWS WAF should count the request. Optionally defines additional custom handling for the request.
//
// This is used in the context of other settings, for example to specify values for a rule action or a web ACL default action.
//
// Example:
// // 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"
//
// countActionProperty := &CountActionProperty{
// CustomRequestHandling: &CustomRequestHandlingProperty{
// InsertHeaders: []interface{}{
// &CustomHTTPHeaderProperty{
// Name: jsii.String("name"),
// Value: jsii.String("value"),
// },
// },
// },
// }
//
type CfnWebACL_CountActionProperty struct {
// Defines custom handling for the web request.
//
// For information about customizing web requests and responses, see [Customizing web requests and responses in AWS WAF](https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html) in the *AWS WAF Developer Guide* .
CustomRequestHandling interface{} `field:"optional" json:"customRequestHandling" yaml:"customRequestHandling"`
}