1. Packages
  2. AWS
  3. API Docs
  4. sesv2
  5. ConfigurationSetEventDestination
AWS v6.77.0 published on Wednesday, Apr 9, 2025 by Pulumi

aws.sesv2.ConfigurationSetEventDestination

Explore with Pulumi AI

Resource for managing an AWS SESv2 (Simple Email V2) Configuration Set Event Destination.

Example Usage

CloudWatch Destination

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.sesv2.ConfigurationSet("example", {configurationSetName: "example"});
const exampleConfigurationSetEventDestination = new aws.sesv2.ConfigurationSetEventDestination("example", {
    configurationSetName: example.configurationSetName,
    eventDestinationName: "example",
    eventDestination: {
        cloudWatchDestination: {
            dimensionConfigurations: [{
                defaultDimensionValue: "example",
                dimensionName: "example",
                dimensionValueSource: "MESSAGE_TAG",
            }],
        },
        enabled: true,
        matchingEventTypes: ["SEND"],
    },
});
Copy
import pulumi
import pulumi_aws as aws

example = aws.sesv2.ConfigurationSet("example", configuration_set_name="example")
example_configuration_set_event_destination = aws.sesv2.ConfigurationSetEventDestination("example",
    configuration_set_name=example.configuration_set_name,
    event_destination_name="example",
    event_destination={
        "cloud_watch_destination": {
            "dimension_configurations": [{
                "default_dimension_value": "example",
                "dimension_name": "example",
                "dimension_value_source": "MESSAGE_TAG",
            }],
        },
        "enabled": True,
        "matching_event_types": ["SEND"],
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sesv2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := sesv2.NewConfigurationSet(ctx, "example", &sesv2.ConfigurationSetArgs{
			ConfigurationSetName: pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		_, err = sesv2.NewConfigurationSetEventDestination(ctx, "example", &sesv2.ConfigurationSetEventDestinationArgs{
			ConfigurationSetName: example.ConfigurationSetName,
			EventDestinationName: pulumi.String("example"),
			EventDestination: &sesv2.ConfigurationSetEventDestinationEventDestinationArgs{
				CloudWatchDestination: &sesv2.ConfigurationSetEventDestinationEventDestinationCloudWatchDestinationArgs{
					DimensionConfigurations: sesv2.ConfigurationSetEventDestinationEventDestinationCloudWatchDestinationDimensionConfigurationArray{
						&sesv2.ConfigurationSetEventDestinationEventDestinationCloudWatchDestinationDimensionConfigurationArgs{
							DefaultDimensionValue: pulumi.String("example"),
							DimensionName:         pulumi.String("example"),
							DimensionValueSource:  pulumi.String("MESSAGE_TAG"),
						},
					},
				},
				Enabled: pulumi.Bool(true),
				MatchingEventTypes: pulumi.StringArray{
					pulumi.String("SEND"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = new Aws.SesV2.ConfigurationSet("example", new()
    {
        ConfigurationSetName = "example",
    });

    var exampleConfigurationSetEventDestination = new Aws.SesV2.ConfigurationSetEventDestination("example", new()
    {
        ConfigurationSetName = example.ConfigurationSetName,
        EventDestinationName = "example",
        EventDestination = new Aws.SesV2.Inputs.ConfigurationSetEventDestinationEventDestinationArgs
        {
            CloudWatchDestination = new Aws.SesV2.Inputs.ConfigurationSetEventDestinationEventDestinationCloudWatchDestinationArgs
            {
                DimensionConfigurations = new[]
                {
                    new Aws.SesV2.Inputs.ConfigurationSetEventDestinationEventDestinationCloudWatchDestinationDimensionConfigurationArgs
                    {
                        DefaultDimensionValue = "example",
                        DimensionName = "example",
                        DimensionValueSource = "MESSAGE_TAG",
                    },
                },
            },
            Enabled = true,
            MatchingEventTypes = new[]
            {
                "SEND",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.sesv2.ConfigurationSet;
import com.pulumi.aws.sesv2.ConfigurationSetArgs;
import com.pulumi.aws.sesv2.ConfigurationSetEventDestination;
import com.pulumi.aws.sesv2.ConfigurationSetEventDestinationArgs;
import com.pulumi.aws.sesv2.inputs.ConfigurationSetEventDestinationEventDestinationArgs;
import com.pulumi.aws.sesv2.inputs.ConfigurationSetEventDestinationEventDestinationCloudWatchDestinationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new ConfigurationSet("example", ConfigurationSetArgs.builder()
            .configurationSetName("example")
            .build());

        var exampleConfigurationSetEventDestination = new ConfigurationSetEventDestination("exampleConfigurationSetEventDestination", ConfigurationSetEventDestinationArgs.builder()
            .configurationSetName(example.configurationSetName())
            .eventDestinationName("example")
            .eventDestination(ConfigurationSetEventDestinationEventDestinationArgs.builder()
                .cloudWatchDestination(ConfigurationSetEventDestinationEventDestinationCloudWatchDestinationArgs.builder()
                    .dimensionConfigurations(ConfigurationSetEventDestinationEventDestinationCloudWatchDestinationDimensionConfigurationArgs.builder()
                        .defaultDimensionValue("example")
                        .dimensionName("example")
                        .dimensionValueSource("MESSAGE_TAG")
                        .build())
                    .build())
                .enabled(true)
                .matchingEventTypes("SEND")
                .build())
            .build());

    }
}
Copy
resources:
  example:
    type: aws:sesv2:ConfigurationSet
    properties:
      configurationSetName: example
  exampleConfigurationSetEventDestination:
    type: aws:sesv2:ConfigurationSetEventDestination
    name: example
    properties:
      configurationSetName: ${example.configurationSetName}
      eventDestinationName: example
      eventDestination:
        cloudWatchDestination:
          dimensionConfigurations:
            - defaultDimensionValue: example
              dimensionName: example
              dimensionValueSource: MESSAGE_TAG
        enabled: true
        matchingEventTypes:
          - SEND
Copy

EventBridge Destination

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const _default = aws.cloudwatch.getEventBus({
    name: "default",
});
const example = new aws.sesv2.ConfigurationSetEventDestination("example", {
    configurationSetName: exampleAwsSesv2ConfigurationSet.configurationSetName,
    eventDestinationName: "example",
    eventDestination: {
        eventBridgeDestination: {
            eventBusArn: _default.then(_default => _default.arn),
        },
        enabled: true,
        matchingEventTypes: ["SEND"],
    },
});
Copy
import pulumi
import pulumi_aws as aws

default = aws.cloudwatch.get_event_bus(name="default")
example = aws.sesv2.ConfigurationSetEventDestination("example",
    configuration_set_name=example_aws_sesv2_configuration_set["configurationSetName"],
    event_destination_name="example",
    event_destination={
        "event_bridge_destination": {
            "event_bus_arn": default.arn,
        },
        "enabled": True,
        "matching_event_types": ["SEND"],
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudwatch"
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sesv2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_default, err := cloudwatch.LookupEventBus(ctx, &cloudwatch.LookupEventBusArgs{
			Name: "default",
		}, nil)
		if err != nil {
			return err
		}
		_, err = sesv2.NewConfigurationSetEventDestination(ctx, "example", &sesv2.ConfigurationSetEventDestinationArgs{
			ConfigurationSetName: pulumi.Any(exampleAwsSesv2ConfigurationSet.ConfigurationSetName),
			EventDestinationName: pulumi.String("example"),
			EventDestination: &sesv2.ConfigurationSetEventDestinationEventDestinationArgs{
				EventBridgeDestination: &sesv2.ConfigurationSetEventDestinationEventDestinationEventBridgeDestinationArgs{
					EventBusArn: pulumi.String(_default.Arn),
				},
				Enabled: pulumi.Bool(true),
				MatchingEventTypes: pulumi.StringArray{
					pulumi.String("SEND"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var @default = Aws.CloudWatch.GetEventBus.Invoke(new()
    {
        Name = "default",
    });

    var example = new Aws.SesV2.ConfigurationSetEventDestination("example", new()
    {
        ConfigurationSetName = exampleAwsSesv2ConfigurationSet.ConfigurationSetName,
        EventDestinationName = "example",
        EventDestination = new Aws.SesV2.Inputs.ConfigurationSetEventDestinationEventDestinationArgs
        {
            EventBridgeDestination = new Aws.SesV2.Inputs.ConfigurationSetEventDestinationEventDestinationEventBridgeDestinationArgs
            {
                EventBusArn = @default.Apply(@default => @default.Apply(getEventBusResult => getEventBusResult.Arn)),
            },
            Enabled = true,
            MatchingEventTypes = new[]
            {
                "SEND",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.cloudwatch.CloudwatchFunctions;
import com.pulumi.aws.cloudwatch.inputs.GetEventBusArgs;
import com.pulumi.aws.sesv2.ConfigurationSetEventDestination;
import com.pulumi.aws.sesv2.ConfigurationSetEventDestinationArgs;
import com.pulumi.aws.sesv2.inputs.ConfigurationSetEventDestinationEventDestinationArgs;
import com.pulumi.aws.sesv2.inputs.ConfigurationSetEventDestinationEventDestinationEventBridgeDestinationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var default = CloudwatchFunctions.getEventBus(GetEventBusArgs.builder()
            .name("default")
            .build());

        var example = new ConfigurationSetEventDestination("example", ConfigurationSetEventDestinationArgs.builder()
            .configurationSetName(exampleAwsSesv2ConfigurationSet.configurationSetName())
            .eventDestinationName("example")
            .eventDestination(ConfigurationSetEventDestinationEventDestinationArgs.builder()
                .eventBridgeDestination(ConfigurationSetEventDestinationEventDestinationEventBridgeDestinationArgs.builder()
                    .eventBusArn(default_.arn())
                    .build())
                .enabled(true)
                .matchingEventTypes("SEND")
                .build())
            .build());

    }
}
Copy
resources:
  example:
    type: aws:sesv2:ConfigurationSetEventDestination
    properties:
      configurationSetName: ${exampleAwsSesv2ConfigurationSet.configurationSetName}
      eventDestinationName: example
      eventDestination:
        eventBridgeDestination:
          eventBusArn: ${default.arn}
        enabled: true
        matchingEventTypes:
          - SEND
variables:
  default:
    fn::invoke:
      function: aws:cloudwatch:getEventBus
      arguments:
        name: default
Copy

Kinesis Firehose Destination

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.sesv2.ConfigurationSet("example", {configurationSetName: "example"});
const exampleConfigurationSetEventDestination = new aws.sesv2.ConfigurationSetEventDestination("example", {
    configurationSetName: example.configurationSetName,
    eventDestinationName: "example",
    eventDestination: {
        kinesisFirehoseDestination: {
            deliveryStreamArn: exampleAwsKinesisFirehoseDeliveryStream.arn,
            iamRoleArn: exampleAwsIamRole.arn,
        },
        enabled: true,
        matchingEventTypes: ["SEND"],
    },
});
Copy
import pulumi
import pulumi_aws as aws

example = aws.sesv2.ConfigurationSet("example", configuration_set_name="example")
example_configuration_set_event_destination = aws.sesv2.ConfigurationSetEventDestination("example",
    configuration_set_name=example.configuration_set_name,
    event_destination_name="example",
    event_destination={
        "kinesis_firehose_destination": {
            "delivery_stream_arn": example_aws_kinesis_firehose_delivery_stream["arn"],
            "iam_role_arn": example_aws_iam_role["arn"],
        },
        "enabled": True,
        "matching_event_types": ["SEND"],
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sesv2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := sesv2.NewConfigurationSet(ctx, "example", &sesv2.ConfigurationSetArgs{
			ConfigurationSetName: pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		_, err = sesv2.NewConfigurationSetEventDestination(ctx, "example", &sesv2.ConfigurationSetEventDestinationArgs{
			ConfigurationSetName: example.ConfigurationSetName,
			EventDestinationName: pulumi.String("example"),
			EventDestination: &sesv2.ConfigurationSetEventDestinationEventDestinationArgs{
				KinesisFirehoseDestination: &sesv2.ConfigurationSetEventDestinationEventDestinationKinesisFirehoseDestinationArgs{
					DeliveryStreamArn: pulumi.Any(exampleAwsKinesisFirehoseDeliveryStream.Arn),
					IamRoleArn:        pulumi.Any(exampleAwsIamRole.Arn),
				},
				Enabled: pulumi.Bool(true),
				MatchingEventTypes: pulumi.StringArray{
					pulumi.String("SEND"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = new Aws.SesV2.ConfigurationSet("example", new()
    {
        ConfigurationSetName = "example",
    });

    var exampleConfigurationSetEventDestination = new Aws.SesV2.ConfigurationSetEventDestination("example", new()
    {
        ConfigurationSetName = example.ConfigurationSetName,
        EventDestinationName = "example",
        EventDestination = new Aws.SesV2.Inputs.ConfigurationSetEventDestinationEventDestinationArgs
        {
            KinesisFirehoseDestination = new Aws.SesV2.Inputs.ConfigurationSetEventDestinationEventDestinationKinesisFirehoseDestinationArgs
            {
                DeliveryStreamArn = exampleAwsKinesisFirehoseDeliveryStream.Arn,
                IamRoleArn = exampleAwsIamRole.Arn,
            },
            Enabled = true,
            MatchingEventTypes = new[]
            {
                "SEND",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.sesv2.ConfigurationSet;
import com.pulumi.aws.sesv2.ConfigurationSetArgs;
import com.pulumi.aws.sesv2.ConfigurationSetEventDestination;
import com.pulumi.aws.sesv2.ConfigurationSetEventDestinationArgs;
import com.pulumi.aws.sesv2.inputs.ConfigurationSetEventDestinationEventDestinationArgs;
import com.pulumi.aws.sesv2.inputs.ConfigurationSetEventDestinationEventDestinationKinesisFirehoseDestinationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new ConfigurationSet("example", ConfigurationSetArgs.builder()
            .configurationSetName("example")
            .build());

        var exampleConfigurationSetEventDestination = new ConfigurationSetEventDestination("exampleConfigurationSetEventDestination", ConfigurationSetEventDestinationArgs.builder()
            .configurationSetName(example.configurationSetName())
            .eventDestinationName("example")
            .eventDestination(ConfigurationSetEventDestinationEventDestinationArgs.builder()
                .kinesisFirehoseDestination(ConfigurationSetEventDestinationEventDestinationKinesisFirehoseDestinationArgs.builder()
                    .deliveryStreamArn(exampleAwsKinesisFirehoseDeliveryStream.arn())
                    .iamRoleArn(exampleAwsIamRole.arn())
                    .build())
                .enabled(true)
                .matchingEventTypes("SEND")
                .build())
            .build());

    }
}
Copy
resources:
  example:
    type: aws:sesv2:ConfigurationSet
    properties:
      configurationSetName: example
  exampleConfigurationSetEventDestination:
    type: aws:sesv2:ConfigurationSetEventDestination
    name: example
    properties:
      configurationSetName: ${example.configurationSetName}
      eventDestinationName: example
      eventDestination:
        kinesisFirehoseDestination:
          deliveryStreamArn: ${exampleAwsKinesisFirehoseDeliveryStream.arn}
          iamRoleArn: ${exampleAwsIamRole.arn}
        enabled: true
        matchingEventTypes:
          - SEND
Copy

Pinpoint Destination

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.sesv2.ConfigurationSet("example", {configurationSetName: "example"});
const exampleConfigurationSetEventDestination = new aws.sesv2.ConfigurationSetEventDestination("example", {
    configurationSetName: example.configurationSetName,
    eventDestinationName: "example",
    eventDestination: {
        pinpointDestination: {
            applicationArn: exampleAwsPinpointApp.arn,
        },
        enabled: true,
        matchingEventTypes: ["SEND"],
    },
});
Copy
import pulumi
import pulumi_aws as aws

example = aws.sesv2.ConfigurationSet("example", configuration_set_name="example")
example_configuration_set_event_destination = aws.sesv2.ConfigurationSetEventDestination("example",
    configuration_set_name=example.configuration_set_name,
    event_destination_name="example",
    event_destination={
        "pinpoint_destination": {
            "application_arn": example_aws_pinpoint_app["arn"],
        },
        "enabled": True,
        "matching_event_types": ["SEND"],
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sesv2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := sesv2.NewConfigurationSet(ctx, "example", &sesv2.ConfigurationSetArgs{
			ConfigurationSetName: pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		_, err = sesv2.NewConfigurationSetEventDestination(ctx, "example", &sesv2.ConfigurationSetEventDestinationArgs{
			ConfigurationSetName: example.ConfigurationSetName,
			EventDestinationName: pulumi.String("example"),
			EventDestination: &sesv2.ConfigurationSetEventDestinationEventDestinationArgs{
				PinpointDestination: &sesv2.ConfigurationSetEventDestinationEventDestinationPinpointDestinationArgs{
					ApplicationArn: pulumi.Any(exampleAwsPinpointApp.Arn),
				},
				Enabled: pulumi.Bool(true),
				MatchingEventTypes: pulumi.StringArray{
					pulumi.String("SEND"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = new Aws.SesV2.ConfigurationSet("example", new()
    {
        ConfigurationSetName = "example",
    });

    var exampleConfigurationSetEventDestination = new Aws.SesV2.ConfigurationSetEventDestination("example", new()
    {
        ConfigurationSetName = example.ConfigurationSetName,
        EventDestinationName = "example",
        EventDestination = new Aws.SesV2.Inputs.ConfigurationSetEventDestinationEventDestinationArgs
        {
            PinpointDestination = new Aws.SesV2.Inputs.ConfigurationSetEventDestinationEventDestinationPinpointDestinationArgs
            {
                ApplicationArn = exampleAwsPinpointApp.Arn,
            },
            Enabled = true,
            MatchingEventTypes = new[]
            {
                "SEND",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.sesv2.ConfigurationSet;
import com.pulumi.aws.sesv2.ConfigurationSetArgs;
import com.pulumi.aws.sesv2.ConfigurationSetEventDestination;
import com.pulumi.aws.sesv2.ConfigurationSetEventDestinationArgs;
import com.pulumi.aws.sesv2.inputs.ConfigurationSetEventDestinationEventDestinationArgs;
import com.pulumi.aws.sesv2.inputs.ConfigurationSetEventDestinationEventDestinationPinpointDestinationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new ConfigurationSet("example", ConfigurationSetArgs.builder()
            .configurationSetName("example")
            .build());

        var exampleConfigurationSetEventDestination = new ConfigurationSetEventDestination("exampleConfigurationSetEventDestination", ConfigurationSetEventDestinationArgs.builder()
            .configurationSetName(example.configurationSetName())
            .eventDestinationName("example")
            .eventDestination(ConfigurationSetEventDestinationEventDestinationArgs.builder()
                .pinpointDestination(ConfigurationSetEventDestinationEventDestinationPinpointDestinationArgs.builder()
                    .applicationArn(exampleAwsPinpointApp.arn())
                    .build())
                .enabled(true)
                .matchingEventTypes("SEND")
                .build())
            .build());

    }
}
Copy
resources:
  example:
    type: aws:sesv2:ConfigurationSet
    properties:
      configurationSetName: example
  exampleConfigurationSetEventDestination:
    type: aws:sesv2:ConfigurationSetEventDestination
    name: example
    properties:
      configurationSetName: ${example.configurationSetName}
      eventDestinationName: example
      eventDestination:
        pinpointDestination:
          applicationArn: ${exampleAwsPinpointApp.arn}
        enabled: true
        matchingEventTypes:
          - SEND
Copy

SNS Destination

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.sesv2.ConfigurationSet("example", {configurationSetName: "example"});
const exampleConfigurationSetEventDestination = new aws.sesv2.ConfigurationSetEventDestination("example", {
    configurationSetName: example.configurationSetName,
    eventDestinationName: "example",
    eventDestination: {
        snsDestination: {
            topicArn: exampleAwsSnsTopic.arn,
        },
        enabled: true,
        matchingEventTypes: ["SEND"],
    },
});
Copy
import pulumi
import pulumi_aws as aws

example = aws.sesv2.ConfigurationSet("example", configuration_set_name="example")
example_configuration_set_event_destination = aws.sesv2.ConfigurationSetEventDestination("example",
    configuration_set_name=example.configuration_set_name,
    event_destination_name="example",
    event_destination={
        "sns_destination": {
            "topic_arn": example_aws_sns_topic["arn"],
        },
        "enabled": True,
        "matching_event_types": ["SEND"],
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sesv2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := sesv2.NewConfigurationSet(ctx, "example", &sesv2.ConfigurationSetArgs{
			ConfigurationSetName: pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		_, err = sesv2.NewConfigurationSetEventDestination(ctx, "example", &sesv2.ConfigurationSetEventDestinationArgs{
			ConfigurationSetName: example.ConfigurationSetName,
			EventDestinationName: pulumi.String("example"),
			EventDestination: &sesv2.ConfigurationSetEventDestinationEventDestinationArgs{
				SnsDestination: &sesv2.ConfigurationSetEventDestinationEventDestinationSnsDestinationArgs{
					TopicArn: pulumi.Any(exampleAwsSnsTopic.Arn),
				},
				Enabled: pulumi.Bool(true),
				MatchingEventTypes: pulumi.StringArray{
					pulumi.String("SEND"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = new Aws.SesV2.ConfigurationSet("example", new()
    {
        ConfigurationSetName = "example",
    });

    var exampleConfigurationSetEventDestination = new Aws.SesV2.ConfigurationSetEventDestination("example", new()
    {
        ConfigurationSetName = example.ConfigurationSetName,
        EventDestinationName = "example",
        EventDestination = new Aws.SesV2.Inputs.ConfigurationSetEventDestinationEventDestinationArgs
        {
            SnsDestination = new Aws.SesV2.Inputs.ConfigurationSetEventDestinationEventDestinationSnsDestinationArgs
            {
                TopicArn = exampleAwsSnsTopic.Arn,
            },
            Enabled = true,
            MatchingEventTypes = new[]
            {
                "SEND",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.sesv2.ConfigurationSet;
import com.pulumi.aws.sesv2.ConfigurationSetArgs;
import com.pulumi.aws.sesv2.ConfigurationSetEventDestination;
import com.pulumi.aws.sesv2.ConfigurationSetEventDestinationArgs;
import com.pulumi.aws.sesv2.inputs.ConfigurationSetEventDestinationEventDestinationArgs;
import com.pulumi.aws.sesv2.inputs.ConfigurationSetEventDestinationEventDestinationSnsDestinationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new ConfigurationSet("example", ConfigurationSetArgs.builder()
            .configurationSetName("example")
            .build());

        var exampleConfigurationSetEventDestination = new ConfigurationSetEventDestination("exampleConfigurationSetEventDestination", ConfigurationSetEventDestinationArgs.builder()
            .configurationSetName(example.configurationSetName())
            .eventDestinationName("example")
            .eventDestination(ConfigurationSetEventDestinationEventDestinationArgs.builder()
                .snsDestination(ConfigurationSetEventDestinationEventDestinationSnsDestinationArgs.builder()
                    .topicArn(exampleAwsSnsTopic.arn())
                    .build())
                .enabled(true)
                .matchingEventTypes("SEND")
                .build())
            .build());

    }
}
Copy
resources:
  example:
    type: aws:sesv2:ConfigurationSet
    properties:
      configurationSetName: example
  exampleConfigurationSetEventDestination:
    type: aws:sesv2:ConfigurationSetEventDestination
    name: example
    properties:
      configurationSetName: ${example.configurationSetName}
      eventDestinationName: example
      eventDestination:
        snsDestination:
          topicArn: ${exampleAwsSnsTopic.arn}
        enabled: true
        matchingEventTypes:
          - SEND
Copy

Create ConfigurationSetEventDestination Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ConfigurationSetEventDestination(name: string, args: ConfigurationSetEventDestinationArgs, opts?: CustomResourceOptions);
@overload
def ConfigurationSetEventDestination(resource_name: str,
                                     args: ConfigurationSetEventDestinationArgs,
                                     opts: Optional[ResourceOptions] = None)

@overload
def ConfigurationSetEventDestination(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     configuration_set_name: Optional[str] = None,
                                     event_destination: Optional[ConfigurationSetEventDestinationEventDestinationArgs] = None,
                                     event_destination_name: Optional[str] = None)
func NewConfigurationSetEventDestination(ctx *Context, name string, args ConfigurationSetEventDestinationArgs, opts ...ResourceOption) (*ConfigurationSetEventDestination, error)
public ConfigurationSetEventDestination(string name, ConfigurationSetEventDestinationArgs args, CustomResourceOptions? opts = null)
public ConfigurationSetEventDestination(String name, ConfigurationSetEventDestinationArgs args)
public ConfigurationSetEventDestination(String name, ConfigurationSetEventDestinationArgs args, CustomResourceOptions options)
type: aws:sesv2:ConfigurationSetEventDestination
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ConfigurationSetEventDestinationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ConfigurationSetEventDestinationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ConfigurationSetEventDestinationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ConfigurationSetEventDestinationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ConfigurationSetEventDestinationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var configurationSetEventDestinationResource = new Aws.SesV2.ConfigurationSetEventDestination("configurationSetEventDestinationResource", new()
{
    ConfigurationSetName = "string",
    EventDestination = new Aws.SesV2.Inputs.ConfigurationSetEventDestinationEventDestinationArgs
    {
        MatchingEventTypes = new[]
        {
            "string",
        },
        CloudWatchDestination = new Aws.SesV2.Inputs.ConfigurationSetEventDestinationEventDestinationCloudWatchDestinationArgs
        {
            DimensionConfigurations = new[]
            {
                new Aws.SesV2.Inputs.ConfigurationSetEventDestinationEventDestinationCloudWatchDestinationDimensionConfigurationArgs
                {
                    DefaultDimensionValue = "string",
                    DimensionName = "string",
                    DimensionValueSource = "string",
                },
            },
        },
        Enabled = false,
        EventBridgeDestination = new Aws.SesV2.Inputs.ConfigurationSetEventDestinationEventDestinationEventBridgeDestinationArgs
        {
            EventBusArn = "string",
        },
        KinesisFirehoseDestination = new Aws.SesV2.Inputs.ConfigurationSetEventDestinationEventDestinationKinesisFirehoseDestinationArgs
        {
            DeliveryStreamArn = "string",
            IamRoleArn = "string",
        },
        PinpointDestination = new Aws.SesV2.Inputs.ConfigurationSetEventDestinationEventDestinationPinpointDestinationArgs
        {
            ApplicationArn = "string",
        },
        SnsDestination = new Aws.SesV2.Inputs.ConfigurationSetEventDestinationEventDestinationSnsDestinationArgs
        {
            TopicArn = "string",
        },
    },
    EventDestinationName = "string",
});
Copy
example, err := sesv2.NewConfigurationSetEventDestination(ctx, "configurationSetEventDestinationResource", &sesv2.ConfigurationSetEventDestinationArgs{
	ConfigurationSetName: pulumi.String("string"),
	EventDestination: &sesv2.ConfigurationSetEventDestinationEventDestinationArgs{
		MatchingEventTypes: pulumi.StringArray{
			pulumi.String("string"),
		},
		CloudWatchDestination: &sesv2.ConfigurationSetEventDestinationEventDestinationCloudWatchDestinationArgs{
			DimensionConfigurations: sesv2.ConfigurationSetEventDestinationEventDestinationCloudWatchDestinationDimensionConfigurationArray{
				&sesv2.ConfigurationSetEventDestinationEventDestinationCloudWatchDestinationDimensionConfigurationArgs{
					DefaultDimensionValue: pulumi.String("string"),
					DimensionName:         pulumi.String("string"),
					DimensionValueSource:  pulumi.String("string"),
				},
			},
		},
		Enabled: pulumi.Bool(false),
		EventBridgeDestination: &sesv2.ConfigurationSetEventDestinationEventDestinationEventBridgeDestinationArgs{
			EventBusArn: pulumi.String("string"),
		},
		KinesisFirehoseDestination: &sesv2.ConfigurationSetEventDestinationEventDestinationKinesisFirehoseDestinationArgs{
			DeliveryStreamArn: pulumi.String("string"),
			IamRoleArn:        pulumi.String("string"),
		},
		PinpointDestination: &sesv2.ConfigurationSetEventDestinationEventDestinationPinpointDestinationArgs{
			ApplicationArn: pulumi.String("string"),
		},
		SnsDestination: &sesv2.ConfigurationSetEventDestinationEventDestinationSnsDestinationArgs{
			TopicArn: pulumi.String("string"),
		},
	},
	EventDestinationName: pulumi.String("string"),
})
Copy
var configurationSetEventDestinationResource = new ConfigurationSetEventDestination("configurationSetEventDestinationResource", ConfigurationSetEventDestinationArgs.builder()
    .configurationSetName("string")
    .eventDestination(ConfigurationSetEventDestinationEventDestinationArgs.builder()
        .matchingEventTypes("string")
        .cloudWatchDestination(ConfigurationSetEventDestinationEventDestinationCloudWatchDestinationArgs.builder()
            .dimensionConfigurations(ConfigurationSetEventDestinationEventDestinationCloudWatchDestinationDimensionConfigurationArgs.builder()
                .defaultDimensionValue("string")
                .dimensionName("string")
                .dimensionValueSource("string")
                .build())
            .build())
        .enabled(false)
        .eventBridgeDestination(ConfigurationSetEventDestinationEventDestinationEventBridgeDestinationArgs.builder()
            .eventBusArn("string")
            .build())
        .kinesisFirehoseDestination(ConfigurationSetEventDestinationEventDestinationKinesisFirehoseDestinationArgs.builder()
            .deliveryStreamArn("string")
            .iamRoleArn("string")
            .build())
        .pinpointDestination(ConfigurationSetEventDestinationEventDestinationPinpointDestinationArgs.builder()
            .applicationArn("string")
            .build())
        .snsDestination(ConfigurationSetEventDestinationEventDestinationSnsDestinationArgs.builder()
            .topicArn("string")
            .build())
        .build())
    .eventDestinationName("string")
    .build());
Copy
configuration_set_event_destination_resource = aws.sesv2.ConfigurationSetEventDestination("configurationSetEventDestinationResource",
    configuration_set_name="string",
    event_destination={
        "matching_event_types": ["string"],
        "cloud_watch_destination": {
            "dimension_configurations": [{
                "default_dimension_value": "string",
                "dimension_name": "string",
                "dimension_value_source": "string",
            }],
        },
        "enabled": False,
        "event_bridge_destination": {
            "event_bus_arn": "string",
        },
        "kinesis_firehose_destination": {
            "delivery_stream_arn": "string",
            "iam_role_arn": "string",
        },
        "pinpoint_destination": {
            "application_arn": "string",
        },
        "sns_destination": {
            "topic_arn": "string",
        },
    },
    event_destination_name="string")
Copy
const configurationSetEventDestinationResource = new aws.sesv2.ConfigurationSetEventDestination("configurationSetEventDestinationResource", {
    configurationSetName: "string",
    eventDestination: {
        matchingEventTypes: ["string"],
        cloudWatchDestination: {
            dimensionConfigurations: [{
                defaultDimensionValue: "string",
                dimensionName: "string",
                dimensionValueSource: "string",
            }],
        },
        enabled: false,
        eventBridgeDestination: {
            eventBusArn: "string",
        },
        kinesisFirehoseDestination: {
            deliveryStreamArn: "string",
            iamRoleArn: "string",
        },
        pinpointDestination: {
            applicationArn: "string",
        },
        snsDestination: {
            topicArn: "string",
        },
    },
    eventDestinationName: "string",
});
Copy
type: aws:sesv2:ConfigurationSetEventDestination
properties:
    configurationSetName: string
    eventDestination:
        cloudWatchDestination:
            dimensionConfigurations:
                - defaultDimensionValue: string
                  dimensionName: string
                  dimensionValueSource: string
        enabled: false
        eventBridgeDestination:
            eventBusArn: string
        kinesisFirehoseDestination:
            deliveryStreamArn: string
            iamRoleArn: string
        matchingEventTypes:
            - string
        pinpointDestination:
            applicationArn: string
        snsDestination:
            topicArn: string
    eventDestinationName: string
Copy

ConfigurationSetEventDestination Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ConfigurationSetEventDestination resource accepts the following input properties:

ConfigurationSetName
This property is required.
Changes to this property will trigger replacement.
string
The name of the configuration set.
EventDestination This property is required. ConfigurationSetEventDestinationEventDestination
A name that identifies the event destination within the configuration set.
EventDestinationName
This property is required.
Changes to this property will trigger replacement.
string
An object that defines the event destination. See event_destination Block for details.
ConfigurationSetName
This property is required.
Changes to this property will trigger replacement.
string
The name of the configuration set.
EventDestination This property is required. ConfigurationSetEventDestinationEventDestinationArgs
A name that identifies the event destination within the configuration set.
EventDestinationName
This property is required.
Changes to this property will trigger replacement.
string
An object that defines the event destination. See event_destination Block for details.
configurationSetName
This property is required.
Changes to this property will trigger replacement.
String
The name of the configuration set.
eventDestination This property is required. ConfigurationSetEventDestinationEventDestination
A name that identifies the event destination within the configuration set.
eventDestinationName
This property is required.
Changes to this property will trigger replacement.
String
An object that defines the event destination. See event_destination Block for details.
configurationSetName
This property is required.
Changes to this property will trigger replacement.
string
The name of the configuration set.
eventDestination This property is required. ConfigurationSetEventDestinationEventDestination
A name that identifies the event destination within the configuration set.
eventDestinationName
This property is required.
Changes to this property will trigger replacement.
string
An object that defines the event destination. See event_destination Block for details.
configuration_set_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the configuration set.
event_destination This property is required. ConfigurationSetEventDestinationEventDestinationArgs
A name that identifies the event destination within the configuration set.
event_destination_name
This property is required.
Changes to this property will trigger replacement.
str
An object that defines the event destination. See event_destination Block for details.
configurationSetName
This property is required.
Changes to this property will trigger replacement.
String
The name of the configuration set.
eventDestination This property is required. Property Map
A name that identifies the event destination within the configuration set.
eventDestinationName
This property is required.
Changes to this property will trigger replacement.
String
An object that defines the event destination. See event_destination Block for details.

Outputs

All input properties are implicitly available as output properties. Additionally, the ConfigurationSetEventDestination resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing ConfigurationSetEventDestination Resource

Get an existing ConfigurationSetEventDestination resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ConfigurationSetEventDestinationState, opts?: CustomResourceOptions): ConfigurationSetEventDestination
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        configuration_set_name: Optional[str] = None,
        event_destination: Optional[ConfigurationSetEventDestinationEventDestinationArgs] = None,
        event_destination_name: Optional[str] = None) -> ConfigurationSetEventDestination
func GetConfigurationSetEventDestination(ctx *Context, name string, id IDInput, state *ConfigurationSetEventDestinationState, opts ...ResourceOption) (*ConfigurationSetEventDestination, error)
public static ConfigurationSetEventDestination Get(string name, Input<string> id, ConfigurationSetEventDestinationState? state, CustomResourceOptions? opts = null)
public static ConfigurationSetEventDestination get(String name, Output<String> id, ConfigurationSetEventDestinationState state, CustomResourceOptions options)
resources:  _:    type: aws:sesv2:ConfigurationSetEventDestination    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
ConfigurationSetName Changes to this property will trigger replacement. string
The name of the configuration set.
EventDestination ConfigurationSetEventDestinationEventDestination
A name that identifies the event destination within the configuration set.
EventDestinationName Changes to this property will trigger replacement. string
An object that defines the event destination. See event_destination Block for details.
ConfigurationSetName Changes to this property will trigger replacement. string
The name of the configuration set.
EventDestination ConfigurationSetEventDestinationEventDestinationArgs
A name that identifies the event destination within the configuration set.
EventDestinationName Changes to this property will trigger replacement. string
An object that defines the event destination. See event_destination Block for details.
configurationSetName Changes to this property will trigger replacement. String
The name of the configuration set.
eventDestination ConfigurationSetEventDestinationEventDestination
A name that identifies the event destination within the configuration set.
eventDestinationName Changes to this property will trigger replacement. String
An object that defines the event destination. See event_destination Block for details.
configurationSetName Changes to this property will trigger replacement. string
The name of the configuration set.
eventDestination ConfigurationSetEventDestinationEventDestination
A name that identifies the event destination within the configuration set.
eventDestinationName Changes to this property will trigger replacement. string
An object that defines the event destination. See event_destination Block for details.
configuration_set_name Changes to this property will trigger replacement. str
The name of the configuration set.
event_destination ConfigurationSetEventDestinationEventDestinationArgs
A name that identifies the event destination within the configuration set.
event_destination_name Changes to this property will trigger replacement. str
An object that defines the event destination. See event_destination Block for details.
configurationSetName Changes to this property will trigger replacement. String
The name of the configuration set.
eventDestination Property Map
A name that identifies the event destination within the configuration set.
eventDestinationName Changes to this property will trigger replacement. String
An object that defines the event destination. See event_destination Block for details.

Supporting Types

ConfigurationSetEventDestinationEventDestination
, ConfigurationSetEventDestinationEventDestinationArgs

MatchingEventTypes This property is required. List<string>
An array that specifies which events the Amazon SES API v2 should send to the destinations. Valid values: SEND, REJECT, BOUNCE, COMPLAINT, DELIVERY, OPEN, CLICK, RENDERING_FAILURE, DELIVERY_DELAY, SUBSCRIPTION.
CloudWatchDestination ConfigurationSetEventDestinationEventDestinationCloudWatchDestination
An object that defines an Amazon CloudWatch destination for email events. See cloud_watch_destination Block for details.
Enabled bool
When the event destination is enabled, the specified event types are sent to the destinations. Default: false.
EventBridgeDestination ConfigurationSetEventDestinationEventDestinationEventBridgeDestination
KinesisFirehoseDestination ConfigurationSetEventDestinationEventDestinationKinesisFirehoseDestination
An object that defines an Amazon Kinesis Data Firehose destination for email events. See kinesis_firehose_destination Block for details.
PinpointDestination ConfigurationSetEventDestinationEventDestinationPinpointDestination
An object that defines an Amazon Pinpoint project destination for email events. See pinpoint_destination Block for details.
SnsDestination ConfigurationSetEventDestinationEventDestinationSnsDestination
An object that defines an Amazon SNS destination for email events. See sns_destination Block for details.
MatchingEventTypes This property is required. []string
An array that specifies which events the Amazon SES API v2 should send to the destinations. Valid values: SEND, REJECT, BOUNCE, COMPLAINT, DELIVERY, OPEN, CLICK, RENDERING_FAILURE, DELIVERY_DELAY, SUBSCRIPTION.
CloudWatchDestination ConfigurationSetEventDestinationEventDestinationCloudWatchDestination
An object that defines an Amazon CloudWatch destination for email events. See cloud_watch_destination Block for details.
Enabled bool
When the event destination is enabled, the specified event types are sent to the destinations. Default: false.
EventBridgeDestination ConfigurationSetEventDestinationEventDestinationEventBridgeDestination
KinesisFirehoseDestination ConfigurationSetEventDestinationEventDestinationKinesisFirehoseDestination
An object that defines an Amazon Kinesis Data Firehose destination for email events. See kinesis_firehose_destination Block for details.
PinpointDestination ConfigurationSetEventDestinationEventDestinationPinpointDestination
An object that defines an Amazon Pinpoint project destination for email events. See pinpoint_destination Block for details.
SnsDestination ConfigurationSetEventDestinationEventDestinationSnsDestination
An object that defines an Amazon SNS destination for email events. See sns_destination Block for details.
matchingEventTypes This property is required. List<String>
An array that specifies which events the Amazon SES API v2 should send to the destinations. Valid values: SEND, REJECT, BOUNCE, COMPLAINT, DELIVERY, OPEN, CLICK, RENDERING_FAILURE, DELIVERY_DELAY, SUBSCRIPTION.
cloudWatchDestination ConfigurationSetEventDestinationEventDestinationCloudWatchDestination
An object that defines an Amazon CloudWatch destination for email events. See cloud_watch_destination Block for details.
enabled Boolean
When the event destination is enabled, the specified event types are sent to the destinations. Default: false.
eventBridgeDestination ConfigurationSetEventDestinationEventDestinationEventBridgeDestination
kinesisFirehoseDestination ConfigurationSetEventDestinationEventDestinationKinesisFirehoseDestination
An object that defines an Amazon Kinesis Data Firehose destination for email events. See kinesis_firehose_destination Block for details.
pinpointDestination ConfigurationSetEventDestinationEventDestinationPinpointDestination
An object that defines an Amazon Pinpoint project destination for email events. See pinpoint_destination Block for details.
snsDestination ConfigurationSetEventDestinationEventDestinationSnsDestination
An object that defines an Amazon SNS destination for email events. See sns_destination Block for details.
matchingEventTypes This property is required. string[]
An array that specifies which events the Amazon SES API v2 should send to the destinations. Valid values: SEND, REJECT, BOUNCE, COMPLAINT, DELIVERY, OPEN, CLICK, RENDERING_FAILURE, DELIVERY_DELAY, SUBSCRIPTION.
cloudWatchDestination ConfigurationSetEventDestinationEventDestinationCloudWatchDestination
An object that defines an Amazon CloudWatch destination for email events. See cloud_watch_destination Block for details.
enabled boolean
When the event destination is enabled, the specified event types are sent to the destinations. Default: false.
eventBridgeDestination ConfigurationSetEventDestinationEventDestinationEventBridgeDestination
kinesisFirehoseDestination ConfigurationSetEventDestinationEventDestinationKinesisFirehoseDestination
An object that defines an Amazon Kinesis Data Firehose destination for email events. See kinesis_firehose_destination Block for details.
pinpointDestination ConfigurationSetEventDestinationEventDestinationPinpointDestination
An object that defines an Amazon Pinpoint project destination for email events. See pinpoint_destination Block for details.
snsDestination ConfigurationSetEventDestinationEventDestinationSnsDestination
An object that defines an Amazon SNS destination for email events. See sns_destination Block for details.
matching_event_types This property is required. Sequence[str]
An array that specifies which events the Amazon SES API v2 should send to the destinations. Valid values: SEND, REJECT, BOUNCE, COMPLAINT, DELIVERY, OPEN, CLICK, RENDERING_FAILURE, DELIVERY_DELAY, SUBSCRIPTION.
cloud_watch_destination ConfigurationSetEventDestinationEventDestinationCloudWatchDestination
An object that defines an Amazon CloudWatch destination for email events. See cloud_watch_destination Block for details.
enabled bool
When the event destination is enabled, the specified event types are sent to the destinations. Default: false.
event_bridge_destination ConfigurationSetEventDestinationEventDestinationEventBridgeDestination
kinesis_firehose_destination ConfigurationSetEventDestinationEventDestinationKinesisFirehoseDestination
An object that defines an Amazon Kinesis Data Firehose destination for email events. See kinesis_firehose_destination Block for details.
pinpoint_destination ConfigurationSetEventDestinationEventDestinationPinpointDestination
An object that defines an Amazon Pinpoint project destination for email events. See pinpoint_destination Block for details.
sns_destination ConfigurationSetEventDestinationEventDestinationSnsDestination
An object that defines an Amazon SNS destination for email events. See sns_destination Block for details.
matchingEventTypes This property is required. List<String>
An array that specifies which events the Amazon SES API v2 should send to the destinations. Valid values: SEND, REJECT, BOUNCE, COMPLAINT, DELIVERY, OPEN, CLICK, RENDERING_FAILURE, DELIVERY_DELAY, SUBSCRIPTION.
cloudWatchDestination Property Map
An object that defines an Amazon CloudWatch destination for email events. See cloud_watch_destination Block for details.
enabled Boolean
When the event destination is enabled, the specified event types are sent to the destinations. Default: false.
eventBridgeDestination Property Map
kinesisFirehoseDestination Property Map
An object that defines an Amazon Kinesis Data Firehose destination for email events. See kinesis_firehose_destination Block for details.
pinpointDestination Property Map
An object that defines an Amazon Pinpoint project destination for email events. See pinpoint_destination Block for details.
snsDestination Property Map
An object that defines an Amazon SNS destination for email events. See sns_destination Block for details.

ConfigurationSetEventDestinationEventDestinationCloudWatchDestination
, ConfigurationSetEventDestinationEventDestinationCloudWatchDestinationArgs

DimensionConfigurations This property is required. List<ConfigurationSetEventDestinationEventDestinationCloudWatchDestinationDimensionConfiguration>
An array of objects that define the dimensions to use when you send email events to Amazon CloudWatch. See dimension_configuration Block for details.
DimensionConfigurations This property is required. []ConfigurationSetEventDestinationEventDestinationCloudWatchDestinationDimensionConfiguration
An array of objects that define the dimensions to use when you send email events to Amazon CloudWatch. See dimension_configuration Block for details.
dimensionConfigurations This property is required. List<ConfigurationSetEventDestinationEventDestinationCloudWatchDestinationDimensionConfiguration>
An array of objects that define the dimensions to use when you send email events to Amazon CloudWatch. See dimension_configuration Block for details.
dimensionConfigurations This property is required. ConfigurationSetEventDestinationEventDestinationCloudWatchDestinationDimensionConfiguration[]
An array of objects that define the dimensions to use when you send email events to Amazon CloudWatch. See dimension_configuration Block for details.
dimension_configurations This property is required. Sequence[ConfigurationSetEventDestinationEventDestinationCloudWatchDestinationDimensionConfiguration]
An array of objects that define the dimensions to use when you send email events to Amazon CloudWatch. See dimension_configuration Block for details.
dimensionConfigurations This property is required. List<Property Map>
An array of objects that define the dimensions to use when you send email events to Amazon CloudWatch. See dimension_configuration Block for details.

ConfigurationSetEventDestinationEventDestinationCloudWatchDestinationDimensionConfiguration
, ConfigurationSetEventDestinationEventDestinationCloudWatchDestinationDimensionConfigurationArgs

DefaultDimensionValue This property is required. string
The default value of the dimension that is published to Amazon CloudWatch if you don't provide the value of the dimension when you send an email.
DimensionName This property is required. string
The name of an Amazon CloudWatch dimension associated with an email sending metric.
DimensionValueSource This property is required. string
The location where the Amazon SES API v2 finds the value of a dimension to publish to Amazon CloudWatch. Valid values: MESSAGE_TAG, EMAIL_HEADER, LINK_TAG.
DefaultDimensionValue This property is required. string
The default value of the dimension that is published to Amazon CloudWatch if you don't provide the value of the dimension when you send an email.
DimensionName This property is required. string
The name of an Amazon CloudWatch dimension associated with an email sending metric.
DimensionValueSource This property is required. string
The location where the Amazon SES API v2 finds the value of a dimension to publish to Amazon CloudWatch. Valid values: MESSAGE_TAG, EMAIL_HEADER, LINK_TAG.
defaultDimensionValue This property is required. String
The default value of the dimension that is published to Amazon CloudWatch if you don't provide the value of the dimension when you send an email.
dimensionName This property is required. String
The name of an Amazon CloudWatch dimension associated with an email sending metric.
dimensionValueSource This property is required. String
The location where the Amazon SES API v2 finds the value of a dimension to publish to Amazon CloudWatch. Valid values: MESSAGE_TAG, EMAIL_HEADER, LINK_TAG.
defaultDimensionValue This property is required. string
The default value of the dimension that is published to Amazon CloudWatch if you don't provide the value of the dimension when you send an email.
dimensionName This property is required. string
The name of an Amazon CloudWatch dimension associated with an email sending metric.
dimensionValueSource This property is required. string
The location where the Amazon SES API v2 finds the value of a dimension to publish to Amazon CloudWatch. Valid values: MESSAGE_TAG, EMAIL_HEADER, LINK_TAG.
default_dimension_value This property is required. str
The default value of the dimension that is published to Amazon CloudWatch if you don't provide the value of the dimension when you send an email.
dimension_name This property is required. str
The name of an Amazon CloudWatch dimension associated with an email sending metric.
dimension_value_source This property is required. str
The location where the Amazon SES API v2 finds the value of a dimension to publish to Amazon CloudWatch. Valid values: MESSAGE_TAG, EMAIL_HEADER, LINK_TAG.
defaultDimensionValue This property is required. String
The default value of the dimension that is published to Amazon CloudWatch if you don't provide the value of the dimension when you send an email.
dimensionName This property is required. String
The name of an Amazon CloudWatch dimension associated with an email sending metric.
dimensionValueSource This property is required. String
The location where the Amazon SES API v2 finds the value of a dimension to publish to Amazon CloudWatch. Valid values: MESSAGE_TAG, EMAIL_HEADER, LINK_TAG.

ConfigurationSetEventDestinationEventDestinationEventBridgeDestination
, ConfigurationSetEventDestinationEventDestinationEventBridgeDestinationArgs

EventBusArn This property is required. string
The Amazon Resource Name (ARN) of the Amazon EventBridge bus to publish email events to. Only the default bus is supported.
EventBusArn This property is required. string
The Amazon Resource Name (ARN) of the Amazon EventBridge bus to publish email events to. Only the default bus is supported.
eventBusArn This property is required. String
The Amazon Resource Name (ARN) of the Amazon EventBridge bus to publish email events to. Only the default bus is supported.
eventBusArn This property is required. string
The Amazon Resource Name (ARN) of the Amazon EventBridge bus to publish email events to. Only the default bus is supported.
event_bus_arn This property is required. str
The Amazon Resource Name (ARN) of the Amazon EventBridge bus to publish email events to. Only the default bus is supported.
eventBusArn This property is required. String
The Amazon Resource Name (ARN) of the Amazon EventBridge bus to publish email events to. Only the default bus is supported.

ConfigurationSetEventDestinationEventDestinationKinesisFirehoseDestination
, ConfigurationSetEventDestinationEventDestinationKinesisFirehoseDestinationArgs

DeliveryStreamArn This property is required. string
The Amazon Resource Name (ARN) of the Amazon Kinesis Data Firehose stream that the Amazon SES API v2 sends email events to.
IamRoleArn This property is required. string
The Amazon Resource Name (ARN) of the IAM role that the Amazon SES API v2 uses to send email events to the Amazon Kinesis Data Firehose stream.
DeliveryStreamArn This property is required. string
The Amazon Resource Name (ARN) of the Amazon Kinesis Data Firehose stream that the Amazon SES API v2 sends email events to.
IamRoleArn This property is required. string
The Amazon Resource Name (ARN) of the IAM role that the Amazon SES API v2 uses to send email events to the Amazon Kinesis Data Firehose stream.
deliveryStreamArn This property is required. String
The Amazon Resource Name (ARN) of the Amazon Kinesis Data Firehose stream that the Amazon SES API v2 sends email events to.
iamRoleArn This property is required. String
The Amazon Resource Name (ARN) of the IAM role that the Amazon SES API v2 uses to send email events to the Amazon Kinesis Data Firehose stream.
deliveryStreamArn This property is required. string
The Amazon Resource Name (ARN) of the Amazon Kinesis Data Firehose stream that the Amazon SES API v2 sends email events to.
iamRoleArn This property is required. string
The Amazon Resource Name (ARN) of the IAM role that the Amazon SES API v2 uses to send email events to the Amazon Kinesis Data Firehose stream.
delivery_stream_arn This property is required. str
The Amazon Resource Name (ARN) of the Amazon Kinesis Data Firehose stream that the Amazon SES API v2 sends email events to.
iam_role_arn This property is required. str
The Amazon Resource Name (ARN) of the IAM role that the Amazon SES API v2 uses to send email events to the Amazon Kinesis Data Firehose stream.
deliveryStreamArn This property is required. String
The Amazon Resource Name (ARN) of the Amazon Kinesis Data Firehose stream that the Amazon SES API v2 sends email events to.
iamRoleArn This property is required. String
The Amazon Resource Name (ARN) of the IAM role that the Amazon SES API v2 uses to send email events to the Amazon Kinesis Data Firehose stream.

ConfigurationSetEventDestinationEventDestinationPinpointDestination
, ConfigurationSetEventDestinationEventDestinationPinpointDestinationArgs

ApplicationArn This property is required. string
ApplicationArn This property is required. string
applicationArn This property is required. String
applicationArn This property is required. string
application_arn This property is required. str
applicationArn This property is required. String

ConfigurationSetEventDestinationEventDestinationSnsDestination
, ConfigurationSetEventDestinationEventDestinationSnsDestinationArgs

TopicArn This property is required. string
The Amazon Resource Name (ARN) of the Amazon SNS topic to publish email events to.
TopicArn This property is required. string
The Amazon Resource Name (ARN) of the Amazon SNS topic to publish email events to.
topicArn This property is required. String
The Amazon Resource Name (ARN) of the Amazon SNS topic to publish email events to.
topicArn This property is required. string
The Amazon Resource Name (ARN) of the Amazon SNS topic to publish email events to.
topic_arn This property is required. str
The Amazon Resource Name (ARN) of the Amazon SNS topic to publish email events to.
topicArn This property is required. String
The Amazon Resource Name (ARN) of the Amazon SNS topic to publish email events to.

Import

Using pulumi import, import SESv2 (Simple Email V2) Configuration Set Event Destination using the id (configuration_set_name|event_destination_name). For example:

$ pulumi import aws:sesv2/configurationSetEventDestination:ConfigurationSetEventDestination example example_configuration_set|example_event_destination
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.