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 |
enableEncryptionWithCustomerManagedKey(Boolean enableEncryptionWithCustomerManagedKey)
Sets the value of
SnsToLambdaProps.getEnableEncryptionWithCustomerManagedKey() |
SnsToLambdaProps.Builder |
encryptionKey(software.amazon.awscdk.services.kms.Key encryptionKey)
Sets the value of
SnsToLambdaProps.getEncryptionKey() |
SnsToLambdaProps.Builder |
encryptionKeyProps(software.amazon.awscdk.services.kms.KeyProps encryptionKeyProps)
Sets the value of
SnsToLambdaProps.getEncryptionKeyProps() |
SnsToLambdaProps.Builder |
existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Sets the value of
SnsToLambdaProps.getExistingLambdaObj() |
SnsToLambdaProps.Builder |
existingTopicObj(software.amazon.awscdk.services.sns.Topic existingTopicObj)
Sets the value of
SnsToLambdaProps.getExistingTopicObj() |
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 enableEncryptionWithCustomerManagedKey(Boolean enableEncryptionWithCustomerManagedKey)
SnsToLambdaProps.getEnableEncryptionWithCustomerManagedKey()enableEncryptionWithCustomerManagedKey - If no key is provided, this flag determines whether the SNS Topic is encrypted with a new CMK or an AWS managed key.
This flag is ignored if any of the following are defined: topicProps.masterKey, encryptionKey or encryptionKeyProps.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 encryptionKeyProps(software.amazon.awscdk.services.kms.KeyProps encryptionKeyProps)
SnsToLambdaProps.getEncryptionKeyProps()encryptionKeyProps - Optional user provided properties to override the default properties for the KMS encryption key used 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, providing both this and `lambdaFunctionProps` will cause an error.thispublic SnsToLambdaProps.Builder existingTopicObj(software.amazon.awscdk.services.sns.Topic existingTopicObj)
SnsToLambdaProps.getExistingTopicObj()existingTopicObj - Existing instance of SNS Topic object, providing both this and topicProps will cause an error..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 © 2023. All rights reserved.