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 |
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(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
Sets the value of
SnsToLambdaProps.getLambdaFunctionProps() |
SnsToLambdaProps.Builder |
topicProps(software.amazon.awscdk.services.sns.TopicProps topicProps)
Sets the value of
SnsToLambdaProps.getTopicProps() |
public 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 this is set then the lambdaFunctionProps is ignored.thispublic SnsToLambdaProps.Builder lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
SnsToLambdaProps.getLambdaFunctionProps()lambdaFunctionProps - User provided props to override the default props for the Lambda function.thispublic SnsToLambdaProps.Builder topicProps(software.amazon.awscdk.services.sns.TopicProps 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.