Class ConfigurationSetEventDestination
A configuration set event destination.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ConfigurationSetEventDestination : Resource, IConfigurationSetEventDestination, IResource, IConfigurationSetEventDestinationRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class ConfigurationSetEventDestination Inherits Resource Implements IConfigurationSetEventDestination, IResource, IConfigurationSetEventDestinationRef, IConstruct, IDependable, IEnvironmentAware
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;
using Amazon.CDK.Interfaces.SES;
IConfigurationSetRef configurationSetRef;
EventDestination eventDestination;
var configurationSetEventDestination = new ConfigurationSetEventDestination(this, "MyConfigurationSetEventDestination", new ConfigurationSetEventDestinationProps {
ConfigurationSet = configurationSetRef,
Destination = eventDestination,
// the properties below are optional
ConfigurationSetEventDestinationName = "configurationSetEventDestinationName",
Enabled = false,
Events = new [] { EmailSendingEvent.SEND }
});
Synopsis
Constructors
| ConfigurationSetEventDestination(Construct, string, IConfigurationSetEventDestinationProps) | A configuration set event destination. |
Properties
| ConfigurationSetEventDestinationId | The ID of the configuration set event destination. |
| ConfigurationSetEventDestinationRef | A reference to a ConfigurationSetEventDestination resource. |
| PROPERTY_INJECTION_ID | Uniquely identifies this class. |
Methods
| FromConfigurationSetEventDestinationAttributes(Construct, string, IConfigurationSetEventDestinationAttributes) | Import an existing event destination from its attributes. |
| FromConfigurationSetEventDestinationId(Construct, string, string) | Import an existing event destination by its ID. |
Constructors
ConfigurationSetEventDestination(Construct, string, IConfigurationSetEventDestinationProps)
A configuration set event destination.
public ConfigurationSetEventDestination(Construct scope, string id, IConfigurationSetEventDestinationProps props)
Parameters
- scope Construct
- id string
- props IConfigurationSetEventDestinationProps
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;
using Amazon.CDK.Interfaces.SES;
IConfigurationSetRef configurationSetRef;
EventDestination eventDestination;
var configurationSetEventDestination = new ConfigurationSetEventDestination(this, "MyConfigurationSetEventDestination", new ConfigurationSetEventDestinationProps {
ConfigurationSet = configurationSetRef,
Destination = eventDestination,
// the properties below are optional
ConfigurationSetEventDestinationName = "configurationSetEventDestinationName",
Enabled = false,
Events = new [] { EmailSendingEvent.SEND }
});
Properties
ConfigurationSetEventDestinationId
The ID of the configuration set event destination.
public virtual string ConfigurationSetEventDestinationId { get; }
Property Value
Remarks
ExampleMetadata: fixture=_generated
ConfigurationSetEventDestinationRef
A reference to a ConfigurationSetEventDestination resource.
public virtual IConfigurationSetEventDestinationReference ConfigurationSetEventDestinationRef { get; }
Property Value
IConfigurationSetEventDestinationReference
Remarks
ExampleMetadata: fixture=_generated
PROPERTY_INJECTION_ID
Uniquely identifies this class.
public static string PROPERTY_INJECTION_ID { get; }
Property Value
Remarks
ExampleMetadata: fixture=_generated
Methods
FromConfigurationSetEventDestinationAttributes(Construct, string, IConfigurationSetEventDestinationAttributes)
Import an existing event destination from its attributes.
public static IConfigurationSetEventDestination FromConfigurationSetEventDestinationAttributes(Construct scope, string id, IConfigurationSetEventDestinationAttributes attrs)
Parameters
- scope Construct
- id string
- attrs IConfigurationSetEventDestinationAttributes
Returns
IConfigurationSetEventDestination
Remarks
ExampleMetadata: fixture=_generated
FromConfigurationSetEventDestinationId(Construct, string, string)
Import an existing event destination by its ID.
public static IConfigurationSetEventDestination FromConfigurationSetEventDestinationId(Construct scope, string id, string configurationSetEventDestinationId)
Parameters
Returns
IConfigurationSetEventDestination
Remarks
An ID alone does not identify the configuration set the destination belongs to, so
configurationSetName is not available on the returned reference. Use
fromConfigurationSetEventDestinationAttributes() if you need it.