interface EventDestinationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.SMSVOICE.CfnConfigurationSet.EventDestinationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssmsvoice#CfnConfigurationSet_EventDestinationProperty |
Java | software.amazon.awscdk.services.smsvoice.CfnConfigurationSet.EventDestinationProperty |
Python | aws_cdk.aws_smsvoice.CfnConfigurationSet.EventDestinationProperty |
TypeScript | aws-cdk-lib » aws_smsvoice » CfnConfigurationSet » EventDestinationProperty |
Contains information about an event destination.
Event destinations are associated with configuration sets, which enable you to publish message sending events to CloudWatch, Firehose, or Amazon SNS.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_smsvoice as smsvoice } from 'aws-cdk-lib';
const eventDestinationProperty: smsvoice.CfnConfigurationSet.EventDestinationProperty = {
enabled: false,
eventDestinationName: 'eventDestinationName',
matchingEventTypes: ['matchingEventTypes'],
// the properties below are optional
cloudWatchLogsDestination: {
iamRoleArn: 'iamRoleArn',
logGroupArn: 'logGroupArn',
},
kinesisFirehoseDestination: {
deliveryStreamArn: 'deliveryStreamArn',
iamRoleArn: 'iamRoleArn',
},
snsDestination: {
topicArn: 'topicArn',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| enabled | boolean | IResolvable | When set to true events will be logged. |
| event | string | The name of the EventDestination. |
| matching | string[] | An array of event types that determine which events to log. |
| cloud | IResolvable | Cloud | An object that contains information about an event destination that sends logging events to Amazon CloudWatch logs. |
| kinesis | IResolvable | Kinesis | An object that contains information about an event destination for logging to Amazon Data Firehose. |
| sns | IResolvable | Sns | An object that contains information about an event destination that sends logging events to Amazon SNS. |
enabled
Type:
boolean | IResolvable
When set to true events will be logged.
eventDestinationName
Type:
string
The name of the EventDestination.
matchingEventTypes
Type:
string[]
An array of event types that determine which events to log.
The
TEXT_SENTevent type is not supported.
cloudWatchLogsDestination?
Type:
IResolvable | Cloud
(optional)
An object that contains information about an event destination that sends logging events to Amazon CloudWatch logs.
kinesisFirehoseDestination?
Type:
IResolvable | Kinesis
(optional)
An object that contains information about an event destination for logging to Amazon Data Firehose.
snsDestination?
Type:
IResolvable | Sns
(optional)
An object that contains information about an event destination that sends logging events to Amazon SNS.

.NET
Go
Java
Python
TypeScript