Resource: aws_sesv2_configuration_set

Terraform resource for managing an AWS SESv2 (Simple Email V2) Configuration Set.

Example Usage

Basic Usage

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

  delivery_options {
    tls_policy = "REQUIRE"
  }

  reputation_options {
    reputation_metrics_enabled = false
  }

  sending_options {
    sending_enabled = true
  }

  suppression_options {
    suppressed_reasons = ["BOUNCE", "COMPLAINT"]
  }

  tracking_options {
    custom_redirect_domain = "example.com"
  }
}

Argument Reference

This resource supports the following arguments:

delivery_options

This argument supports the following arguments:

reputation_options

This argument supports the following arguments:

sending_options

This argument supports the following arguments:

suppression_options

tracking_options

vdm_options

dashboard_options

guardian_options

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

In Terraform v1.5.0 and later, use an import block to import SESv2 (Simple Email V2) Configuration Set using the configuration_set_name. For example:

import {
  to = aws_sesv2_configuration_set.example
  id = "example"
}

Using terraform import, import SESv2 (Simple Email V2) Configuration Set using the configuration_set_name. For example:

% terraform import aws_sesv2_configuration_set.example example