Interface LambdaProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LambdaProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-10T21:56:59.972Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forLambdaProps
static final class
An implementation forLambdaProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic LambdaProps.Builder
builder()
The Lambda function to invoke.default LambdaInvocationType
The invocation type of the Lambda function.default ITopic
getTopic()
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.Builder
ofLambdaProps
-