Show / Hide Table of Contents

Class CfnReceiptRule.BounceActionProperty

When included in a receipt rule, this action rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).

Inheritance
object
CfnReceiptRule.BounceActionProperty
Implements
CfnReceiptRule.IBounceActionProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnReceiptRule.BounceActionProperty : CfnReceiptRule.IBounceActionProperty
Syntax (vb)
Public Class CfnReceiptRule.BounceActionProperty Implements CfnReceiptRule.IBounceActionProperty
Remarks

For information about sending a bounce message in response to a received email, see the Amazon SES Developer Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-bounceaction.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.SES;

             var bounceActionProperty = new BounceActionProperty {
                 Message = "message",
                 Sender = "sender",
                 SmtpReplyCode = "smtpReplyCode",

                 // the properties below are optional
                 StatusCode = "statusCode",
                 TopicArn = "topicArn"
             };

Synopsis

Constructors

BounceActionProperty()

When included in a receipt rule, this action rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).

Properties

Message

Human-readable text to include in the bounce message.

Sender

The email address of the sender of the bounced email.

SmtpReplyCode

The SMTP reply code, as defined by RFC 5321 .

StatusCode

The SMTP enhanced status code, as defined by RFC 3463 .

TopicArn

The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken.

Constructors

BounceActionProperty()

When included in a receipt rule, this action rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).

public BounceActionProperty()
Remarks

For information about sending a bounce message in response to a received email, see the Amazon SES Developer Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-bounceaction.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.SES;

             var bounceActionProperty = new BounceActionProperty {
                 Message = "message",
                 Sender = "sender",
                 SmtpReplyCode = "smtpReplyCode",

                 // the properties below are optional
                 StatusCode = "statusCode",
                 TopicArn = "topicArn"
             };

Properties

Message

Human-readable text to include in the bounce message.

public string Message { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-bounceaction.html#cfn-ses-receiptrule-bounceaction-message

Sender

The email address of the sender of the bounced email.

public string Sender { get; set; }
Property Value

string

Remarks

This is the address from which the bounce message is sent.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-bounceaction.html#cfn-ses-receiptrule-bounceaction-sender

SmtpReplyCode

The SMTP reply code, as defined by RFC 5321 .

public string SmtpReplyCode { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-bounceaction.html#cfn-ses-receiptrule-bounceaction-smtpreplycode

StatusCode

The SMTP enhanced status code, as defined by RFC 3463 .

public string? StatusCode { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-bounceaction.html#cfn-ses-receiptrule-bounceaction-statuscode

TopicArn

The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken.

public string? TopicArn { get; set; }
Property Value

string

Remarks

You can find the ARN of a topic by using the ListTopics operation in Amazon SNS.

For more information about Amazon SNS topics, see the Amazon SNS Developer Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-bounceaction.html#cfn-ses-receiptrule-bounceaction-topicarn

Implements

CfnReceiptRule.IBounceActionProperty
Back to top Generated by DocFX