You must be logged in to view saved presets
Configures an AWS SESv2 event destination to send email sending event data to CloudWatch.
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 {
cloud_watch_destination {
dimension_configuration {
default_dimension_value = "example"
dimension_name = "example"
dimension_value_source = "MESSAGE_TAG"
}
}
enabled = true
matching_event_types = ["SEND"]
}
event_destination_name = "example"
}