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 |
deployVpc(Boolean deployVpc)
Sets the value of
LambdaToSnsProps.getDeployVpc() |
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 |
existingVpc(software.amazon.awscdk.services.ec2.IVpc existingVpc)
Sets the value of
LambdaToSnsProps.getExistingVpc() |
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() |
LambdaToSnsProps.Builder |
vpcProps(software.amazon.awscdk.services.ec2.VpcProps vpcProps)
Sets the value of
LambdaToSnsProps.getVpcProps() |
public LambdaToSnsProps.Builder deployVpc(Boolean deployVpc)
LambdaToSnsProps.getDeployVpc()deployVpc - Whether to deploy a new VPC.thispublic 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 existingVpc(software.amazon.awscdk.services.ec2.IVpc existingVpc)
LambdaToSnsProps.getExistingVpc()existingVpc - An existing VPC for the construct to use (construct will NOT create a new VPC in this case).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.Builder vpcProps(software.amazon.awscdk.services.ec2.VpcProps vpcProps)
LambdaToSnsProps.getVpcProps()vpcProps - Properties to override default properties if deployVpc is true.thispublic LambdaToSnsProps build()
build in interface software.amazon.jsii.Builder<LambdaToSnsProps>LambdaToSnsPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.