Identity Notification Topic
    Resource for managing SES Identity Notification Topics
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const test = new aws.ses.IdentityNotificationTopic("test", {
    topicArn: exampleAwsSnsTopic.arn,
    notificationType: "Bounce",
    identity: example.domain,
    includeOriginalHeaders: true,
});Content copied to clipboard
import pulumi
import pulumi_aws as aws
test = aws.ses.IdentityNotificationTopic("test",
    topic_arn=example_aws_sns_topic["arn"],
    notification_type="Bounce",
    identity=example["domain"],
    include_original_headers=True)Content copied to clipboard
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
    var test = new Aws.Ses.IdentityNotificationTopic("test", new()
    {
        TopicArn = exampleAwsSnsTopic.Arn,
        NotificationType = "Bounce",
        Identity = example.Domain,
        IncludeOriginalHeaders = true,
    });
});Content copied to clipboard
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ses"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ses.NewIdentityNotificationTopic(ctx, "test", &ses.IdentityNotificationTopicArgs{
			TopicArn:               pulumi.Any(exampleAwsSnsTopic.Arn),
			NotificationType:       pulumi.String("Bounce"),
			Identity:               pulumi.Any(example.Domain),
			IncludeOriginalHeaders: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ses.IdentityNotificationTopic;
import com.pulumi.aws.ses.IdentityNotificationTopicArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var test = new IdentityNotificationTopic("test", IdentityNotificationTopicArgs.builder()
            .topicArn(exampleAwsSnsTopic.arn())
            .notificationType("Bounce")
            .identity(example.domain())
            .includeOriginalHeaders(true)
            .build());
    }
}Content copied to clipboard
resources:
  test:
    type: aws:ses:IdentityNotificationTopic
    properties:
      topicArn: ${exampleAwsSnsTopic.arn}
      notificationType: Bounce
      identity: ${example.domain}
      includeOriginalHeaders: trueContent copied to clipboard
Import
Using pulumi import, import Identity Notification Topics 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. For example:
$ pulumi import aws:ses/identityNotificationTopic:IdentityNotificationTopic test 'example.com|Bounce'Content copied to clipboard