Documentation ¶
Overview ¶
CDK Constructs for AWS DynamoDB Streams to AWS Lambda integration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DynamoDBStreamsToLambda_IsConstruct ¶
func DynamoDBStreamsToLambda_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
func NewDynamoDBStreamsToLambda_Override ¶
func NewDynamoDBStreamsToLambda_Override(d DynamoDBStreamsToLambda, scope constructs.Construct, id *string, props *DynamoDBStreamsToLambdaProps)
Types ¶
type DynamoDBStreamsToLambda ¶
type DynamoDBStreamsToLambda interface { constructs.Construct DynamoTable() awsdynamodb.Table DynamoTableInterface() awsdynamodb.ITable LambdaFunction() awslambda.Function Node() constructs.Node ToString() *string }
func NewDynamoDBStreamsToLambda ¶
func NewDynamoDBStreamsToLambda(scope constructs.Construct, id *string, props *DynamoDBStreamsToLambdaProps) DynamoDBStreamsToLambda
type DynamoDBStreamsToLambdaProps ¶
type DynamoDBStreamsToLambdaProps struct { // Whether to deploy a SQS dead letter queue when a data record reaches the Maximum Retry Attempts or Maximum Record Age, its metadata like shard ID and stream ARN will be sent to an SQS queue. DeploySqsDlqQueue *bool `json:"deploySqsDlqQueue"` // Optional user provided props to override the default props. DynamoEventSourceProps interface{} `json:"dynamoEventSourceProps"` // Optional user provided props to override the default props. DynamoTableProps *awsdynamodb.TableProps `json:"dynamoTableProps"` // Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error. ExistingLambdaObj awslambda.Function `json:"existingLambdaObj"` // Existing instance of DynamoDB table object, providing both this and `dynamoTableProps` will cause an error. ExistingTableInterface awsdynamodb.ITable `json:"existingTableInterface"` // User provided props to override the default props for the Lambda function. LambdaFunctionProps *awslambda.FunctionProps `json:"lambdaFunctionProps"` // Optional user provided properties for the SQS dead letter queue. SqsDlqQueueProps *awssqs.QueueProps `json:"sqsDlqQueueProps"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.