Interface SnsToLambdaProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SnsToLambdaProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2024-08-26T23:34:12.569Z")
public interface SnsToLambdaProps
extends software.amazon.jsii.JsiiSerializable
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forSnsToLambdaPropsstatic final classAn implementation forSnsToLambdaProps -
Method Summary
Modifier and TypeMethodDescriptionstatic SnsToLambdaProps.Builderbuilder()default BooleanIf no key is provided, this flag determines whether the SNS Topic is encrypted with a new CMK or an AWS managed key.default software.amazon.awscdk.services.kms.KeyAn optional, imported encryption key to encrypt the SNS Topic with.default software.amazon.awscdk.services.kms.KeyPropsOptional user provided properties to override the default properties for the KMS encryption key used to encrypt the SNS Topic with.default software.amazon.awscdk.services.lambda.FunctionExisting instance of Lambda Function object, providing both this andlambdaFunctionPropswill cause an error.default software.amazon.awscdk.services.sns.TopicExisting instance of SNS Topic object, providing both this and topicProps will cause an error..default software.amazon.awscdk.services.lambda.FunctionPropsUser provided props to override the default props for the Lambda function.default software.amazon.awscdk.services.sns.TopicPropsOptional user provided properties to override the default properties for the SNS topic.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnableEncryptionWithCustomerManagedKey
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.
Default: - False if topicProps.masterKey, encryptionKey, and encryptionKeyProps are all undefined.
-
getEncryptionKey
@Nullable default software.amazon.awscdk.services.kms.Key getEncryptionKey()An optional, imported encryption key to encrypt the SNS Topic with.Default: - None
-
getEncryptionKeyProps
@Nullable default software.amazon.awscdk.services.kms.KeyProps getEncryptionKeyProps()Optional user provided properties to override the default properties for the KMS encryption key used to encrypt the SNS Topic with.Default: - None
-
getExistingLambdaObj
@Nullable default software.amazon.awscdk.services.lambda.Function getExistingLambdaObj()Existing instance of Lambda Function object, providing both this andlambdaFunctionPropswill cause an error.Default: - None
-
getExistingTopicObj
@Nullable default software.amazon.awscdk.services.sns.Topic getExistingTopicObj()Existing instance of SNS Topic object, providing both this and topicProps will cause an error..Default: - Default props are used
-
getLambdaFunctionProps
@Nullable default software.amazon.awscdk.services.lambda.FunctionProps getLambdaFunctionProps()User provided props to override the default props for the Lambda function.Default: - Default properties are used.
-
getTopicProps
@Nullable default software.amazon.awscdk.services.sns.TopicProps getTopicProps()Optional user provided properties to override the default properties for the SNS topic.Default: - Default properties are used.
-
builder
- Returns:
- a
SnsToLambdaProps.BuilderofSnsToLambdaProps
-