public static final class SnsToLambdaProps.Builder extends Object implements software.amazon.jsii.Builder<SnsToLambdaProps>
SnsToLambdaProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
SnsToLambdaProps |
build()
Builds the configured instance.
|
SnsToLambdaProps.Builder |
deployLambda(Boolean deployLambda)
Sets the value of
SnsToLambdaProps.getDeployLambda() |
SnsToLambdaProps.Builder |
enableEncryption(Boolean enableEncryption)
Sets the value of
SnsToLambdaProps.getEnableEncryption() |
SnsToLambdaProps.Builder |
encryptionKey(software.amazon.awscdk.services.kms.Key encryptionKey)
Sets the value of
SnsToLambdaProps.getEncryptionKey() |
SnsToLambdaProps.Builder |
existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Sets the value of
SnsToLambdaProps.getExistingLambdaObj() |
SnsToLambdaProps.Builder |
lambdaFunctionProps(Object lambdaFunctionProps)
Sets the value of
SnsToLambdaProps.getLambdaFunctionProps() |
SnsToLambdaProps.Builder |
topicProps(Object topicProps)
Sets the value of
SnsToLambdaProps.getTopicProps() |
public SnsToLambdaProps.Builder deployLambda(Boolean deployLambda)
SnsToLambdaProps.getDeployLambda()deployLambda - Whether to create a new Lambda function or use an existing Lambda function. This parameter is required.
If set to false, you must provide an existing function for the existingLambdaObj property.thispublic SnsToLambdaProps.Builder enableEncryption(Boolean enableEncryption)
SnsToLambdaProps.getEnableEncryption()enableEncryption - Use a KMS Key, either managed by this CDK app, or imported.
If importing an encryption key, it must be specified in
the encryptionKey property for this construct.thispublic SnsToLambdaProps.Builder encryptionKey(software.amazon.awscdk.services.kms.Key encryptionKey)
SnsToLambdaProps.getEncryptionKey()encryptionKey - An optional, imported encryption key to encrypt the SNS topic with.thispublic SnsToLambdaProps.Builder existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
SnsToLambdaProps.getExistingLambdaObj()existingLambdaObj - Existing instance of Lambda Function object.
If deploy is set to false only then this property is requiredthispublic SnsToLambdaProps.Builder lambdaFunctionProps(Object lambdaFunctionProps)
SnsToLambdaProps.getLambdaFunctionProps()lambdaFunctionProps - Optional user provided properties to override the default properties for the Lambda function.
If deploy is set to true only then this property is required.thispublic SnsToLambdaProps.Builder topicProps(Object topicProps)
SnsToLambdaProps.getTopicProps()topicProps - Optional user provided properties to override the default properties for the SNS topic.thispublic SnsToLambdaProps build()
build in interface software.amazon.jsii.Builder<SnsToLambdaProps>SnsToLambdaPropsNullPointerException - if any required attribute was not providedCopyright © 2020. All rights reserved.