public static final class LambdaToSnsProps.Builder extends Object implements software.amazon.jsii.Builder<LambdaToSnsProps>
LambdaToSnsProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
LambdaToSnsProps |
build()
Builds the configured instance.
|
LambdaToSnsProps.Builder |
existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Sets the value of
LambdaToSnsProps.getExistingLambdaObj() |
LambdaToSnsProps.Builder |
existingTopicObj(software.amazon.awscdk.services.sns.Topic existingTopicObj)
Sets the value of
LambdaToSnsProps.getExistingTopicObj() |
LambdaToSnsProps.Builder |
lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
Sets the value of
LambdaToSnsProps.getLambdaFunctionProps() |
LambdaToSnsProps.Builder |
topicProps(software.amazon.awscdk.services.sns.TopicProps topicProps)
Sets the value of
LambdaToSnsProps.getTopicProps() |
public LambdaToSnsProps.Builder existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
LambdaToSnsProps.getExistingLambdaObj()existingLambdaObj - Existing instance of Lambda Function object, if this is set then the lambdaFunctionProps is ignored.thispublic LambdaToSnsProps.Builder existingTopicObj(software.amazon.awscdk.services.sns.Topic existingTopicObj)
LambdaToSnsProps.getExistingTopicObj()existingTopicObj - Existing instance of SNS Topic object, if this is set then topicProps is ignored.thispublic LambdaToSnsProps.Builder lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
LambdaToSnsProps.getLambdaFunctionProps()lambdaFunctionProps - User provided props to override the default props for the Lambda function.thispublic LambdaToSnsProps.Builder topicProps(software.amazon.awscdk.services.sns.TopicProps topicProps)
LambdaToSnsProps.getTopicProps()topicProps - Optional user provided properties to override the default properties for the SNS topic.thispublic LambdaToSnsProps build()
build in interface software.amazon.jsii.Builder<LambdaToSnsProps>LambdaToSnsPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.