-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnXssMatchSetProps.go
38 lines (35 loc) · 1.36 KB
/
CfnXssMatchSetProps.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
30
31
32
33
34
35
36
37
package awswaf
// Properties for defining a `CfnXssMatchSet`.
//
// 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"
//
// cfnXssMatchSetProps := &CfnXssMatchSetProps{
// Name: jsii.String("name"),
// XssMatchTuples: []interface{}{
// &XssMatchTupleProperty{
// FieldToMatch: &FieldToMatchProperty{
// Type: jsii.String("type"),
//
// // the properties below are optional
// Data: jsii.String("data"),
// },
// TextTransformation: jsii.String("textTransformation"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-xssmatchset.html
//
type CfnXssMatchSetProps struct {
// The name, if any, of the `XssMatchSet` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-xssmatchset.html#cfn-waf-xssmatchset-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-xssmatchset.html#cfn-waf-xssmatchset-xssmatchtuples
//
XssMatchTuples interface{} `field:"required" json:"xssMatchTuples" yaml:"xssMatchTuples"`
}