Skip to content

Resource: awsSesIdentityNotificationTopic

Resource for managing SES Identity Notification Topics

Example 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";
new aws.sesIdentityNotificationTopic.SesIdentityNotificationTopic(
  this,
  "test",
  {
    identity: "${aws_ses_domain_identity.example.domain}",
    includeOriginalHeaders: true,
    notificationType: "Bounce",
    topicArn: "${aws_sns_topic.example.arn}",
  }
);

Argument Reference

The following arguments are supported:

  • topicArn - (Optional) The Amazon Resource Name (ARN) of the Amazon SNS topic. Can be set to "" (an empty string) to disable publishing.
  • notificationType - (Required) The type of notifications that will be published to the specified Amazon SNS topic. Valid Values: bounce, complaint or delivery.
  • identity - (Required) The identity for which the Amazon SNS topic will be set. You can specify an identity by using its name or by using its Amazon Resource Name (ARN).
  • includeOriginalHeaders - (Optional) Whether SES should include original email headers in SNS notifications of this type. false by default.

Attributes Reference

No additional attributes are exported.

Import

Identity Notification Topics can be imported using the ID of the record. The ID is made up as identity|type where identity is the SES Identity and type is the Notification Type.

$ terraform import aws_ses_identity_notification_topic.test 'example.com|Bounce'