IdentityNotificationTopic

class IdentityNotificationTopic : KotlinCustomResource

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'

Properties

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val identity: Output<String>

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

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

Link copied to clipboard

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 pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val topicArn: Output<String>?

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

Link copied to clipboard
val urn: Output<String>