Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

EventDestinationDefinition

import type { EventDestinationDefinition } from "https://aws-api.deno.dev/v0.3/services/pinpointemail.ts?docs=full";

An object that defines the event destination. Specifically, it defines which services receive events from emails sent using the configuration set that the event destination is associated with. Also defines the types of events that are sent to the event destination.

interface EventDestinationDefinition {
CloudWatchDestination?: CloudWatchDestination | null;
Enabled?: boolean | null;
KinesisFirehoseDestination?: KinesisFirehoseDestination | null;
MatchingEventTypes?: EventType[] | null;
PinpointDestination?: PinpointDestination | null;
SnsDestination?: SnsDestination | null;
}

§Properties

§
CloudWatchDestination?: CloudWatchDestination | null
[src]

An object that defines an Amazon CloudWatch destination for email events. You can use Amazon CloudWatch to monitor and gain insights on your email sending metrics.

§
Enabled?: boolean | null
[src]

If true, the event destination is enabled. When the event destination is enabled, the specified event types are sent to the destinations in this EventDestinationDefinition.

If false, the event destination is disabled. When the event destination is disabled, events aren't sent to the specified destinations.

§
KinesisFirehoseDestination?: KinesisFirehoseDestination | null
[src]

An object that defines an Amazon Kinesis Data Firehose destination for email events. You can use Amazon Kinesis Data Firehose to stream data to other services, such as Amazon S3 and Amazon Redshift.

§
MatchingEventTypes?: EventType[] | null
[src]

An array that specifies which events Amazon Pinpoint should send to the destinations in this EventDestinationDefinition.

§
PinpointDestination?: PinpointDestination | null
[src]

An object that defines a Amazon Pinpoint destination for email events. You can use Amazon Pinpoint events to create attributes in Amazon Pinpoint projects. You can use these attributes to create segments for your campaigns.

§
SnsDestination?: SnsDestination | null
[src]

An object that defines an Amazon SNS destination for email events. You can use Amazon SNS to send notification when certain email events occur.