aws-cdk-lib.aws_pinpoint.CfnCampaign.CampaignEventFilterProperty

interface CampaignEventFilterProperty

LanguageType name
.NETAmazon.CDK.AWS.Pinpoint.CfnCampaign.CampaignEventFilterProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awspinpoint#CfnCampaign_CampaignEventFilterProperty
Javasoftware.amazon.awscdk.services.pinpoint.CfnCampaign.CampaignEventFilterProperty
Pythonaws_cdk.aws_pinpoint.CfnCampaign.CampaignEventFilterProperty
TypeScript aws-cdk-lib » aws_pinpoint » CfnCampaign » CampaignEventFilterProperty

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 { aws_pinpoint as pinpoint } from 'aws-cdk-lib';

declare const attributes: any;
declare const metrics: any;
const campaignEventFilterProperty: pinpoint.CfnCampaign.CampaignEventFilterProperty = {
  dimensions: {
    attributes: attributes,
    eventType: {
      dimensionType: 'dimensionType',
      values: ['values'],
    },
    metrics: metrics,
  },
  filterType: 'filterType',
};

Properties

NameTypeDescription
dimensions?IResolvable | EventDimensionsPropertyThe dimension settings of the event filter for the campaign.
filterType?stringThe type of event that causes the campaign to be sent.

dimensions?

Type: IResolvable | EventDimensionsProperty (optional)

The dimension settings of the event filter for the campaign.


filterType?

Type: string (optional)

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.