Interface CfnCampaign.EventDimensionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCampaign.EventDimensionsProperty.Jsii$Proxy
- Enclosing class:
CfnCampaign
@Stability(Stable)
public static interface CfnCampaign.EventDimensionsProperty
extends software.amazon.jsii.JsiiSerializable
Specifies the dimensions for an event filter that determines when a campaign is sent or a journey activity is performed.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.pinpoint.*;
Object attributes;
Object metrics;
EventDimensionsProperty eventDimensionsProperty = EventDimensionsProperty.builder()
.attributes(attributes)
.eventType(SetDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.metrics(metrics)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCampaign.EventDimensionsPropertystatic final classAn implementation forCfnCampaign.EventDimensionsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectOne or more custom attributes that your application reports to Amazon Pinpoint.default ObjectThe name of the event that causes the campaign to be sent or the journey activity to be performed.default ObjectOne or more custom metrics that your application reports to Amazon Pinpoint .Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAttributes
One or more custom attributes that your application reports to Amazon Pinpoint.You can use these attributes as selection criteria when you create an event filter.
- See Also:
-
getEventType
The name of the event that causes the campaign to be sent or the journey activity to be performed.This can be a standard event that Amazon Pinpoint generates, such as
_email.deliveredor_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 .Returns union: either
IResolvableorCfnCampaign.SetDimensionProperty- See Also:
-
getMetrics
One or more custom metrics that your application reports to Amazon Pinpoint .You can use these metrics as selection criteria when you create an event filter.
- See Also:
-
builder
-