class Aws::PinpointSMSVoice::Types::EventDestinationDefinition

An object that defines a single event destination.

@note When making an API call, you may pass EventDestinationDefinition

data as a hash:

    {
      cloud_watch_logs_destination: {
        iam_role_arn: "String",
        log_group_arn: "String",
      },
      enabled: false,
      kinesis_firehose_destination: {
        delivery_stream_arn: "String",
        iam_role_arn: "String",
      },
      matching_event_types: ["INITIATED_CALL"], # accepts INITIATED_CALL, RINGING, ANSWERED, COMPLETED_CALL, BUSY, FAILED, NO_ANSWER
      sns_destination: {
        topic_arn: "String",
      },
    }

@!attribute [rw] cloud_watch_logs_destination

An object that contains information about an event destination that
sends data to Amazon CloudWatch Logs.
@return [Types::CloudWatchLogsDestination]

@!attribute [rw] enabled

Indicates whether or not the event destination is enabled. If the
event destination is enabled, then Amazon Pinpoint sends response
data to the specified event destination.
@return [Boolean]

@!attribute [rw] kinesis_firehose_destination

An object that contains information about an event destination that
sends data to Amazon Kinesis Data Firehose.
@return [Types::KinesisFirehoseDestination]

@!attribute [rw] matching_event_types

An array of EventDestination objects. Each EventDestination object
includes ARNs and other information that define an event
destination.
@return [Array<String>]

@!attribute [rw] sns_destination

An object that contains information about an event destination that
sends data to Amazon SNS.
@return [Types::SnsDestination]

@see docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/EventDestinationDefinition AWS API Documentation

Constants

SENSITIVE