Interface BounceProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
BounceProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-12-27T17:02:10.384Z") @Stability(Stable) public interface BounceProps extends software.amazon.jsii.JsiiSerializable
Construction properties for a bounce action.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ses.actions.*;
 import software.amazon.awscdk.services.sns.*;
 BounceTemplate bounceTemplate;
 Topic topic;
 BounceProps bounceProps = BounceProps.builder()
         .sender("sender")
         .template(bounceTemplate)
         // the properties below are optional
         .topic(topic)
         .build();
 
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder for BounceProps
    static final class 
    An implementation for BounceProps
  • Method Summary

    Modifier and Type
    Method
    Description
     
    The email address of the sender of the bounced email.
    The template containing the message, reply code and status code.
    default ITopic
    The SNS topic to notify when the bounce action is taken.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getSender

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

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

    • getTemplate

      @Stability(Stable) @NotNull BounceTemplate getTemplate()
      The template containing the message, reply code and status code.
    • getTopic

      @Stability(Stable) @Nullable default ITopic getTopic()
      The SNS topic to notify when the bounce action is taken.

      Default: no notification

    • builder

      @Stability(Stable) static BounceProps.Builder builder()
      Returns:
      a BounceProps.Builder of BounceProps