Class IdentityNotificationTopic
Resource for managing SES Identity Notification Topics
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var test = new Aws.Ses.IdentityNotificationTopic("test", new Aws.Ses.IdentityNotificationTopicArgs
{
Identity = aws_ses_domain_identity.Example.Domain,
IncludeOriginalHeaders = true,
NotificationType = "Bounce",
TopicArn = aws_sns_topic.Example.Arn,
});
}
}
Inherited Members
Namespace: Pulumi.Aws.Ses
Assembly: Pulumi.Aws.dll
Syntax
public class IdentityNotificationTopic : CustomResource
Constructors
View SourceIdentityNotificationTopic(String, IdentityNotificationTopicArgs, CustomResourceOptions)
Create a IdentityNotificationTopic resource with the given unique name, arguments, and options.
Declaration
public IdentityNotificationTopic(string name, IdentityNotificationTopicArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| IdentityNotificationTopicArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceIdentity
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).
Declaration
public Output<string> Identity { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
IncludeOriginalHeaders
Whether SES should include original email headers in SNS notifications of this type. false by default.
Declaration
public Output<bool?> IncludeOriginalHeaders { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
NotificationType
The type of notifications that will be published to the specified Amazon SNS topic. Valid Values: Bounce, Complaint or Delivery.
Declaration
public Output<string> NotificationType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
TopicArn
The Amazon Resource Name (ARN) of the Amazon SNS topic. Can be set to "" (an empty string) to disable publishing.
Declaration
public Output<string> TopicArn { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, IdentityNotificationTopicState, CustomResourceOptions)
Get an existing IdentityNotificationTopic resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static IdentityNotificationTopic Get(string name, Input<string> id, IdentityNotificationTopicState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| IdentityNotificationTopicState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| IdentityNotificationTopic |