Interface BounceActionConfig

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:41.330Z") @Stability(Stable) public interface BounceActionConfig extends
BoundAction configuration.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 BounceActionConfig bounceActionConfig = BounceActionConfig.builder()
         // the properties below are optional
  • Method Details

    • getMessage

      @Stability(Stable) @NotNull String getMessage()
      Human-readable text to include in the bounce message.
    • getSender

      @Stability(Stable) @NotNull String getSender()
      The email address of the sender of the bounced email.

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

    • getSmtpReplyCode

      @Stability(Stable) @NotNull String getSmtpReplyCode()
      The SMTP reply code, as defined by RFC 5321.
    • getStatusCode

      @Stability(Stable) @Nullable default String getStatusCode()
      The SMTP enhanced status code, as defined by RFC 3463.

      Default: - No status code.

    • getTopicArn

      @Stability(Stable) @Nullable default String getTopicArn()
      The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken.

      Default: - No notification is sent to SNS.

    • builder

      @Stability(Stable) static BounceActionConfig.Builder builder()
      a BounceActionConfig.Builder of BounceActionConfig