Class ConfigurationSetEventDestinationProps
Properties for a configuration set event destination.
Inherited Members
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ConfigurationSetEventDestinationProps : IConfigurationSetEventDestinationProps, IConfigurationSetEventDestinationOptions
Syntax (vb)
Public Class ConfigurationSetEventDestinationProps Implements IConfigurationSetEventDestinationProps, IConfigurationSetEventDestinationOptions
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SES;
ConfigurationSet configurationSet;
EventDestination eventDestination;
var configurationSetEventDestinationProps = new ConfigurationSetEventDestinationProps {
ConfigurationSet = configurationSet,
Destination = eventDestination,
// the properties below are optional
ConfigurationSetEventDestinationName = "configurationSetEventDestinationName",
Enabled = false,
Events = new [] { EmailSendingEvent.SEND }
};
Synopsis
Constructors
ConfigurationSetEventDestinationProps() | Properties for a configuration set event destination. |
Properties
ConfigurationSet | The configuration set that contains the event destination. |
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
ConfigurationSetEventDestinationProps()
Properties for a configuration set event destination.
public ConfigurationSetEventDestinationProps()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SES;
ConfigurationSet configurationSet;
EventDestination eventDestination;
var configurationSetEventDestinationProps = new ConfigurationSetEventDestinationProps {
ConfigurationSet = configurationSet,
Destination = eventDestination,
// the properties below are optional
ConfigurationSetEventDestinationName = "configurationSetEventDestinationName",
Enabled = false,
Events = new [] { EmailSendingEvent.SEND }
};
Properties
ConfigurationSet
The configuration set that contains the event destination.
public IConfigurationSet ConfigurationSet { get; set; }
Property Value
Remarks
ExampleMetadata: fixture=_generated
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: fixture=_generated
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