Interface SnsToLambdaProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
SnsToLambdaProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-08-29T02:49:24.641Z") public interface SnsToLambdaProps extends software.amazon.jsii.JsiiSerializable
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder for SnsToLambdaProps
    static final class 
    An implementation for SnsToLambdaProps
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default Boolean
    If 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.Key
    An optional, imported encryption key to encrypt the SNS Topic with.
    default software.amazon.awscdk.services.kms.KeyProps
    Optional 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.Function
    Existing instance of Lambda Function object, providing both this and lambdaFunctionProps will cause an error.
    default software.amazon.awscdk.services.sns.Topic
    Existing instance of SNS Topic object, providing both this and topicProps will cause an error..
    default software.amazon.awscdk.services.lambda.FunctionProps
    User provided props to override the default props for the Lambda function.
    default software.amazon.awscdk.services.sns.TopicProps
    Optional 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

      @Nullable default Boolean 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 and lambdaFunctionProps will 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

      static SnsToLambdaProps.Builder builder()
      Returns:
      a SnsToLambdaProps.Builder of SnsToLambdaProps