Class CfnCampaign.EventDimensionsProperty
Specifies the dimensions for an event filter that determines when a campaign is sent or a journey activity is performed.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Pinpoint
Assembly: Amazon.CDK.AWS.Pinpoint.dll
Syntax (csharp)
public class EventDimensionsProperty : Object, CfnCampaign.IEventDimensionsProperty
Syntax (vb)
Public Class EventDimensionsProperty
Inherits Object
Implements CfnCampaign.IEventDimensionsProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Pinpoint;
var attributes;
var metrics;
var eventDimensionsProperty = new EventDimensionsProperty {
Attributes = attributes,
EventType = new SetDimensionProperty {
DimensionType = "dimensionType",
Values = new [] { "values" }
},
Metrics = metrics
};
Synopsis
Constructors
EventDimensionsProperty() |
Properties
Attributes | One or more custom attributes that your application reports to Amazon Pinpoint. |
EventType | The name of the event that causes the campaign to be sent or the journey activity to be performed. |
Metrics | One or more custom metrics that your application reports to Amazon Pinpoint . |
Constructors
EventDimensionsProperty()
public EventDimensionsProperty()
Properties
Attributes
One or more custom attributes that your application reports to Amazon Pinpoint.
public object Attributes { get; set; }
Property Value
System.Object
Remarks
You can use these attributes as selection criteria when you create an event filter.
EventType
The name of the event that causes the campaign to be sent or the journey activity to be performed.
public object EventType { get; set; }
Property Value
System.Object
Remarks
This can be a standard event that Amazon Pinpoint generates, such as _email.delivered
or _custom.delivered
. For campaigns, this can also be a custom event that's specific to your application. For information about standard events, see Streaming Amazon Pinpoint Events in the Amazon Pinpoint Developer Guide .
Metrics
One or more custom metrics that your application reports to Amazon Pinpoint .
public object Metrics { get; set; }
Property Value
System.Object
Remarks
You can use these metrics as selection criteria when you create an event filter.