Class Lambda.Builder
java.lang.Object
software.amazon.awscdk.services.ses.actions.Lambda.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<Lambda>
- Enclosing class:
Lambda
@Stability(Stable)
public static final class Lambda.Builder
extends Object
implements software.amazon.jsii.Builder<Lambda>
A fluent builder for
Lambda.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static Lambda.Buildercreate()The Lambda function to invoke.invocationType(LambdaInvocationType invocationType) The invocation type of the Lambda function.The SNS topic to notify when the Lambda action is taken.
-
Method Details
-
create
- Returns:
- a new instance of
Lambda.Builder.
-
function
The Lambda function to invoke.- Parameters:
function- The Lambda function to invoke. This parameter is required.- Returns:
this
-
invocationType
The invocation type of the Lambda function.Default: Event
- Parameters:
invocationType- The invocation type of the Lambda function. This parameter is required.- Returns:
this
-
topic
The SNS topic to notify when the Lambda action is taken.Default: no notification
- Parameters:
topic- The SNS topic to notify when the Lambda action is taken. This parameter is required.- Returns:
this
-
build
-