Class LambdaToSnsProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awsconstructs.services.lambdasns.LambdaToSnsProps.Jsii$Proxy
All Implemented Interfaces:
LambdaToSnsProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
LambdaToSnsProps

@Internal public static final class LambdaToSnsProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements LambdaToSnsProps
An implementation for LambdaToSnsProps
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awsconstructs.services.lambdasns.LambdaToSnsProps

    LambdaToSnsProps.Builder, LambdaToSnsProps.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the LambdaToSnsProps.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final Boolean
    Whether to deploy a new VPC.
    final Boolean
    If no key is provided, this flag determines whether the SNS Topic is encrypted with a new CMK or an AWS managed key.
    final software.amazon.awscdk.services.kms.Key
    An optional, imported encryption key to encrypt the SNS Topic with.
    final 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.
    final software.amazon.awscdk.services.lambda.Function
    Existing instance of Lambda Function object, providing both this and lambdaFunctionProps will cause an error.
    final software.amazon.awscdk.services.sns.Topic
    Existing instance of SNS Topic object, providing both this and topicProps will cause an error..
    final software.amazon.awscdk.services.ec2.IVpc
    An existing VPC for the construct to use (construct will NOT create a new VPC in this case).
    final software.amazon.awscdk.services.lambda.FunctionProps
    User provided props to override the default props for the Lambda function.
    final String
    Optional Name for the Lambda function environment variable set to the arn of the Topic.
    final String
    Optional Name for the Lambda function environment variable set to the name of the Topic.
    final software.amazon.awscdk.services.sns.TopicProps
    Optional user provided properties to override the default properties for the SNS topic.
    final software.amazon.awscdk.services.ec2.VpcProps
    Properties to override default properties if deployVpc is true.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(LambdaToSnsProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the LambdaToSnsProps.Builder.
  • Method Details

    • getDeployVpc

      public final Boolean getDeployVpc()
      Description copied from interface: LambdaToSnsProps
      Whether to deploy a new VPC.

      Default: - false

      Specified by:
      getDeployVpc in interface LambdaToSnsProps
    • getEnableEncryptionWithCustomerManagedKey

      public final Boolean getEnableEncryptionWithCustomerManagedKey()
      Description copied from interface: LambdaToSnsProps
      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.

      Specified by:
      getEnableEncryptionWithCustomerManagedKey in interface LambdaToSnsProps
    • getEncryptionKey

      public final software.amazon.awscdk.services.kms.Key getEncryptionKey()
      Description copied from interface: LambdaToSnsProps
      An optional, imported encryption key to encrypt the SNS Topic with.

      Default: - None

      Specified by:
      getEncryptionKey in interface LambdaToSnsProps
    • getEncryptionKeyProps

      public final software.amazon.awscdk.services.kms.KeyProps getEncryptionKeyProps()
      Description copied from interface: LambdaToSnsProps
      Optional user provided properties to override the default properties for the KMS encryption key used to encrypt the SNS Topic with.

      Default: - None

      Specified by:
      getEncryptionKeyProps in interface LambdaToSnsProps
    • getExistingLambdaObj

      public final software.amazon.awscdk.services.lambda.Function getExistingLambdaObj()
      Description copied from interface: LambdaToSnsProps
      Existing instance of Lambda Function object, providing both this and lambdaFunctionProps will cause an error.

      Default: - None

      Specified by:
      getExistingLambdaObj in interface LambdaToSnsProps
    • getExistingTopicObj

      public final software.amazon.awscdk.services.sns.Topic getExistingTopicObj()
      Description copied from interface: LambdaToSnsProps
      Existing instance of SNS Topic object, providing both this and topicProps will cause an error..

      Default: - Default props are used

      Specified by:
      getExistingTopicObj in interface LambdaToSnsProps
    • getExistingVpc

      public final software.amazon.awscdk.services.ec2.IVpc getExistingVpc()
      Description copied from interface: LambdaToSnsProps
      An existing VPC for the construct to use (construct will NOT create a new VPC in this case).
      Specified by:
      getExistingVpc in interface LambdaToSnsProps
    • getLambdaFunctionProps

      public final software.amazon.awscdk.services.lambda.FunctionProps getLambdaFunctionProps()
      Description copied from interface: LambdaToSnsProps
      User provided props to override the default props for the Lambda function.

      Default: - Default properties are used.

      Specified by:
      getLambdaFunctionProps in interface LambdaToSnsProps
    • getTopicArnEnvironmentVariableName

      public final String getTopicArnEnvironmentVariableName()
      Description copied from interface: LambdaToSnsProps
      Optional Name for the Lambda function environment variable set to the arn of the Topic.

      Default: - SNS_TOPIC_ARN

      Specified by:
      getTopicArnEnvironmentVariableName in interface LambdaToSnsProps
    • getTopicNameEnvironmentVariableName

      public final String getTopicNameEnvironmentVariableName()
      Description copied from interface: LambdaToSnsProps
      Optional Name for the Lambda function environment variable set to the name of the Topic.

      Default: - SNS_TOPIC_NAME

      Specified by:
      getTopicNameEnvironmentVariableName in interface LambdaToSnsProps
    • getTopicProps

      public final software.amazon.awscdk.services.sns.TopicProps getTopicProps()
      Description copied from interface: LambdaToSnsProps
      Optional user provided properties to override the default properties for the SNS topic.

      Default: - Default properties are used.

      Specified by:
      getTopicProps in interface LambdaToSnsProps
    • getVpcProps

      public final software.amazon.awscdk.services.ec2.VpcProps getVpcProps()
      Description copied from interface: LambdaToSnsProps
      Properties to override default properties if deployVpc is true.
      Specified by:
      getVpcProps in interface LambdaToSnsProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object