Interface LambdaProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LambdaProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:41.960Z")
@Stability(Stable)
public interface LambdaProps
extends software.amazon.jsii.JsiiSerializable
Construction properties for a Lambda 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.lambda.*;
import software.amazon.awscdk.services.ses.actions.*;
import software.amazon.awscdk.services.sns.*;
Function function_;
Topic topic;
LambdaProps lambdaProps = LambdaProps.builder()
.function(function_)
// the properties below are optional
.invocationType(LambdaInvocationType.EVENT)
.topic(topic)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forLambdaPropsstatic final classAn implementation forLambdaProps -
Method Summary
Modifier and TypeMethodDescriptionstatic LambdaProps.Builderbuilder()The Lambda function to invoke.default LambdaInvocationTypeThe invocation type of the Lambda function.default ITopicgetTopic()The SNS topic to notify when the Lambda action is taken.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFunction
The Lambda function to invoke. -
getInvocationType
The invocation type of the Lambda function.Default: Event
-
getTopic
The SNS topic to notify when the Lambda action is taken.Default: no notification
-
builder
- Returns:
- a
LambdaProps.BuilderofLambdaProps
-