Documentation
¶
Overview ¶
CDK constructs for defining an interaction between an Amazon Kinesis Data Stream and an AWS Lambda function.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KinesisStreamsToLambda_IsConstruct ¶
func KinesisStreamsToLambda_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 NewKinesisStreamsToLambda_Override ¶
func NewKinesisStreamsToLambda_Override(k KinesisStreamsToLambda, scope constructs.Construct, id *string, props *KinesisStreamsToLambdaProps)
Types ¶
type KinesisStreamsToLambda ¶
type KinesisStreamsToLambda interface { constructs.Construct CloudwatchAlarms() *[]awscloudwatch.Alarm KinesisStream() awskinesis.Stream LambdaFunction() awslambda.Function Node() constructs.Node ToString() *string }
func NewKinesisStreamsToLambda ¶
func NewKinesisStreamsToLambda(scope constructs.Construct, id *string, props *KinesisStreamsToLambdaProps) KinesisStreamsToLambda
type KinesisStreamsToLambdaProps ¶
type KinesisStreamsToLambdaProps struct { // Whether to create recommended CloudWatch alarms. CreateCloudWatchAlarms *bool `json:"createCloudWatchAlarms"` // 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"` // Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error. ExistingLambdaObj awslambda.Function `json:"existingLambdaObj"` // Existing instance of Kinesis Stream, providing both this and `kinesisStreamProps` will cause an error. ExistingStreamObj awskinesis.Stream `json:"existingStreamObj"` // Optional user-provided props to override the default props for the Lambda event source mapping. KinesisEventSourceProps interface{} `json:"kinesisEventSourceProps"` // Optional user-provided props to override the default props for the Kinesis stream. KinesisStreamProps *awskinesis.StreamProps `json:"kinesisStreamProps"` // 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"` }
The properties for the KinesisStreamsToLambda class.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.