-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnCampaignProps.go
539 lines (536 loc) · 23.4 KB
/
CfnCampaignProps.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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
package awspinpoint
// Properties for defining a `CfnCampaign`.
//
// 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 customConfig interface{}
// var metrics interface{}
// var tags interface{}
//
// cfnCampaignProps := &CfnCampaignProps{
// ApplicationId: jsii.String("applicationId"),
// Name: jsii.String("name"),
// Schedule: &ScheduleProperty{
// EndTime: jsii.String("endTime"),
// EventFilter: &CampaignEventFilterProperty{
// Dimensions: &EventDimensionsProperty{
// Attributes: attributes,
// EventType: &SetDimensionProperty{
// DimensionType: jsii.String("dimensionType"),
// Values: []*string{
// jsii.String("values"),
// },
// },
// Metrics: metrics,
// },
// FilterType: jsii.String("filterType"),
// },
// Frequency: jsii.String("frequency"),
// IsLocalTime: jsii.Boolean(false),
// QuietTime: &QuietTimeProperty{
// End: jsii.String("end"),
// Start: jsii.String("start"),
// },
// StartTime: jsii.String("startTime"),
// TimeZone: jsii.String("timeZone"),
// },
// SegmentId: jsii.String("segmentId"),
//
// // the properties below are optional
// AdditionalTreatments: []interface{}{
// &WriteTreatmentResourceProperty{
// CustomDeliveryConfiguration: &CustomDeliveryConfigurationProperty{
// DeliveryUri: jsii.String("deliveryUri"),
// EndpointTypes: []*string{
// jsii.String("endpointTypes"),
// },
// },
// MessageConfiguration: &MessageConfigurationProperty{
// AdmMessage: &MessageProperty{
// Action: jsii.String("action"),
// Body: jsii.String("body"),
// ImageIconUrl: jsii.String("imageIconUrl"),
// ImageSmallIconUrl: jsii.String("imageSmallIconUrl"),
// ImageUrl: jsii.String("imageUrl"),
// JsonBody: jsii.String("jsonBody"),
// MediaUrl: jsii.String("mediaUrl"),
// RawContent: jsii.String("rawContent"),
// SilentPush: jsii.Boolean(false),
// TimeToLive: jsii.Number(123),
// Title: jsii.String("title"),
// Url: jsii.String("url"),
// },
// ApnsMessage: &MessageProperty{
// Action: jsii.String("action"),
// Body: jsii.String("body"),
// ImageIconUrl: jsii.String("imageIconUrl"),
// ImageSmallIconUrl: jsii.String("imageSmallIconUrl"),
// ImageUrl: jsii.String("imageUrl"),
// JsonBody: jsii.String("jsonBody"),
// MediaUrl: jsii.String("mediaUrl"),
// RawContent: jsii.String("rawContent"),
// SilentPush: jsii.Boolean(false),
// TimeToLive: jsii.Number(123),
// Title: jsii.String("title"),
// Url: jsii.String("url"),
// },
// BaiduMessage: &MessageProperty{
// Action: jsii.String("action"),
// Body: jsii.String("body"),
// ImageIconUrl: jsii.String("imageIconUrl"),
// ImageSmallIconUrl: jsii.String("imageSmallIconUrl"),
// ImageUrl: jsii.String("imageUrl"),
// JsonBody: jsii.String("jsonBody"),
// MediaUrl: jsii.String("mediaUrl"),
// RawContent: jsii.String("rawContent"),
// SilentPush: jsii.Boolean(false),
// TimeToLive: jsii.Number(123),
// Title: jsii.String("title"),
// Url: jsii.String("url"),
// },
// CustomMessage: &CampaignCustomMessageProperty{
// Data: jsii.String("data"),
// },
// DefaultMessage: &MessageProperty{
// Action: jsii.String("action"),
// Body: jsii.String("body"),
// ImageIconUrl: jsii.String("imageIconUrl"),
// ImageSmallIconUrl: jsii.String("imageSmallIconUrl"),
// ImageUrl: jsii.String("imageUrl"),
// JsonBody: jsii.String("jsonBody"),
// MediaUrl: jsii.String("mediaUrl"),
// RawContent: jsii.String("rawContent"),
// SilentPush: jsii.Boolean(false),
// TimeToLive: jsii.Number(123),
// Title: jsii.String("title"),
// Url: jsii.String("url"),
// },
// EmailMessage: &CampaignEmailMessageProperty{
// Body: jsii.String("body"),
// FromAddress: jsii.String("fromAddress"),
// HtmlBody: jsii.String("htmlBody"),
// Title: jsii.String("title"),
// },
// GcmMessage: &MessageProperty{
// Action: jsii.String("action"),
// Body: jsii.String("body"),
// ImageIconUrl: jsii.String("imageIconUrl"),
// ImageSmallIconUrl: jsii.String("imageSmallIconUrl"),
// ImageUrl: jsii.String("imageUrl"),
// JsonBody: jsii.String("jsonBody"),
// MediaUrl: jsii.String("mediaUrl"),
// RawContent: jsii.String("rawContent"),
// SilentPush: jsii.Boolean(false),
// TimeToLive: jsii.Number(123),
// Title: jsii.String("title"),
// Url: jsii.String("url"),
// },
// InAppMessage: &CampaignInAppMessageProperty{
// Content: []interface{}{
// &InAppMessageContentProperty{
// BackgroundColor: jsii.String("backgroundColor"),
// BodyConfig: &InAppMessageBodyConfigProperty{
// Alignment: jsii.String("alignment"),
// Body: jsii.String("body"),
// TextColor: jsii.String("textColor"),
// },
// HeaderConfig: &InAppMessageHeaderConfigProperty{
// Alignment: jsii.String("alignment"),
// Header: jsii.String("header"),
// TextColor: jsii.String("textColor"),
// },
// ImageUrl: jsii.String("imageUrl"),
// PrimaryBtn: &InAppMessageButtonProperty{
// Android: &OverrideButtonConfigurationProperty{
// ButtonAction: jsii.String("buttonAction"),
// Link: jsii.String("link"),
// },
// DefaultConfig: &DefaultButtonConfigurationProperty{
// BackgroundColor: jsii.String("backgroundColor"),
// BorderRadius: jsii.Number(123),
// ButtonAction: jsii.String("buttonAction"),
// Link: jsii.String("link"),
// Text: jsii.String("text"),
// TextColor: jsii.String("textColor"),
// },
// Ios: &OverrideButtonConfigurationProperty{
// ButtonAction: jsii.String("buttonAction"),
// Link: jsii.String("link"),
// },
// Web: &OverrideButtonConfigurationProperty{
// ButtonAction: jsii.String("buttonAction"),
// Link: jsii.String("link"),
// },
// },
// SecondaryBtn: &InAppMessageButtonProperty{
// Android: &OverrideButtonConfigurationProperty{
// ButtonAction: jsii.String("buttonAction"),
// Link: jsii.String("link"),
// },
// DefaultConfig: &DefaultButtonConfigurationProperty{
// BackgroundColor: jsii.String("backgroundColor"),
// BorderRadius: jsii.Number(123),
// ButtonAction: jsii.String("buttonAction"),
// Link: jsii.String("link"),
// Text: jsii.String("text"),
// TextColor: jsii.String("textColor"),
// },
// Ios: &OverrideButtonConfigurationProperty{
// ButtonAction: jsii.String("buttonAction"),
// Link: jsii.String("link"),
// },
// Web: &OverrideButtonConfigurationProperty{
// ButtonAction: jsii.String("buttonAction"),
// Link: jsii.String("link"),
// },
// },
// },
// },
// CustomConfig: customConfig,
// Layout: jsii.String("layout"),
// },
// SmsMessage: &CampaignSmsMessageProperty{
// Body: jsii.String("body"),
// EntityId: jsii.String("entityId"),
// MessageType: jsii.String("messageType"),
// OriginationNumber: jsii.String("originationNumber"),
// SenderId: jsii.String("senderId"),
// TemplateId: jsii.String("templateId"),
// },
// },
// Schedule: &ScheduleProperty{
// EndTime: jsii.String("endTime"),
// EventFilter: &CampaignEventFilterProperty{
// Dimensions: &EventDimensionsProperty{
// Attributes: attributes,
// EventType: &SetDimensionProperty{
// DimensionType: jsii.String("dimensionType"),
// Values: []*string{
// jsii.String("values"),
// },
// },
// Metrics: metrics,
// },
// FilterType: jsii.String("filterType"),
// },
// Frequency: jsii.String("frequency"),
// IsLocalTime: jsii.Boolean(false),
// QuietTime: &QuietTimeProperty{
// End: jsii.String("end"),
// Start: jsii.String("start"),
// },
// StartTime: jsii.String("startTime"),
// TimeZone: jsii.String("timeZone"),
// },
// SizePercent: jsii.Number(123),
// TemplateConfiguration: &TemplateConfigurationProperty{
// EmailTemplate: &TemplateProperty{
// Name: jsii.String("name"),
// Version: jsii.String("version"),
// },
// PushTemplate: &TemplateProperty{
// Name: jsii.String("name"),
// Version: jsii.String("version"),
// },
// SmsTemplate: &TemplateProperty{
// Name: jsii.String("name"),
// Version: jsii.String("version"),
// },
// VoiceTemplate: &TemplateProperty{
// Name: jsii.String("name"),
// Version: jsii.String("version"),
// },
// },
// TreatmentDescription: jsii.String("treatmentDescription"),
// TreatmentName: jsii.String("treatmentName"),
// },
// },
// CampaignHook: &CampaignHookProperty{
// LambdaFunctionName: jsii.String("lambdaFunctionName"),
// Mode: jsii.String("mode"),
// WebUrl: jsii.String("webUrl"),
// },
// CustomDeliveryConfiguration: &CustomDeliveryConfigurationProperty{
// DeliveryUri: jsii.String("deliveryUri"),
// EndpointTypes: []*string{
// jsii.String("endpointTypes"),
// },
// },
// Description: jsii.String("description"),
// HoldoutPercent: jsii.Number(123),
// IsPaused: jsii.Boolean(false),
// Limits: &LimitsProperty{
// Daily: jsii.Number(123),
// MaximumDuration: jsii.Number(123),
// MessagesPerSecond: jsii.Number(123),
// Session: jsii.Number(123),
// Total: jsii.Number(123),
// },
// MessageConfiguration: &MessageConfigurationProperty{
// AdmMessage: &MessageProperty{
// Action: jsii.String("action"),
// Body: jsii.String("body"),
// ImageIconUrl: jsii.String("imageIconUrl"),
// ImageSmallIconUrl: jsii.String("imageSmallIconUrl"),
// ImageUrl: jsii.String("imageUrl"),
// JsonBody: jsii.String("jsonBody"),
// MediaUrl: jsii.String("mediaUrl"),
// RawContent: jsii.String("rawContent"),
// SilentPush: jsii.Boolean(false),
// TimeToLive: jsii.Number(123),
// Title: jsii.String("title"),
// Url: jsii.String("url"),
// },
// ApnsMessage: &MessageProperty{
// Action: jsii.String("action"),
// Body: jsii.String("body"),
// ImageIconUrl: jsii.String("imageIconUrl"),
// ImageSmallIconUrl: jsii.String("imageSmallIconUrl"),
// ImageUrl: jsii.String("imageUrl"),
// JsonBody: jsii.String("jsonBody"),
// MediaUrl: jsii.String("mediaUrl"),
// RawContent: jsii.String("rawContent"),
// SilentPush: jsii.Boolean(false),
// TimeToLive: jsii.Number(123),
// Title: jsii.String("title"),
// Url: jsii.String("url"),
// },
// BaiduMessage: &MessageProperty{
// Action: jsii.String("action"),
// Body: jsii.String("body"),
// ImageIconUrl: jsii.String("imageIconUrl"),
// ImageSmallIconUrl: jsii.String("imageSmallIconUrl"),
// ImageUrl: jsii.String("imageUrl"),
// JsonBody: jsii.String("jsonBody"),
// MediaUrl: jsii.String("mediaUrl"),
// RawContent: jsii.String("rawContent"),
// SilentPush: jsii.Boolean(false),
// TimeToLive: jsii.Number(123),
// Title: jsii.String("title"),
// Url: jsii.String("url"),
// },
// CustomMessage: &CampaignCustomMessageProperty{
// Data: jsii.String("data"),
// },
// DefaultMessage: &MessageProperty{
// Action: jsii.String("action"),
// Body: jsii.String("body"),
// ImageIconUrl: jsii.String("imageIconUrl"),
// ImageSmallIconUrl: jsii.String("imageSmallIconUrl"),
// ImageUrl: jsii.String("imageUrl"),
// JsonBody: jsii.String("jsonBody"),
// MediaUrl: jsii.String("mediaUrl"),
// RawContent: jsii.String("rawContent"),
// SilentPush: jsii.Boolean(false),
// TimeToLive: jsii.Number(123),
// Title: jsii.String("title"),
// Url: jsii.String("url"),
// },
// EmailMessage: &CampaignEmailMessageProperty{
// Body: jsii.String("body"),
// FromAddress: jsii.String("fromAddress"),
// HtmlBody: jsii.String("htmlBody"),
// Title: jsii.String("title"),
// },
// GcmMessage: &MessageProperty{
// Action: jsii.String("action"),
// Body: jsii.String("body"),
// ImageIconUrl: jsii.String("imageIconUrl"),
// ImageSmallIconUrl: jsii.String("imageSmallIconUrl"),
// ImageUrl: jsii.String("imageUrl"),
// JsonBody: jsii.String("jsonBody"),
// MediaUrl: jsii.String("mediaUrl"),
// RawContent: jsii.String("rawContent"),
// SilentPush: jsii.Boolean(false),
// TimeToLive: jsii.Number(123),
// Title: jsii.String("title"),
// Url: jsii.String("url"),
// },
// InAppMessage: &CampaignInAppMessageProperty{
// Content: []interface{}{
// &InAppMessageContentProperty{
// BackgroundColor: jsii.String("backgroundColor"),
// BodyConfig: &InAppMessageBodyConfigProperty{
// Alignment: jsii.String("alignment"),
// Body: jsii.String("body"),
// TextColor: jsii.String("textColor"),
// },
// HeaderConfig: &InAppMessageHeaderConfigProperty{
// Alignment: jsii.String("alignment"),
// Header: jsii.String("header"),
// TextColor: jsii.String("textColor"),
// },
// ImageUrl: jsii.String("imageUrl"),
// PrimaryBtn: &InAppMessageButtonProperty{
// Android: &OverrideButtonConfigurationProperty{
// ButtonAction: jsii.String("buttonAction"),
// Link: jsii.String("link"),
// },
// DefaultConfig: &DefaultButtonConfigurationProperty{
// BackgroundColor: jsii.String("backgroundColor"),
// BorderRadius: jsii.Number(123),
// ButtonAction: jsii.String("buttonAction"),
// Link: jsii.String("link"),
// Text: jsii.String("text"),
// TextColor: jsii.String("textColor"),
// },
// Ios: &OverrideButtonConfigurationProperty{
// ButtonAction: jsii.String("buttonAction"),
// Link: jsii.String("link"),
// },
// Web: &OverrideButtonConfigurationProperty{
// ButtonAction: jsii.String("buttonAction"),
// Link: jsii.String("link"),
// },
// },
// SecondaryBtn: &InAppMessageButtonProperty{
// Android: &OverrideButtonConfigurationProperty{
// ButtonAction: jsii.String("buttonAction"),
// Link: jsii.String("link"),
// },
// DefaultConfig: &DefaultButtonConfigurationProperty{
// BackgroundColor: jsii.String("backgroundColor"),
// BorderRadius: jsii.Number(123),
// ButtonAction: jsii.String("buttonAction"),
// Link: jsii.String("link"),
// Text: jsii.String("text"),
// TextColor: jsii.String("textColor"),
// },
// Ios: &OverrideButtonConfigurationProperty{
// ButtonAction: jsii.String("buttonAction"),
// Link: jsii.String("link"),
// },
// Web: &OverrideButtonConfigurationProperty{
// ButtonAction: jsii.String("buttonAction"),
// Link: jsii.String("link"),
// },
// },
// },
// },
// CustomConfig: customConfig,
// Layout: jsii.String("layout"),
// },
// SmsMessage: &CampaignSmsMessageProperty{
// Body: jsii.String("body"),
// EntityId: jsii.String("entityId"),
// MessageType: jsii.String("messageType"),
// OriginationNumber: jsii.String("originationNumber"),
// SenderId: jsii.String("senderId"),
// TemplateId: jsii.String("templateId"),
// },
// },
// Priority: jsii.Number(123),
// SegmentVersion: jsii.Number(123),
// Tags: tags,
// TemplateConfiguration: &TemplateConfigurationProperty{
// EmailTemplate: &TemplateProperty{
// Name: jsii.String("name"),
// Version: jsii.String("version"),
// },
// PushTemplate: &TemplateProperty{
// Name: jsii.String("name"),
// Version: jsii.String("version"),
// },
// SmsTemplate: &TemplateProperty{
// Name: jsii.String("name"),
// Version: jsii.String("version"),
// },
// VoiceTemplate: &TemplateProperty{
// Name: jsii.String("name"),
// Version: jsii.String("version"),
// },
// },
// TreatmentDescription: jsii.String("treatmentDescription"),
// TreatmentName: jsii.String("treatmentName"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html
//
type CfnCampaignProps struct {
// The unique identifier for the Amazon Pinpoint application that the campaign is associated with.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html#cfn-pinpoint-campaign-applicationid
//
ApplicationId *string `field:"required" json:"applicationId" yaml:"applicationId"`
// The name of the campaign.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html#cfn-pinpoint-campaign-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// The schedule settings for the campaign.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html#cfn-pinpoint-campaign-schedule
//
Schedule interface{} `field:"required" json:"schedule" yaml:"schedule"`
// The unique identifier for the segment to associate with the campaign.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html#cfn-pinpoint-campaign-segmentid
//
SegmentId *string `field:"required" json:"segmentId" yaml:"segmentId"`
// An array of requests that defines additional treatments for the campaign, in addition to the default treatment for the campaign.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html#cfn-pinpoint-campaign-additionaltreatments
//
AdditionalTreatments interface{} `field:"optional" json:"additionalTreatments" yaml:"additionalTreatments"`
// Specifies the Lambda function to use as a code hook for a campaign.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html#cfn-pinpoint-campaign-campaignhook
//
CampaignHook interface{} `field:"optional" json:"campaignHook" yaml:"campaignHook"`
// The delivery configuration settings for sending the treatment through a custom channel.
//
// This object is required if the `MessageConfiguration` object for the treatment specifies a `CustomMessage` object.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html#cfn-pinpoint-campaign-customdeliveryconfiguration
//
CustomDeliveryConfiguration interface{} `field:"optional" json:"customDeliveryConfiguration" yaml:"customDeliveryConfiguration"`
// A custom description of the campaign.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html#cfn-pinpoint-campaign-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
// The allocated percentage of users (segment members) who shouldn't receive messages from the campaign.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html#cfn-pinpoint-campaign-holdoutpercent
//
HoldoutPercent *float64 `field:"optional" json:"holdoutPercent" yaml:"holdoutPercent"`
// Specifies whether to pause the campaign.
//
// A paused campaign doesn't run unless you resume it by changing this value to `false` . If you restart a campaign, the campaign restarts from the beginning and not at the point you paused it. If a campaign is running it will complete and then pause. Pause only pauses or skips the next run for a recurring future scheduled campaign. A campaign scheduled for immediate can't be paused.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html#cfn-pinpoint-campaign-ispaused
//
IsPaused interface{} `field:"optional" json:"isPaused" yaml:"isPaused"`
// The messaging limits for the campaign.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html#cfn-pinpoint-campaign-limits
//
Limits interface{} `field:"optional" json:"limits" yaml:"limits"`
// The message configuration settings for the campaign.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html#cfn-pinpoint-campaign-messageconfiguration
//
MessageConfiguration interface{} `field:"optional" json:"messageConfiguration" yaml:"messageConfiguration"`
// An integer between 1 and 5, inclusive, that represents the priority of the in-app message campaign, where 1 is the highest priority and 5 is the lowest.
//
// If there are multiple messages scheduled to be displayed at the same time, the priority determines the order in which those messages are displayed.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html#cfn-pinpoint-campaign-priority
//
Priority *float64 `field:"optional" json:"priority" yaml:"priority"`
// The version of the segment to associate with the campaign.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html#cfn-pinpoint-campaign-segmentversion
//
SegmentVersion *float64 `field:"optional" json:"segmentVersion" yaml:"segmentVersion"`
// 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-pinpoint-campaign.html#cfn-pinpoint-campaign-tags
//
Tags interface{} `field:"optional" json:"tags" yaml:"tags"`
// The message template to use for the treatment.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html#cfn-pinpoint-campaign-templateconfiguration
//
TemplateConfiguration interface{} `field:"optional" json:"templateConfiguration" yaml:"templateConfiguration"`
// A custom description of the default treatment for the campaign.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html#cfn-pinpoint-campaign-treatmentdescription
//
TreatmentDescription *string `field:"optional" json:"treatmentDescription" yaml:"treatmentDescription"`
// A custom name of the default treatment for the campaign, if the campaign has multiple treatments.
//
// A *treatment* is a variation of a campaign that's used for A/B testing.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html#cfn-pinpoint-campaign-treatmentname
//
TreatmentName *string `field:"optional" json:"treatmentName" yaml:"treatmentName"`
}