Class Bounce
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.84.0 (build 5404dcf)",
date="2023-06-19T16:30:41.955Z")
@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 ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ses.IReceiptRuleAction
IReceiptRuleAction.Jsii$Default, IReceiptRuleAction.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionBounce(BounceProps props) protectedBounce(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedBounce(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionbind(IReceiptRule _rule) 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, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
- Parameters:
props- This parameter is required.
-
-
Method Details
-
bind
Returns the receipt rule action specification.- Specified by:
bindin interfaceIReceiptRuleAction- Parameters:
_rule- This parameter is required.
-