Class CfnCampaign.EventDimensionsProperty
Specifies the dimensions for an event filter that determines when a campaign is sent or a journey activity is performed.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Pinpoint
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCampaign.EventDimensionsProperty : CfnCampaign.IEventDimensionsProperty
Syntax (vb)
Public Class CfnCampaign.EventDimensionsProperty 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() | Specifies the dimensions for an event filter that determines when a campaign is sent or a journey activity is performed. |
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()
Specifies the dimensions for an event filter that determines when a campaign is sent or a journey activity is performed.
public EventDimensionsProperty()
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
};
Properties
Attributes
One or more custom attributes that your application reports to Amazon Pinpoint.
public object? Attributes { get; set; }
Property Value
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
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 .
Type union: either IResolvable or CfnCampaign.ISetDimensionProperty
Metrics
One or more custom metrics that your application reports to Amazon Pinpoint .
public object? Metrics { get; set; }
Property Value
Remarks
You can use these metrics as selection criteria when you create an event filter.