class EventDestination
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.SES.EventDestination |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsses#EventDestination |
![]() | software.amazon.awscdk.services.ses.EventDestination |
![]() | aws_cdk.aws_ses.EventDestination |
![]() | aws-cdk-lib » aws_ses » EventDestination |
An event destination.
Example
import * as events from 'aws-cdk-lib/aws-events';
declare const myConfigurationSet: ses.ConfigurationSet;
const bus = events.EventBus.fromEventBusName(this, 'EventBus', 'default');
myConfigurationSet.addEventDestination('ToEventBus', {
destination: ses.EventDestination.eventBus(bus),
})
Initializer
new EventDestination()
Properties
Name | Type | Description |
---|---|---|
bus? | IEvent | Use Event Bus as event destination. |
dimensions? | Cloud [] | A list of CloudWatch dimensions upon which to categorize your emails. |
stream? | Firehose | Use Firehose Delivery Stream. |
topic? | ITopic | A SNS topic to use as event destination. |
bus?
Type:
IEvent
(optional, default: do not send events to Event bus)
Use Event Bus as event destination.
dimensions?
Type:
Cloud
[]
(optional, default: do not send events to CloudWatch)
A list of CloudWatch dimensions upon which to categorize your emails.
stream?
Type:
Firehose
(optional, default: do not send events to Firehose Delivery Stream)
Use Firehose Delivery Stream.
topic?
Type:
ITopic
(optional, default: do not send events to a SNS topic)
A SNS topic to use as event destination.
Methods
Name | Description |
---|---|
static cloud | Use CloudWatch dimensions as event destination. |
static event | Use Event Bus as event destination. |
static firehose | Use Firehose Delivery Stream as event destination. |
static sns | Use a SNS topic as event destination. |
static cloudWatchDimensions(dimensions)
public static cloudWatchDimensions(dimensions: CloudWatchDimension[]): EventDestination
Parameters
- dimensions
Cloud
Watch Dimension []
Returns
Use CloudWatch dimensions as event destination.
static eventBus(eventBus)
public static eventBus(eventBus: IEventBus): EventDestination
Parameters
- eventBus
IEvent
Bus
Returns
Use Event Bus as event destination.
static firehoseDeliveryStream(stream)
public static firehoseDeliveryStream(stream: FirehoseDeliveryStreamDestination): EventDestination
Parameters
Returns
Use Firehose Delivery Stream as event destination.
static snsTopic(topic)
public static snsTopic(topic: ITopic): EventDestination
Parameters
- topic
ITopic
Returns
Use a SNS topic as event destination.