public static final class LambdaToSnsProps.Builder extends Object implements software.amazon.jsii.Builder<LambdaToSnsProps>
LambdaToSnsProps| Constructor and Description |
|---|
Builder() |
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, providing both this and `lambdaFunctionProps` will cause an error.thispublic LambdaToSnsProps.Builder existingTopicObj(software.amazon.awscdk.services.sns.Topic existingTopicObj)
LambdaToSnsProps.getExistingTopicObj()existingTopicObj - Existing instance of SNS Topic object, providing both this and topicProps will cause an error..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 topicArnEnvironmentVariableName(String topicArnEnvironmentVariableName)
LambdaToSnsProps.getTopicArnEnvironmentVariableName()topicArnEnvironmentVariableName - Optional Name for the Lambda function environment variable set to the arn of the Topic.thispublic LambdaToSnsProps.Builder topicNameEnvironmentVariableName(String topicNameEnvironmentVariableName)
LambdaToSnsProps.getTopicNameEnvironmentVariableName()topicNameEnvironmentVariableName - Optional Name for the Lambda function environment variable set to the name of the Topic.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 © 2022. All rights reserved.