-
LambdaToSns.Builder.create(software.constructs.Construct scope,
String id)
Whether to deploy a new VPC.
If no key is provided, this flag determines whether the SNS Topic is encrypted with a new CMK or an AWS managed key.
LambdaToSns.Builder.encryptionKey(software.amazon.awscdk.services.kms.Key encryptionKey)
An optional, imported encryption key to encrypt the SNS Topic with.
LambdaToSns.Builder.encryptionKeyProps(software.amazon.awscdk.services.kms.KeyProps encryptionKeyProps)
Optional user provided properties to override the default properties for the KMS encryption key used to encrypt the SNS Topic with.
LambdaToSns.Builder.existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Existing instance of Lambda Function object, providing both this and lambdaFunctionProps will cause an error.
LambdaToSns.Builder.existingTopicObj(software.amazon.awscdk.services.sns.Topic existingTopicObj)
Existing instance of SNS Topic object, providing both this and topicProps will cause an error..
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.
Optional Name for the Lambda function environment variable set to the arn of the Topic.
Optional Name for the Lambda function environment variable set to the name of the Topic.
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.