@Stability(value=Experimental) public static final class LambdaProps.Builder extends Object implements software.amazon.jsii.Builder<LambdaProps>
LambdaProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
LambdaProps |
build()
Builds the configured instance.
|
LambdaProps.Builder |
function(IFunction function)
Sets the value of
LambdaProps.getFunction() |
LambdaProps.Builder |
invocationType(LambdaInvocationType invocationType)
Sets the value of
LambdaProps.getInvocationType() |
LambdaProps.Builder |
topic(ITopic topic)
Sets the value of
LambdaProps.getTopic() |
@Stability(value=Experimental) public LambdaProps.Builder function(IFunction function)
LambdaProps.getFunction()function - The Lambda function to invoke. This parameter is required.this@Stability(value=Experimental) public LambdaProps.Builder invocationType(LambdaInvocationType invocationType)
LambdaProps.getInvocationType()invocationType - The invocation type of the Lambda function.this@Stability(value=Experimental) public LambdaProps.Builder topic(ITopic topic)
LambdaProps.getTopic()topic - The SNS topic to notify when the Lambda action is taken.this@Stability(value=Experimental) public LambdaProps build()
build in interface software.amazon.jsii.Builder<LambdaProps>LambdaPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.