Skip to content
v2.277.0

CfnConfigurationSetEventDestinationProps Struct ​

Properties for defining a CfnConfigurationSetEventDestination.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ses as ses } from 'aws-cdk-lib';
const cfnConfigurationSetEventDestinationProps: ses.CfnConfigurationSetEventDestinationProps = {
  configurationSetName: 'configurationSetName',
  eventDestination: {
    matchingEventTypes: ['matchingEventTypes'],

    // the properties below are optional
    cloudWatchDestination: {
      dimensionConfigurations: [{
        defaultDimensionValue: 'defaultDimensionValue',
        dimensionName: 'dimensionName',
        dimensionValueSource: 'dimensionValueSource',
      }],
    },
    enabled: false,
    eventBridgeDestination: {
      eventBusArn: 'eventBusArn',
    },
    kinesisFirehoseDestination: {
      deliveryStreamArn: 'deliveryStreamArn',
      iamRoleArn: 'iamRoleArn',
    },
    name: 'name',
    snsDestination: {
      topicArn: 'topicArn',
    },
  },
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ses as ses

cfn_configuration_set_event_destination_props = ses.CfnConfigurationSetEventDestinationProps(
    configuration_set_name="configurationSetName",
    event_destination=ses.CfnConfigurationSetEventDestination.EventDestinationProperty(
        matching_event_types=["matchingEventTypes"],

        # the properties below are optional
        cloud_watch_destination=ses.CfnConfigurationSetEventDestination.CloudWatchDestinationProperty(
            dimension_configurations=[ses.CfnConfigurationSetEventDestination.DimensionConfigurationProperty(
                default_dimension_value="defaultDimensionValue",
                dimension_name="dimensionName",
                dimension_value_source="dimensionValueSource"
            )]
        ),
        enabled=False,
        event_bridge_destination=ses.CfnConfigurationSetEventDestination.EventBridgeDestinationProperty(
            event_bus_arn="eventBusArn"
        ),
        kinesis_firehose_destination=ses.CfnConfigurationSetEventDestination.KinesisFirehoseDestinationProperty(
            delivery_stream_arn="deliveryStreamArn",
            iam_role_arn="iamRoleArn"
        ),
        name="name",
        sns_destination=ses.CfnConfigurationSetEventDestination.SnsDestinationProperty(
            topic_arn="topicArn"
        )
    )
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ses.*;

CfnConfigurationSetEventDestinationProps cfnConfigurationSetEventDestinationProps = CfnConfigurationSetEventDestinationProps.builder()
        .configurationSetName("configurationSetName")
        .eventDestination(EventDestinationProperty.builder()
                .matchingEventTypes(List.of("matchingEventTypes"))

                // the properties below are optional
                .cloudWatchDestination(CloudWatchDestinationProperty.builder()
                        .dimensionConfigurations(List.of(DimensionConfigurationProperty.builder()
                                .defaultDimensionValue("defaultDimensionValue")
                                .dimensionName("dimensionName")
                                .dimensionValueSource("dimensionValueSource")
                                .build()))
                        .build())
                .enabled(false)
                .eventBridgeDestination(EventBridgeDestinationProperty.builder()
                        .eventBusArn("eventBusArn")
                        .build())
                .kinesisFirehoseDestination(KinesisFirehoseDestinationProperty.builder()
                        .deliveryStreamArn("deliveryStreamArn")
                        .iamRoleArn("iamRoleArn")
                        .build())
                .name("name")
                .snsDestination(SnsDestinationProperty.builder()
                        .topicArn("topicArn")
                        .build())
                .build())
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SES;

var cfnConfigurationSetEventDestinationProps = new CfnConfigurationSetEventDestinationProps {
    ConfigurationSetName = "configurationSetName",
    EventDestination = new EventDestinationProperty {
        MatchingEventTypes = new [] { "matchingEventTypes" },

        // the properties below are optional
        CloudWatchDestination = new CloudWatchDestinationProperty {
            DimensionConfigurations = new [] { new DimensionConfigurationProperty {
                DefaultDimensionValue = "defaultDimensionValue",
                DimensionName = "dimensionName",
                DimensionValueSource = "dimensionValueSource"
            } }
        },
        Enabled = false,
        EventBridgeDestination = new EventBridgeDestinationProperty {
            EventBusArn = "eventBusArn"
        },
        KinesisFirehoseDestination = new KinesisFirehoseDestinationProperty {
            DeliveryStreamArn = "deliveryStreamArn",
            IamRoleArn = "iamRoleArn"
        },
        Name = "name",
        SnsDestination = new SnsDestinationProperty {
            TopicArn = "topicArn"
        }
    }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnConfigurationSetEventDestinationProps := &CfnConfigurationSetEventDestinationProps{
	ConfigurationSetName: jsii.String("configurationSetName"),
	EventDestination: &EventDestinationProperty{
		MatchingEventTypes: []*string{
			jsii.String("matchingEventTypes"),
		},

		// the properties below are optional
		CloudWatchDestination: &CloudWatchDestinationProperty{
			DimensionConfigurations: []interface{}{
				&DimensionConfigurationProperty{
					DefaultDimensionValue: jsii.String("defaultDimensionValue"),
					DimensionName: jsii.String("dimensionName"),
					DimensionValueSource: jsii.String("dimensionValueSource"),
				},
			},
		},
		Enabled: jsii.Boolean(false),
		EventBridgeDestination: &EventBridgeDestinationProperty{
			EventBusArn: jsii.String("eventBusArn"),
		},
		KinesisFirehoseDestination: &KinesisFirehoseDestinationProperty{
			DeliveryStreamArn: jsii.String("deliveryStreamArn"),
			IamRoleArn: jsii.String("iamRoleArn"),
		},
		Name: jsii.String("name"),
		SnsDestination: &SnsDestinationProperty{
			TopicArn: jsii.String("topicArn"),
		},
	},
}

Properties ​

configurationSetNamestring | IConfigurationSetRefconfiguration_set_nametyping.Union[str, IConfigurationSetRef]configurationSetNameStringConfigurationSetNamestringConfigurationSetNameinterface{} required #
The name of the configuration set that contains the event destination.
eventDestinationIResolvable | CfnConfigurationSetEventDestination.EventDestinationPropertyevent_destinationtyping.Union[IResolvable, EventDestinationProperty]eventDestinationIResolvableEventDestinationIResolvableEventDestinationinterface{} required #
An object that defines the event destination.