
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
@aws-solutions-constructs/aws-eventbridge-lambda
Advanced tools
CDK Constructs for deploying AWS Events Rule that inveokes AWS Lambda
All classes are under active development and subject to non-backward compatible changes or removal in any future version. These are not subject to the Semantic Versioning model. This means that while you may use them, you may need to update your source code when upgrading to a newer version of this package.
| Reference Documentation: | https://docs.aws.amazon.com/solutions/latest/constructs/ |
|---|
| Language | Package |
|---|---|
Python | aws_solutions_constructs.aws_eventbridge_lambda |
Typescript | @aws-solutions-constructs/aws-eventbridge-lambda |
Java | software.amazon.awsconstructs.services.eventbridgelambda |
This AWS Solutions Construct implements an AWS EventBridge rule and an AWS Lambda function.
Here is a minimal deployable pattern definition in Typescript:
const { EventbridgeToLambdaProps, EventbridgeToLambda } from '@aws-solutions-constructs/aws-eventbridge-lambda';
const props: EventbridgeToLambdaProps = {
lambdaFunctionProps: {
code: lambda.Code.fromAsset(`${__dirname}/lambda`),
runtime: lambda.Runtime.NODEJS_12_X,
handler: 'index.handler'
},
eventRuleProps: {
schedule: events.Schedule.rate(Duration.minutes(5))
}
};
new EventbridgeToLambda(this, 'test-eventbridge-lambda', props);
new EventbridgeToLambda(scope: Construct, id: string, props: EventbridgeToLambdaProps);
Parameters
ConstructstringEventbridgeToLambdaProps| Name | Type | Description |
|---|---|---|
| existingLambdaObj? | lambda.Function | Existing instance of Lambda Function object, providing both this and lambdaFunctionProps will cause an error. |
| lambdaFunctionProps? | lambda.FunctionProps | User provided props to override the default props for the Lambda function. |
| eventRuleProps | events.RuleProps | User provided eventRuleProps to override the defaults |
| Name | Type | Description |
|---|---|---|
| eventsRule | events.Rule | Returns an instance of events.Rule created by the construct |
| lambdaFunction | lambda.Function | Returns an instance of lambda.Function created by the construct |
Out of the box implementation of the Construct without any override will set the following defaults:

© Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
FAQs
CDK Constructs for deploying AWS Events Rule that inveokes AWS Lambda
The npm package @aws-solutions-constructs/aws-eventbridge-lambda receives a total of 4,403 weekly downloads. As such, @aws-solutions-constructs/aws-eventbridge-lambda popularity was classified as popular.
We found that @aws-solutions-constructs/aws-eventbridge-lambda demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.