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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awsconstructs.services.lambdasns.LambdaToSnsProps
LambdaToSnsProps.Builder, LambdaToSnsProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(LambdaToSnsProps.Builder builder) Constructor that initializes the object based on literal property values passed by theLambdaToSnsProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal BooleanWhether to deploy a new VPC.final BooleanIf 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.KeyAn optional, imported encryption key to encrypt the SNS Topic with.final 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.final software.amazon.awscdk.services.lambda.FunctionExisting instance of Lambda Function object, providing both this andlambdaFunctionPropswill cause an error.final software.amazon.awscdk.services.sns.TopicExisting instance of SNS Topic object, providing both this and topicProps will cause an error..final software.amazon.awscdk.services.ec2.IVpcAn existing VPC for the construct to use (construct will NOT create a new VPC in this case).final software.amazon.awscdk.services.lambda.FunctionPropsUser provided props to override the default props for the Lambda function.final StringOptional Name for the Lambda function environment variable set to the arn of the Topic.final StringOptional Name for the Lambda function environment variable set to the name of the Topic.final software.amazon.awscdk.services.sns.TopicPropsOptional user provided properties to override the default properties for the SNS topic.final software.amazon.awscdk.services.ec2.VpcPropsProperties to override default properties if deployVpc is true.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
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
Constructor that initializes the object based on literal property values passed by theLambdaToSnsProps.Builder.
-
-
Method Details
-
getDeployVpc
Description copied from interface:LambdaToSnsPropsWhether to deploy a new VPC.Default: - false
- Specified by:
getDeployVpcin interfaceLambdaToSnsProps
-
getEnableEncryptionWithCustomerManagedKey
Description copied from interface:LambdaToSnsPropsIf 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:
getEnableEncryptionWithCustomerManagedKeyin interfaceLambdaToSnsProps
-
getEncryptionKey
public final software.amazon.awscdk.services.kms.Key getEncryptionKey()Description copied from interface:LambdaToSnsPropsAn optional, imported encryption key to encrypt the SNS Topic with.Default: - None
- Specified by:
getEncryptionKeyin interfaceLambdaToSnsProps
-
getEncryptionKeyProps
public final software.amazon.awscdk.services.kms.KeyProps getEncryptionKeyProps()Description copied from interface:LambdaToSnsPropsOptional user provided properties to override the default properties for the KMS encryption key used to encrypt the SNS Topic with.Default: - None
- Specified by:
getEncryptionKeyPropsin interfaceLambdaToSnsProps
-
getExistingLambdaObj
public final software.amazon.awscdk.services.lambda.Function getExistingLambdaObj()Description copied from interface:LambdaToSnsPropsExisting instance of Lambda Function object, providing both this andlambdaFunctionPropswill cause an error.Default: - None
- Specified by:
getExistingLambdaObjin interfaceLambdaToSnsProps
-
getExistingTopicObj
public final software.amazon.awscdk.services.sns.Topic getExistingTopicObj()Description copied from interface:LambdaToSnsPropsExisting instance of SNS Topic object, providing both this and topicProps will cause an error..Default: - Default props are used
- Specified by:
getExistingTopicObjin interfaceLambdaToSnsProps
-
getExistingVpc
public final software.amazon.awscdk.services.ec2.IVpc getExistingVpc()Description copied from interface:LambdaToSnsPropsAn existing VPC for the construct to use (construct will NOT create a new VPC in this case).- Specified by:
getExistingVpcin interfaceLambdaToSnsProps
-
getLambdaFunctionProps
public final software.amazon.awscdk.services.lambda.FunctionProps getLambdaFunctionProps()Description copied from interface:LambdaToSnsPropsUser provided props to override the default props for the Lambda function.Default: - Default properties are used.
- Specified by:
getLambdaFunctionPropsin interfaceLambdaToSnsProps
-
getTopicArnEnvironmentVariableName
Description copied from interface:LambdaToSnsPropsOptional Name for the Lambda function environment variable set to the arn of the Topic.Default: - SNS_TOPIC_ARN
- Specified by:
getTopicArnEnvironmentVariableNamein interfaceLambdaToSnsProps
-
getTopicNameEnvironmentVariableName
Description copied from interface:LambdaToSnsPropsOptional Name for the Lambda function environment variable set to the name of the Topic.Default: - SNS_TOPIC_NAME
- Specified by:
getTopicNameEnvironmentVariableNamein interfaceLambdaToSnsProps
-
getTopicProps
public final software.amazon.awscdk.services.sns.TopicProps getTopicProps()Description copied from interface:LambdaToSnsPropsOptional user provided properties to override the default properties for the SNS topic.Default: - Default properties are used.
- Specified by:
getTopicPropsin interfaceLambdaToSnsProps
-
getVpcProps
public final software.amazon.awscdk.services.ec2.VpcProps getVpcProps()Description copied from interface:LambdaToSnsPropsProperties to override default properties if deployVpc is true.- Specified by:
getVpcPropsin interfaceLambdaToSnsProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-