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, 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 topicArnEnvironmentVariableName(String topicArnEnvironmentVariableName)
LambdaToSnsProps.getTopicArnEnvironmentVariableName()topicArnEnvironmentVariableName - Optional Name for the SNS topic arn environment variable set for the Lambda function.thispublic LambdaToSnsProps.Builder topicNameEnvironmentVariableName(String topicNameEnvironmentVariableName)
LambdaToSnsProps.getTopicNameEnvironmentVariableName()topicNameEnvironmentVariableName - Optional Name for the SNS topic name environment variable set 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.