public static final class SnsToLambda.Builder extends Object implements software.amazon.jsii.Builder<SnsToLambda>
SnsToLambda.| Modifier and Type | Method and Description |
|---|---|
SnsToLambda |
build() |
static SnsToLambda.Builder |
create(software.constructs.Construct scope,
String id) |
SnsToLambda.Builder |
enableEncryptionWithCustomerManagedKey(Boolean enableEncryptionWithCustomerManagedKey)
If no key is provided, this flag determines whether the SNS Topic is encrypted with a new CMK or an AWS managed key.
|
SnsToLambda.Builder |
encryptionKey(software.amazon.awscdk.services.kms.Key encryptionKey)
An optional, imported encryption key to encrypt the SNS Topic with.
|
SnsToLambda.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.
|
SnsToLambda.Builder |
existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error.
|
SnsToLambda.Builder |
existingTopicObj(software.amazon.awscdk.services.sns.Topic existingTopicObj)
Existing instance of SNS Topic object, providing both this and topicProps will cause an error..
|
SnsToLambda.Builder |
lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
User provided props to override the default props for the Lambda function.
|
SnsToLambda.Builder |
topicProps(software.amazon.awscdk.services.sns.TopicProps topicProps)
Optional user provided properties to override the default properties for the SNS topic.
|
public static SnsToLambda.Builder create(software.constructs.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.SnsToLambda.Builder.public SnsToLambda.Builder enableEncryptionWithCustomerManagedKey(Boolean enableEncryptionWithCustomerManagedKey)
This flag is ignored if any of the following are defined: topicProps.masterKey, encryptionKey or encryptionKeyProps.
Default: - False if topicProps.masterKey, encryptionKey, and encryptionKeyProps are all undefined.
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 parameter is required.thispublic SnsToLambda.Builder encryptionKey(software.amazon.awscdk.services.kms.Key encryptionKey)
Default: - None
encryptionKey - An optional, imported encryption key to encrypt the SNS Topic with. This parameter is required.thispublic SnsToLambda.Builder encryptionKeyProps(software.amazon.awscdk.services.kms.KeyProps encryptionKeyProps)
Default: - None
encryptionKeyProps - Optional user provided properties to override the default properties for the KMS encryption key used to encrypt the SNS Topic with. This parameter is required.thispublic SnsToLambda.Builder existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Default: - None
existingLambdaObj - Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error. This parameter is required.thispublic SnsToLambda.Builder existingTopicObj(software.amazon.awscdk.services.sns.Topic existingTopicObj)
Default: - Default props are used
existingTopicObj - Existing instance of SNS Topic object, providing both this and topicProps will cause an error.. This parameter is required.thispublic SnsToLambda.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 SnsToLambda.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 SnsToLambda build()
build in interface software.amazon.jsii.Builder<SnsToLambda>Copyright © 2023. All rights reserved.