public static final class LambdaToSns.Builder extends Object implements software.amazon.jsii.Builder<LambdaToSns>
LambdaToSns.| Modifier and Type | Method and Description |
|---|---|
LambdaToSns |
build() |
static LambdaToSns.Builder |
create(software.amazon.awscdk.core.Construct scope,
String id) |
LambdaToSns.Builder |
deployVpc(Boolean deployVpc)
Whether to deploy a new VPC.
|
LambdaToSns.Builder |
existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Existing instance of Lambda Function object, if this is set then the lambdaFunctionProps is ignored.
|
LambdaToSns.Builder |
existingTopicObj(software.amazon.awscdk.services.sns.Topic existingTopicObj)
Existing instance of SNS Topic object, if this is set then topicProps is ignored.
|
LambdaToSns.Builder |
existingVpc(software.amazon.awscdk.services.ec2.IVpc existingVpc)
An existing VPC for the construct to use (construct will NOT create a new VPC in this case).
|
LambdaToSns.Builder |
lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
User provided props to override the default props for the Lambda function.
|
LambdaToSns.Builder |
topicArnEnvironmentVariableName(String topicArnEnvironmentVariableName)
Optional Name for the SNS topic arn environment variable set for the Lambda function.
|
LambdaToSns.Builder |
topicNameEnvironmentVariableName(String topicNameEnvironmentVariableName)
Optional Name for the SNS topic name environment variable set for the Lambda function.
|
LambdaToSns.Builder |
topicProps(software.amazon.awscdk.services.sns.TopicProps topicProps)
Optional user provided properties to override the default properties for the SNS topic.
|
LambdaToSns.Builder |
vpcProps(software.amazon.awscdk.services.ec2.VpcProps vpcProps)
Properties to override default properties if deployVpc is true.
|
public static LambdaToSns.Builder create(software.amazon.awscdk.core.Construct scope, String id)
scope - - represents the scope for all the resources. This parameter is required.id - - this is a a scope-unique id. This parameter is required.LambdaToSns.Builder.public LambdaToSns.Builder deployVpc(Boolean deployVpc)
Default: - false
deployVpc - Whether to deploy a new VPC. This parameter is required.thispublic LambdaToSns.Builder existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Default: - None
existingLambdaObj - Existing instance of Lambda Function object, if this is set then the lambdaFunctionProps is ignored. This parameter is required.thispublic LambdaToSns.Builder existingTopicObj(software.amazon.awscdk.services.sns.Topic existingTopicObj)
Default: - Default props are used
existingTopicObj - Existing instance of SNS Topic object, if this is set then topicProps is ignored. This parameter is required.thispublic LambdaToSns.Builder existingVpc(software.amazon.awscdk.services.ec2.IVpc existingVpc)
existingVpc - An existing VPC for the construct to use (construct will NOT create a new VPC in this case). This parameter is required.thispublic LambdaToSns.Builder lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
Default: - Default properties are used.
lambdaFunctionProps - User provided props to override the default props for the Lambda function. This parameter is required.thispublic LambdaToSns.Builder topicArnEnvironmentVariableName(String topicArnEnvironmentVariableName)
Default: - None
topicArnEnvironmentVariableName - Optional Name for the SNS topic arn environment variable set for the Lambda function. This parameter is required.thispublic LambdaToSns.Builder topicNameEnvironmentVariableName(String topicNameEnvironmentVariableName)
Default: - None
topicNameEnvironmentVariableName - Optional Name for the SNS topic name environment variable set for the Lambda function. This parameter is required.thispublic LambdaToSns.Builder topicProps(software.amazon.awscdk.services.sns.TopicProps topicProps)
Default: - Default properties are used.
topicProps - Optional user provided properties to override the default properties for the SNS topic. This parameter is required.thispublic LambdaToSns.Builder vpcProps(software.amazon.awscdk.services.ec2.VpcProps vpcProps)
vpcProps - Properties to override default properties if deployVpc is true. This parameter is required.thispublic LambdaToSns build()
build in interface software.amazon.jsii.Builder<LambdaToSns>Copyright © 2021. All rights reserved.