Skip to content

Resource: awsSesv2EmailIdentityFeedbackAttributes

Terraform resource for managing an AWS SESv2 (Simple Email V2) Email Identity Feedback Attributes.

Example Usage

Basic Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
const awsSesv2EmailIdentityExample =
  new aws.sesv2EmailIdentity.Sesv2EmailIdentity(this, "example", {
    emailIdentity: "example.com",
  });
const awsSesv2EmailIdentityFeedbackAttributesExample =
  new aws.sesv2EmailIdentityFeedbackAttributes.Sesv2EmailIdentityFeedbackAttributes(
    this,
    "example_1",
    {
      emailForwardingEnabled: true,
      emailIdentity: awsSesv2EmailIdentityExample.emailIdentity,
    }
  );
/*This allows the Terraform resource name to match the original name. You can remove the call if you don't need them to match.*/
awsSesv2EmailIdentityFeedbackAttributesExample.overrideLogicalId("example");

Argument Reference

The following arguments are supported:

  • emailIdentity - (Required) The email identity.
  • emailForwardingEnabled - (Optional) Sets the feedback forwarding configuration for the identity.

Attributes Reference

No additional attributes are exported.

Import

SESv2 (Simple Email V2) Email Identity Feedback Attributes can be imported using the emailIdentity, e.g.,

$ terraform import aws_sesv2_email_identity_feedback_attributes.example example.com