-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnRule_MatchProperty.go
47 lines (44 loc) · 1.44 KB
/
CfnRule_MatchProperty.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
38
39
40
41
42
43
44
45
46
package awsvpclattice
// Describes a rule match.
//
// 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"
//
// matchProperty := &MatchProperty{
// HttpMatch: &HttpMatchProperty{
// HeaderMatches: []interface{}{
// &HeaderMatchProperty{
// Match: &HeaderMatchTypeProperty{
// Contains: jsii.String("contains"),
// Exact: jsii.String("exact"),
// Prefix: jsii.String("prefix"),
// },
// Name: jsii.String("name"),
//
// // the properties below are optional
// CaseSensitive: jsii.Boolean(false),
// },
// },
// Method: jsii.String("method"),
// PathMatch: &PathMatchProperty{
// Match: &PathMatchTypeProperty{
// Exact: jsii.String("exact"),
// Prefix: jsii.String("prefix"),
// },
//
// // the properties below are optional
// CaseSensitive: jsii.Boolean(false),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-rule-match.html
//
type CfnRule_MatchProperty struct {
// The HTTP criteria that a rule must match.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-rule-match.html#cfn-vpclattice-rule-match-httpmatch
//
HttpMatch interface{} `field:"required" json:"httpMatch" yaml:"httpMatch"`
}