Documentation ¶
Overview ¶
CDK Constructs for AWS SNS to AWS Lambda integration
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSnsToLambda_Override ¶
func NewSnsToLambda_Override(s SnsToLambda, scope constructs.Construct, id *string, props *SnsToLambdaProps)
func SnsToLambda_IsConstruct ¶
func SnsToLambda_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
Types ¶
type SnsToLambda ¶
type SnsToLambda interface { constructs.Construct LambdaFunction() awslambda.Function Node() constructs.Node SnsTopic() awssns.Topic ToString() *string }
func NewSnsToLambda ¶
func NewSnsToLambda(scope constructs.Construct, id *string, props *SnsToLambdaProps) SnsToLambda
type SnsToLambdaProps ¶
type SnsToLambdaProps struct { // Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error. ExistingLambdaObj awslambda.Function `json:"existingLambdaObj"` // Existing instance of SNS Topic object, providing both this and topicProps will cause an error.. ExistingTopicObj awssns.Topic `json:"existingTopicObj"` // User provided props to override the default props for the Lambda function. LambdaFunctionProps *awslambda.FunctionProps `json:"lambdaFunctionProps"` // Optional user provided properties to override the default properties for the SNS topic. TopicProps *awssns.TopicProps `json:"topicProps"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.