-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnCampaign_CampaignEventFilterProperty.go
42 lines (39 loc) · 1.72 KB
/
CfnCampaign_CampaignEventFilterProperty.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
package awspinpoint
// Specifies the settings for events that cause a campaign to be sent.
//
// 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{}
//
// campaignEventFilterProperty := &CampaignEventFilterProperty{
// Dimensions: &EventDimensionsProperty{
// Attributes: attributes,
// EventType: &SetDimensionProperty{
// DimensionType: jsii.String("dimensionType"),
// Values: []*string{
// jsii.String("values"),
// },
// },
// Metrics: metrics,
// },
// FilterType: jsii.String("filterType"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaigneventfilter.html
//
type CfnCampaign_CampaignEventFilterProperty struct {
// The dimension settings of the event filter for the campaign.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaigneventfilter.html#cfn-pinpoint-campaign-campaigneventfilter-dimensions
//
Dimensions interface{} `field:"optional" json:"dimensions" yaml:"dimensions"`
// The type of event that causes the campaign to be sent.
//
// Valid values are: `SYSTEM` , sends the campaign when a system event occurs; and, `ENDPOINT` , sends the campaign when an endpoint event (Events resource) occurs.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaigneventfilter.html#cfn-pinpoint-campaign-campaigneventfilter-filtertype
//
FilterType *string `field:"optional" json:"filterType" yaml:"filterType"`
}