Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-cdk/aws-lambda-event-sources

Package Overview
Dependencies
Maintainers
4
Versions
277
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-cdk/aws-lambda-event-sources - npm Package Compare versions

Comparing version 0.21.0 to 0.22.0

2

lib/s3.d.ts

@@ -23,3 +23,3 @@ import lambda = require('@aws-cdk/aws-lambda');

constructor(bucket: s3.Bucket, props: S3EventSourceProps);
bind(target: lambda.FunctionRef): void;
bind(target: lambda.FunctionBase): void;
}

@@ -19,2 +19,2 @@ "use strict";

exports.S3EventSource = S3EventSource;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiczMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJzMy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQWtCQTs7R0FFRztBQUNILE1BQWEsYUFBYTtJQUN4QixZQUFxQixNQUFpQixFQUFtQixLQUF5QjtRQUE3RCxXQUFNLEdBQU4sTUFBTSxDQUFXO1FBQW1CLFVBQUssR0FBTCxLQUFLLENBQW9CO0lBRWxGLENBQUM7SUFFTSxJQUFJLENBQUMsTUFBMEI7UUFDcEMsTUFBTSxPQUFPLEdBQUcsSUFBSSxDQUFDLEtBQUssQ0FBQyxPQUFPLElBQUksRUFBRSxDQUFDO1FBQ3pDLEtBQUssTUFBTSxLQUFLLElBQUksSUFBSSxDQUFDLEtBQUssQ0FBQyxNQUFNLEVBQUU7WUFDckMsSUFBSSxDQUFDLE1BQU0sQ0FBQyxPQUFPLENBQUMsS0FBSyxFQUFFLE1BQU0sRUFBRSxHQUFHLE9BQU8sQ0FBQyxDQUFDO1NBQ2hEO0lBQ0gsQ0FBQztDQUNGO0FBWEQsc0NBV0MiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgbGFtYmRhID0gcmVxdWlyZSgnQ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50cykge1xuICAgICAgdGhpcy5idWNrZXQub25FdmVudChldmVudCwgdGFyZ2V0LCAuLi5maWx0ZXJzKTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==

@@ -7,5 +7,5 @@ import lambda = require('@aws-cdk/aws-lambda');

export declare class SnsEventSource implements lambda.IEventSource {
readonly topic: sns.TopicRef;
constructor(topic: sns.TopicRef);
bind(target: lambda.FunctionRef): void;
readonly topic: sns.ITopic;
constructor(topic: sns.ITopic);
bind(target: lambda.FunctionBase): void;
}

@@ -15,2 +15,2 @@ "use strict";

exports.SnsEventSource = SnsEventSource;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic25zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBR0E7O0dBRUc7QUFDSCxNQUFhLGNBQWM7SUFDekIsWUFBcUIsS0FBbUI7UUFBbkIsVUFBSyxHQUFMLEtBQUssQ0FBYztJQUN4QyxDQUFDO0lBRU0sSUFBSSxDQUFDLE1BQTBCO1FBQ3BDLElBQUksQ0FBQyxLQUFLLENBQUMsZUFBZSxDQUFDLE1BQU0sQ0FBQyxDQUFDO0lBQ3JDLENBQUM7Q0FDRjtBQVBELHdDQU9DIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IGxhbWJkYSA9IHJlcXVpcmUoJ0Bhd3MtY2RrL2F3cy1sYW1iZGEnKTtcbmltcG9ydCBzbnMgPSByZXF1aXJlKCdAYXdzLWNkay9hd3Mtc25zJyk7XG5cbi8qKlxuICogVXNlIGFuIEFtYXpvbiBTTlMgdG9waWMgYXMgYW4gZXZlbnQgc291cmNlIGZvciBBV1MgTGFtYmRhLlxuICovXG5leHBvcnQgY2xhc3MgU25zRXZlbnRTb3VyY2UgaW1wbGVtZW50cyBsYW1iZGEuSUV2ZW50U291cmNlIHtcbiAgY29uc3RydWN0b3IocmVhZG9ubHkgdG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XX0=

@@ -19,6 +19,6 @@ import lambda = require('@aws-cdk/aws-lambda');

export declare class SqsEventSource implements lambda.IEventSource {
readonly queue: sqs.QueueRef;
readonly queue: sqs.IQueue;
private readonly props;
constructor(queue: sqs.QueueRef, props?: SqsEventSourceProps);
bind(target: lambda.FunctionRef): void;
constructor(queue: sqs.IQueue, props?: SqsEventSourceProps);
bind(target: lambda.FunctionBase): void;
}

@@ -16,3 +16,3 @@ "use strict";

bind(target) {
new lambda.EventSourceMapping(target, `SqsEventSource:${this.queue.uniqueId}`, {
new lambda.EventSourceMapping(target, `SqsEventSource:${this.queue.node.uniqueId}`, {
target,

@@ -26,2 +26,2 @@ batchSize: this.props.batchSize,

exports.SqsEventSource = SqsEventSource;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3FzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic3FzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsOENBQStDO0FBZ0IvQzs7R0FFRztBQUNILE1BQWEsY0FBYztJQUN6QixZQUFxQixLQUFtQixFQUFtQixRQUE2QixFQUFHO1FBQXRFLFVBQUssR0FBTCxLQUFLLENBQWM7UUFBbUIsVUFBSyxHQUFMLEtBQUssQ0FBMkI7UUFDekYsSUFBSSxJQUFJLENBQUMsS0FBSyxDQUFDLFNBQVMsS0FBSyxTQUFTLElBQUksQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLFNBQVMsR0FBRyxDQUFDLElBQUksSUFBSSxDQUFDLEtBQUssQ0FBQyxTQUFTLEdBQUcsRUFBRSxDQUFDLEVBQUU7WUFDakcsTUFBTSxJQUFJLEtBQUssQ0FBQyxnRUFBZ0UsSUFBSSxDQUFDLEtBQUssQ0FBQyxTQUFTLEdBQUcsQ0FBQyxDQUFDO1NBQzFHO0lBQ0gsQ0FBQztJQUVNLElBQUksQ0FBQyxNQUEwQjtRQUNwQyxJQUFJLE1BQU0s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biAxIGFuZCAxMCBpbmNsdXNpdmUgKGdpdmVuICR7dGhpcy5wcm9wcy5iYXRjaFNpemV9KWApO1xuICAgIH1cbiAgfVxuXG4gIHB1YmxpYyBiaW5kKHRhcmdldDogbGFtYmRhLkZ1bmN0aW9uQmFzZSkge1xuICAgIG5ldyBsYW1iZGEuRXZlbnRTb3VyY2VNYXBwaW5nKHRhcmdldCwgYFNxc0V2ZW50U291cmNlOiR7dGhpcy5xdWV1ZS5ub2RlLnVuaXF1ZUlkfWAsIHtcbiAgICAgIHRhcmdldCxcbiAgICAgIGJhdGNoU2l6ZTogdGhpcy5wcm9wcy5iYXRjaFNpemUsXG4gICAgICBldmVudFNvdXJjZUFybjogdGhpcy5xdWV1ZS5xdWV1ZUFybixcbiAgICB9KTtcblxuICAgIHRoaXMucXVldWUuZ3JhbnRDb25zdW1lTWVzc2FnZXModGFyZ2V0LnJvbGUpO1xuICB9XG59Il19
{
"name": "@aws-cdk/aws-lambda-event-sources",
"version": "0.21.0",
"version": "0.22.0",
"description": "Event sources for AWS Lambda",

@@ -37,3 +37,4 @@ "main": "lib/index.js",

"pkglint": "pkglint -f",
"package": "cdk-package"
"package": "cdk-package",
"awslint": "cdk-awslint"
},

@@ -53,21 +54,21 @@ "keywords": [

"devDependencies": {
"@aws-cdk/assert": "^0.21.0",
"cdk-build-tools": "^0.21.0",
"cdk-integ-tools": "^0.21.0",
"pkglint": "^0.21.0"
"@aws-cdk/assert": "^0.22.0",
"cdk-build-tools": "^0.22.0",
"cdk-integ-tools": "^0.22.0",
"pkglint": "^0.22.0"
},
"dependencies": {
"@aws-cdk/aws-iam": "^0.21.0",
"@aws-cdk/aws-lambda": "^0.21.0",
"@aws-cdk/aws-s3": "^0.21.0",
"@aws-cdk/aws-sns": "^0.21.0",
"@aws-cdk/aws-sqs": "^0.21.0",
"@aws-cdk/cdk": "^0.21.0"
"@aws-cdk/aws-iam": "^0.22.0",
"@aws-cdk/aws-lambda": "^0.22.0",
"@aws-cdk/aws-s3": "^0.22.0",
"@aws-cdk/aws-sns": "^0.22.0",
"@aws-cdk/aws-sqs": "^0.22.0",
"@aws-cdk/cdk": "^0.22.0"
},
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/aws-lambda": "^0.21.0",
"@aws-cdk/aws-s3": "^0.21.0",
"@aws-cdk/aws-sns": "^0.21.0",
"@aws-cdk/aws-sqs": "^0.21.0"
"@aws-cdk/aws-lambda": "^0.22.0",
"@aws-cdk/aws-s3": "^0.22.0",
"@aws-cdk/aws-sns": "^0.22.0",
"@aws-cdk/aws-sqs": "^0.22.0"
},

@@ -74,0 +75,0 @@ "engines": {

@@ -8,4 +8,4 @@ "use strict";

class S3EventSourceTest extends cdk.Stack {
constructor(parent, id) {
super(parent, id);
constructor(scope, id) {
super(scope, id);
const fn = new test_function_1.TestFunction(this, 'F');

@@ -24,2 +24,2 @@ const bucket = new s3.Bucket(this, 'B', {

app.run();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZWcuczMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbnRlZy5zMy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHNDQUF1QztBQUN2QyxvQ0FBcUM7QUFDckMsZ0NBQXVDO0FBQ3ZDLG1EQUErQztBQUUvQyxNQUFNLGlCQUFrQixTQUFRLEdBQUcsQ0FBQyxLQUFLO0lBQ3ZDLFlBQVksTUFBZSxFQUFFLEVBQVU7UUFDckMsS0FBSyxDQUFDLE1BQU0sRUFBRSxFQUFFLENBQUMsQ0FBQztRQUVsQixNQUFNLEVBQUUsR0FBRyxJQUFJLDRCQUFZLENBQUMsSUFBSSxFQUFFLEdBQUcsQ0FBQyxDQUFDO1FBQ3ZDLE1BQU0sTUFBTSxHQUFHLElBQUksRUFBRSxDQUFDLE1BQU0sQ0FBQyxJQUFJLEVBQUUsR0FBRyxFQUFFO1lBQ3RDLGFBQ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FsgczMuRXZlbnRUeXBlLk9iamVjdENyZWF0ZWQgXSxcbiAgICAgIGZpbHRlcnM6IFsgeyBwcmVmaXg6ICdzdWJkaXIvJyB9IF1cbiAgICB9KSk7XG4gIH1cbn1cblxuY29uc3QgYXBwID0gbmV3IGNkay5BcHAoKTtcbm5ldyBTM0V2ZW50U291cmNlVGVzdChhcHAsICdsYW1iZGEtZXZlbnQtc291cmNlLXMzJyk7XG5hcHAucnVuKCk7XG4iXX0=

@@ -8,4 +8,4 @@ "use strict";

class SqsEventSourceTest extends cdk.Stack {
constructor(parent, id) {
super(parent, id);
constructor(scope, id) {
super(scope, id);
const fn = new test_function_1.TestFunction(this, 'F');

@@ -19,2 +19,2 @@ const topic = new sns.Topic(this, 'T');

app.run();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZWcuc25zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiaW50ZWcuc25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsd0NBQXlDO0FBQ3pDLG9DQUFxQztBQUNyQyxnQ0FBd0M7QUFDeEMsbURBQStDO0FBRS9DLE1BQU0sa0JBQW1CLFNBQVEsR0FBRyxDQUFDLEtBQUs7SUFDeEMsWUFBWSxNQUFlLEVBQUUsRUFBVTtRQUNyQyxLQUFLLENBQUMsTUFBTSxFQUFFLEVBQUUsQ0FBQyxDQUFDO1FBRWxCLE1BQU0sRUFBRSxHQUFHLElBQUksNEJBQVksQ0FBQyxJQUFJLEVBQUUsR0FBRyxDQUFDLENBQUM7UUFDdkMsTUFBTSxLQUFLLEdBQUcsSUFBSSxHQUFHLENBQUMsS0FBSyxDQUFDLElBQUksRUFBRSxHQUFHLENBQUMsQ0FBQztRQUV2QyxFQUFFLENBQUMsY0FBYyxDQUFDLElBQUksb0JBQWMsQ0FBQyxLQUFLLENBQUMsQ0FBQyxDQUFDO0lBQy9DLENBQUM7Q0FDRjtBQ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GUsIGlkKTtcblxuICAgIGNvbnN0IGZuID0gbmV3IFRlc3RGdW5jdGlvbih0aGlzLCAnRicpO1xuICAgIGNvbnN0IHRvcGljID0gbmV3IHNucy5Ub3BpYyh0aGlzLCAnVCcpO1xuXG4gICAgZm4uYWRkRXZlbnRTb3VyY2UobmV3IFNuc0V2ZW50U291cmNlKHRvcGljKSk7XG4gIH1cbn1cblxuY29uc3QgYXBwID0gbmV3IGNkay5BcHAoKTtcbm5ldyBTcXNFdmVudFNvdXJjZVRlc3QoYXBwLCAnbGFtYmRhLWV2ZW50LXNvdXJjZS1zbnMnKTtcbmFwcC5ydW4oKTsiXX0=

@@ -8,4 +8,4 @@ "use strict";

class SqsEventSourceTest extends cdk.Stack {
constructor(parent, id) {
super(parent, id);
constructor(scope, id) {
super(scope, id);
const fn = new test_function_1.TestFunction(this, 'F');

@@ -21,2 +21,2 @@ const queue = new sqs.Queue(this, 'Q');

app.run();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZWcuc3FzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiaW50ZWcuc3FzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsd0NBQXlDO0FBQ3pDLG9DQUFxQztBQUNyQyxnQ0FBd0M7QUFDeEMsbURBQStDO0FBRS9DLE1BQU0sa0JBQW1CLFNBQVEsR0FBRyxDQUFDLEtBQUs7SUFDeEMsWUFBWSxNQUFlLEVBQUUsRUFBVTtRQUNyQyxLQUFLLENBQUMsTUFBTSxFQUFFLEVBQUUsQ0FBQyxDQUFDO1FBRWxCLE1BQU0sRUFBRSxHQUFHLElBQUksNEJBQVksQ0FBQyxJQUFJLEVBQUUsR0FBRyxDQUFDLENBQUM7UUFDdkMsTUFBTSxLQUFLLEdBQUcsSUFBSSxHQUFHLENBQUMsS0FBSyxDQUFDLElBQUksRUFBRSxHQUFHLENBQUMsQ0FBQztRQUV2QyxFQU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vbSAnLi4vbGliJztcbmltcG9ydCB7IFRlc3RGdW5jdGlvbiB9IGZyb20gJy4vdGVzdC1mdW5jdGlvbic7XG5cbmNsYXNzIFNxc0V2ZW50U291cmNlVGVzdCBleHRlbmRzIGNkay5TdGFjayB7XG4gIGNvbnN0cnVjdG9yKHNjb3BlOiBjZGsuQXBwLCBpZDogc3RyaW5nKSB7XG4gICAgc3VwZXIoc2NvcGUsIGlkKTtcblxuICAgIGNvbnN0IGZuID0gbmV3IFRlc3RGdW5jdGlvbih0aGlzLCAnRicpO1xuICAgIGNvbnN0IHF1ZXVlID0gbmV3IHNxcy5RdWV1ZSh0aGlzLCAnUScpO1xuXG4gICAgZm4uYWRkRXZlbnRTb3VyY2UobmV3IFNxc0V2ZW50U291cmNlKHF1ZXVlLCB7XG4gICAgICBiYXRjaFNpemU6IDVcbiAgICB9KSk7XG4gIH1cbn1cblxuY29uc3QgYXBwID0gbmV3IGNkay5BcHAoKTtcbm5ldyBTcXNFdmVudFNvdXJjZVRlc3QoYXBwLCAnbGFtYmRhLWV2ZW50LXNvdXJjZS1zcXMnKTtcbmFwcC5ydW4oKTsiXX0=
import lambda = require('@aws-cdk/aws-lambda');
import cdk = require('@aws-cdk/cdk');
export declare class TestFunction extends lambda.Function {
constructor(parent: cdk.Construct, id: string);
constructor(scope: cdk.Construct, id: string);
}

@@ -5,4 +5,4 @@ "use strict";

class TestFunction extends lambda.Function {
constructor(parent, id) {
super(parent, id, {
constructor(scope, id) {
super(scope, id, {
handler: 'index.handler',

@@ -20,2 +20,2 @@ code: lambda.Code.inline(`exports.handler = ${handler.toString()}`),

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdC1mdW5jdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInRlc3QtZnVuY3Rpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSw4Q0FBK0M7QUFHL0MsTUFBY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QzNELE9BQU8sRUFBRSxLQUFLLEVBQUUsQ0FBQztBQUNuQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IGxhbWJkYSA9IHJlcXVpcmUoJ0Bhd3MtY2RrL2F3cy1sYW1iZGEnKTtcbmltcG9ydCBjZGsgPSByZXF1aXJlKCdAYXdzLWNkay9jZGsnKTtcblxuZXhwb3J0IGNsYXNzIFRlc3RGdW5jdGlvbiBleHRlbmRzIGxhbWJkYS5GdW5jdGlvbiB7XG4gIGNvbnN0cnVjdG9yKHNjb3BlOiBjZGsuQ29uc3RydWN0LCBpZDogc3RyaW5nKSB7XG4gICAgc3VwZXIoc2NvcGUsIGlkLCB7XG4gICAgICBoYW5kbGVyOiAnaW5kZXguaGFuZGxlcicsXG4gICAgICBjb2RlOiBsYW1iZGEuQ29kZS5pbmxpbmUoYGV4cG9ydHMuaGFuZGxlciA9ICR7aGFuZGxlci50b1N0cmluZygpfWApLFxuICAgICAgcnVudGltZTogbGFtYmRhLlJ1bnRpbWUuTm9kZUpTODEwXG4gICAgfSk7XG4gIH1cbn1cblxuLy8gdHNsaW50OmRpc2FibGU6bm8tY29uc29sZVxuYXN5bmMgZnVuY3Rpb24gaGFuZGxlcihldmVudDogYW55KSB7XG4gIGNvbnNvbGUubG9nKCdldmVudDonLCBKU09OLnN0cmluZ2lmeShldmVudCwgdW5kZWZpbmVkLCAyKSk7XG4gIHJldHVybiB7IGV2ZW50IH07XG59Il19

@@ -25,5 +25,35 @@ {

"strictNullChecks": true,
"target": "ES2018"
"target": "ES2018",
"composite": true
},
"include": [
"**/*.ts"
],
"exclude": [
"node_modules"
],
"references": [
{
"path": "../aws-iam"
},
{
"path": "../aws-lambda"
},
{
"path": "../aws-s3"
},
{
"path": "../aws-sns"
},
{
"path": "../aws-sqs"
},
{
"path": "../cdk"
},
{
"path": "../assert"
}
],
"_generated_by_jsii_": "Generated by jsii - safe to delete, and ideally should be in .gitignore"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc