-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnEventTypeProps.go
111 lines (108 loc) · 4.06 KB
/
CfnEventTypeProps.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
package awsfrauddetector
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnEventType`.
//
// 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"
//
// cfnEventTypeProps := &CfnEventTypeProps{
// EntityTypes: []interface{}{
// &EntityTypeProperty{
// Arn: jsii.String("arn"),
// CreatedTime: jsii.String("createdTime"),
// Description: jsii.String("description"),
// Inline: jsii.Boolean(false),
// LastUpdatedTime: jsii.String("lastUpdatedTime"),
// Name: jsii.String("name"),
// Tags: []cfnTag{
// &cfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// },
// },
// EventVariables: []interface{}{
// &EventVariableProperty{
// Arn: jsii.String("arn"),
// CreatedTime: jsii.String("createdTime"),
// DataSource: jsii.String("dataSource"),
// DataType: jsii.String("dataType"),
// DefaultValue: jsii.String("defaultValue"),
// Description: jsii.String("description"),
// Inline: jsii.Boolean(false),
// LastUpdatedTime: jsii.String("lastUpdatedTime"),
// Name: jsii.String("name"),
// Tags: []*cfnTag{
// &cfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// VariableType: jsii.String("variableType"),
// },
// },
// Labels: []interface{}{
// &LabelProperty{
// Arn: jsii.String("arn"),
// CreatedTime: jsii.String("createdTime"),
// Description: jsii.String("description"),
// Inline: jsii.Boolean(false),
// LastUpdatedTime: jsii.String("lastUpdatedTime"),
// Name: jsii.String("name"),
// Tags: []*cfnTag{
// &cfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// },
// },
// Name: jsii.String("name"),
//
// // the properties below are optional
// Description: jsii.String("description"),
// Tags: []*cfnTag{
// &cfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-eventtype.html
//
type CfnEventTypeProps struct {
// The event type entity types.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-eventtype.html#cfn-frauddetector-eventtype-entitytypes
//
EntityTypes interface{} `field:"required" json:"entityTypes" yaml:"entityTypes"`
// The event type event variables.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-eventtype.html#cfn-frauddetector-eventtype-eventvariables
//
EventVariables interface{} `field:"required" json:"eventVariables" yaml:"eventVariables"`
// The event type labels.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-eventtype.html#cfn-frauddetector-eventtype-labels
//
Labels interface{} `field:"required" json:"labels" yaml:"labels"`
// The event type name.
//
// Pattern : `^[0-9a-z_-]+$`.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-eventtype.html#cfn-frauddetector-eventtype-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// The event type description.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-eventtype.html#cfn-frauddetector-eventtype-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
// An array of key-value pairs to apply to this resource.
//
// For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-eventtype.html#cfn-frauddetector-eventtype-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}