@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.225Z") @Stability(value=Stable) public interface LambdaProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
LambdaProps.Builder
A builder for
LambdaProps |
static class |
LambdaProps.Jsii$Proxy
An implementation for
LambdaProps |
| Modifier and Type | Method and Description |
|---|---|
static LambdaProps.Builder |
builder() |
IFunction |
getFunction()
The Lambda function to invoke.
|
default LambdaInvocationType |
getInvocationType()
The invocation type of the Lambda function.
|
default ITopic |
getTopic()
The SNS topic to notify when the Lambda action is taken.
|
@Stability(value=Stable) @NotNull IFunction getFunction()
@Stability(value=Stable) @Nullable default LambdaInvocationType getInvocationType()
Default: Event
@Stability(value=Stable) @Nullable default ITopic getTopic()
Default: no notification
@Stability(value=Stable) static LambdaProps.Builder builder()
LambdaProps.Builder of LambdaPropsCopyright © 2022. All rights reserved.