java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ses.actions.Bounce
All Implemented Interfaces:
IReceiptRuleAction, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:14.090Z") @Stability(Stable) public class Bounce extends software.amazon.jsii.JsiiObject implements IReceiptRuleAction
Rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon SNS.

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;
 Bounce bounce = Bounce.Builder.create()
         .sender("sender")
         .template(bounceTemplate)
         // the properties below are optional
         .topic(topic)
         .build();
 
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    A fluent builder for Bounce.

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ses.IReceiptRuleAction

    IReceiptRuleAction.Jsii$Default, IReceiptRuleAction.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
     
    protected
    Bounce(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    Bounce(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the receipt rule action specification.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • Bounce

      protected Bounce(software.amazon.jsii.JsiiObjectRef objRef)
    • Bounce

      protected Bounce(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • Bounce

      @Stability(Stable) public Bounce(@NotNull BounceProps props)
      Parameters:
      props - This parameter is required.
  • Method Details