Class Lambda
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ses.actions.Lambda
- All Implemented Interfaces:
IReceiptRuleAction
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:17.241Z")
@Stability(Stable)
public class Lambda
extends software.amazon.jsii.JsiiObject
implements IReceiptRuleAction
Calls an AWS Lambda function, 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.lambda.*; import software.amazon.awscdk.services.ses.actions.*; import software.amazon.awscdk.services.sns.*; Function function_; Topic topic; Lambda lambda = Lambda.Builder.create() .function(function_) // the properties below are optional .invocationType(LambdaInvocationType.EVENT) .topic(topic) .build();
-
Nested Class Summary
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
ModifierConstructorDescriptionLambda
(LambdaProps props) protected
Lambda
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
Lambda
(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, 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
-
Lambda
protected Lambda(software.amazon.jsii.JsiiObjectRef objRef) -
Lambda
protected Lambda(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
Lambda
- Parameters:
props
- This parameter is required.
-
-
Method Details
-
bind
Returns the receipt rule action specification.- Specified by:
bind
in interfaceIReceiptRuleAction
- Parameters:
rule
- This parameter is required.
-