/
CfnSegment_SegmentGroupsProperty.go
113 lines (110 loc) · 3.91 KB
/
CfnSegment_SegmentGroupsProperty.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
111
112
package awspinpoint
// Specifies the set of segment criteria to evaluate when handling segment groups for the segment.
//
// 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"
//
// var attributes interface{}
// var metrics interface{}
// var userAttributes interface{}
//
// segmentGroupsProperty := &SegmentGroupsProperty{
// Groups: []interface{}{
// &GroupsProperty{
// Dimensions: []interface{}{
// &SegmentDimensionsProperty{
// Attributes: attributes,
// Behavior: &BehaviorProperty{
// Recency: &RecencyProperty{
// Duration: jsii.String("duration"),
// RecencyType: jsii.String("recencyType"),
// },
// },
// Demographic: &DemographicProperty{
// AppVersion: &SetDimensionProperty{
// DimensionType: jsii.String("dimensionType"),
// Values: []*string{
// jsii.String("values"),
// },
// },
// Channel: &SetDimensionProperty{
// DimensionType: jsii.String("dimensionType"),
// Values: []*string{
// jsii.String("values"),
// },
// },
// DeviceType: &SetDimensionProperty{
// DimensionType: jsii.String("dimensionType"),
// Values: []*string{
// jsii.String("values"),
// },
// },
// Make: &SetDimensionProperty{
// DimensionType: jsii.String("dimensionType"),
// Values: []*string{
// jsii.String("values"),
// },
// },
// Model: &SetDimensionProperty{
// DimensionType: jsii.String("dimensionType"),
// Values: []*string{
// jsii.String("values"),
// },
// },
// Platform: &SetDimensionProperty{
// DimensionType: jsii.String("dimensionType"),
// Values: []*string{
// jsii.String("values"),
// },
// },
// },
// Location: &LocationProperty{
// Country: &SetDimensionProperty{
// DimensionType: jsii.String("dimensionType"),
// Values: []*string{
// jsii.String("values"),
// },
// },
// GpsPoint: &GPSPointProperty{
// Coordinates: &CoordinatesProperty{
// Latitude: jsii.Number(123),
// Longitude: jsii.Number(123),
// },
// RangeInKilometers: jsii.Number(123),
// },
// },
// Metrics: metrics,
// UserAttributes: userAttributes,
// },
// },
// SourceSegments: []interface{}{
// &SourceSegmentsProperty{
// Id: jsii.String("id"),
//
// // the properties below are optional
// Version: jsii.Number(123),
// },
// },
// SourceType: jsii.String("sourceType"),
// Type: jsii.String("type"),
// },
// },
// Include: jsii.String("include"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentgroups.html
//
type CfnSegment_SegmentGroupsProperty struct {
// Specifies the set of segment criteria to evaluate when handling segment groups for the segment.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentgroups.html#cfn-pinpoint-segment-segmentgroups-groups
//
Groups interface{} `field:"optional" json:"groups" yaml:"groups"`
// Specifies how to handle multiple segment groups for the segment.
//
// For example, if the segment includes three segment groups, whether the resulting segment includes endpoints that match all, any, or none of the segment groups.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentgroups.html#cfn-pinpoint-segment-segmentgroups-include
//
Include *string `field:"optional" json:"include" yaml:"include"`
}