Configures an AWS SESv2 event destination to send email sending event data to a Pinpoint application.

Terraform Template

resource "aws_sesv2_configuration_set" "example" {
  configuration_set_name = "example"
}

resource "aws_sesv2_configuration_set_event_destination" "example" {
  configuration_set_name = aws_sesv2_configuration_set.example.configuration_set_name

  event_destination {
    enabled = true
    matching_event_types = ["SEND"]
  }
  event_destination_name = "example"
}