IdentityNotificationTopicArgs

data class IdentityNotificationTopicArgs(val identity: Output<String>? = null, val includeOriginalHeaders: Output<Boolean>? = null, val notificationType: Output<String>? = null, val topicArn: Output<String>? = null) : ConvertibleToJava<IdentityNotificationTopicArgs>

Resource for managing SES Identity Notification Topics

Example Usage

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(aws_sns_topic.example().arn())
.notificationType("Bounce")
.identity(aws_ses_domain_identity.example().domain())
.includeOriginalHeaders(true)
.build());
}
}

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.

$ pulumi import aws:ses/identityNotificationTopic:IdentityNotificationTopic test 'example.com|Bounce'

Constructors

Link copied to clipboard
constructor(identity: Output<String>? = null, includeOriginalHeaders: Output<Boolean>? = null, notificationType: Output<String>? = null, topicArn: Output<String>? = null)

Properties

Link copied to clipboard
val identity: Output<String>? = null

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).

Link copied to clipboard
val includeOriginalHeaders: Output<Boolean>? = null

Whether SES should include original email headers in SNS notifications of this type. false by default.

Link copied to clipboard
val notificationType: Output<String>? = null

The type of notifications that will be published to the specified Amazon SNS topic. Valid Values: Bounce, Complaint or Delivery.

Link copied to clipboard
val topicArn: Output<String>? = null

The Amazon Resource Name (ARN) of the Amazon SNS topic. Can be set to "" (an empty string) to disable publishing.

Functions

Link copied to clipboard
open override fun toJava(): IdentityNotificationTopicArgs