Interface CfnCampaign.EventDimensionsProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnCampaign.EventDimensionsProperty extends
Specifies the dimensions for an event filter that determines when a campaign is sent or a journey activity is performed.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 Object attributes;
 Object metrics;
 EventDimensionsProperty eventDimensionsProperty = EventDimensionsProperty.builder()
  • Method Details

    • getAttributes

      @Stability(Stable) @Nullable default Object 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.

    • getEventType

      @Stability(Stable) @Nullable default Object 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.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 .

    • getMetrics

      @Stability(Stable) @Nullable default Object 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.

    • builder

      @Stability(Stable) static CfnCampaign.EventDimensionsProperty.Builder builder()
      a CfnCampaign.EventDimensionsProperty.Builder of CfnCampaign.EventDimensionsProperty