Class EventDestination
An event destination.
Inheritance
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public abstract class EventDestination : DeputyBase
Syntax (vb)
Public MustInherit Class EventDestination
Inherits DeputyBase
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.Events;
ConfigurationSet myConfigurationSet;
var bus = EventBus.FromEventBusName(this, "EventBus", "default");
myConfigurationSet.AddEventDestination("ToEventBus", new ConfigurationSetEventDestinationOptions {
Destination = EventDestination.EventBus(bus)
});
Synopsis
Constructors
Event |
|
Event |
Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Event |
Used by jsii to construct an instance of this class from DeputyProps |
Properties
Bus | Use Event Bus as event destination. |
Dimensions | A list of CloudWatch dimensions upon which to categorize your emails. |
Stream | Use Firehose Delivery Stream. |
Topic | A SNS topic to use as event destination. |
Methods
Cloud |
Use CloudWatch dimensions as event destination. |
Event |
Use Event Bus as event destination. |
Firehose |
Use Firehose Delivery Stream as event destination. |
Sns |
Use a SNS topic as event destination. |
Constructors
EventDestination()
protected EventDestination()
EventDestination(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected EventDestination(ByRefValue reference)
Parameters
- reference Amazon.
JSII. Runtime. Deputy. By Ref Value The Javascript-owned object reference
EventDestination(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected EventDestination(DeputyBase.DeputyProps props)
Parameters
- props Amazon.
JSII. Runtime. Deputy. Deputy Base. Deputy Props The deputy props
Properties
Bus
Use Event Bus as event destination.
public abstract IEventBus Bus { get; }
Property Value
Remarks
Default: - do not send events to Event bus
Dimensions
A list of CloudWatch dimensions upon which to categorize your emails.
public abstract ICloudWatchDimension[] Dimensions { get; }
Property Value
Remarks
Default: - do not send events to CloudWatch
Stream
Use Firehose Delivery Stream.
public abstract IFirehoseDeliveryStreamDestination Stream { get; }
Property Value
IFirehose
Remarks
Default: - do not send events to Firehose Delivery Stream
Topic
A SNS topic to use as event destination.
public abstract ITopic Topic { get; }
Property Value
Remarks
Default: - do not send events to a SNS topic
Methods
CloudWatchDimensions(ICloudWatchDimension[])
Use CloudWatch dimensions as event destination.
public static EventDestination CloudWatchDimensions(ICloudWatchDimension[] dimensions)
Parameters
- dimensions ICloud
Watch []Dimension
Returns
EventBus(IEventBus)
Use Event Bus as event destination.
public static EventDestination EventBus(IEventBus eventBus)
Parameters
- eventBus IEvent
Bus
Returns
FirehoseDeliveryStream(IFirehoseDeliveryStreamDestination)
Use Firehose Delivery Stream as event destination.
public static EventDestination FirehoseDeliveryStream(IFirehoseDeliveryStreamDestination stream)
Parameters
Returns
SnsTopic(ITopic)
Use a SNS topic as event destination.
public static EventDestination SnsTopic(ITopic topic)
Parameters
- topic ITopic
Returns