-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnSegment_SegmentDimensionsProperty.go
110 lines (107 loc) · 4.52 KB
/
CfnSegment_SegmentDimensionsProperty.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
package awspinpoint
// Specifies the dimension settings for a 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{}
//
// segmentDimensionsProperty := &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,
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions.html
//
type CfnSegment_SegmentDimensionsProperty struct {
// One or more custom attributes to use as criteria for the segment.
//
// For more information see [AttributeDimension](https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-segments.html#apps-application-id-segments-model-attributedimension)
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions.html#cfn-pinpoint-segment-segmentdimensions-attributes
//
Attributes interface{} `field:"optional" json:"attributes" yaml:"attributes"`
// The behavior-based criteria, such as how recently users have used your app, for the segment.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions.html#cfn-pinpoint-segment-segmentdimensions-behavior
//
Behavior interface{} `field:"optional" json:"behavior" yaml:"behavior"`
// The demographic-based criteria, such as device platform, for the segment.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions.html#cfn-pinpoint-segment-segmentdimensions-demographic
//
Demographic interface{} `field:"optional" json:"demographic" yaml:"demographic"`
// The location-based criteria, such as region or GPS coordinates, for the segment.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions.html#cfn-pinpoint-segment-segmentdimensions-location
//
Location interface{} `field:"optional" json:"location" yaml:"location"`
// One or more custom metrics to use as criteria for the segment.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions.html#cfn-pinpoint-segment-segmentdimensions-metrics
//
Metrics interface{} `field:"optional" json:"metrics" yaml:"metrics"`
// One or more custom user attributes to use as criteria for the segment.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions.html#cfn-pinpoint-segment-segmentdimensions-userattributes
//
UserAttributes interface{} `field:"optional" json:"userAttributes" yaml:"userAttributes"`
}