Class ConfigurationSetEventDestinationOptions
Options for a configuration set event destination.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ConfigurationSetEventDestinationOptions : IConfigurationSetEventDestinationOptions
Syntax (vb)
Public Class ConfigurationSetEventDestinationOptions Implements IConfigurationSetEventDestinationOptions
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
ConfigurationSetEventDestinationOptions() | Options for a configuration set event destination. |
Properties
ConfigurationSetEventDestinationName | A name for the configuration set event destination. |
Destination | The event destination. |
Enabled | Whether Amazon SES publishes events to this destination. |
Events | The type of email sending events to publish to the event destination. |
Constructors
ConfigurationSetEventDestinationOptions()
Options for a configuration set event destination.
public ConfigurationSetEventDestinationOptions()
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)
});
Properties
ConfigurationSetEventDestinationName
A name for the configuration set event destination.
public string? ConfigurationSetEventDestinationName { get; set; }
Property Value
Remarks
Default: - a CloudFormation generated name
Destination
The event destination.
public EventDestination Destination { get; set; }
Property Value
Remarks
ExampleMetadata: infused
Enabled
Whether Amazon SES publishes events to this destination.
public bool? Enabled { get; set; }
Property Value
bool?
Remarks
Default: true
Events
The type of email sending events to publish to the event destination.
public EmailSendingEvent[]? Events { get; set; }
Property Value
Remarks
Default: - send all event types