@aws-cdk/aws-lambda
Advanced tools
Comparing version 0.23.0 to 0.24.0
import iam = require('@aws-cdk/aws-iam'); | ||
import cdk = require('@aws-cdk/cdk'); | ||
import { FunctionBase, FunctionImportProps } from './lambda-ref'; | ||
import { FunctionBase, FunctionImportProps } from './function-base'; | ||
import { Version } from './lambda-version'; | ||
@@ -5,0 +5,0 @@ import { Permission } from './permission'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const cdk = require("@aws-cdk/cdk"); | ||
const lambda_ref_1 = require("./lambda-ref"); | ||
const function_base_1 = require("./function-base"); | ||
const lambda_generated_1 = require("./lambda.generated"); | ||
@@ -9,3 +9,3 @@ /** | ||
*/ | ||
class Alias extends lambda_ref_1.FunctionBase { | ||
class Alias extends function_base_1.FunctionBase { | ||
constructor(scope, id, props) { | ||
@@ -15,3 +15,3 @@ super(scope, id); | ||
this.underlyingLambda = props.version.lambda; | ||
const alias = new lambda_generated_1.CfnAlias(this, 'Resource', { | ||
new lambda_generated_1.CfnAlias(this, 'Resource', { | ||
name: props.aliasName, | ||
@@ -25,4 +25,4 @@ description: props.description, | ||
// where the name is expected, and an ARN can refer to an Alias. | ||
this.functionName = alias.ref; | ||
this.functionArn = alias.aliasArn; | ||
this.functionName = `${props.version.lambda.functionArn}:${props.aliasName}`; | ||
this.functionArn = `${props.version.lambda.functionArn}:${props.aliasName}`; | ||
} | ||
@@ -73,2 +73,2 @@ export() { | ||
exports.Alias = Alias; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxpYXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJhbGlhcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUNBLG9DQUFxQztBQUNyQyw2Q0FBNEU7QUFFNUUseURBQThDO0FBOEM5Qzs7R0FFRztBQUNILE1BQWEsS0FBTSxTQUFRLHlCQUFZO0lBNkJyQyxZQUFZLEtBQW9CLEVBQU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W9uIHdlaWdodHMgbXVzdCBub3QgZXhjZWVkIDEsIGdvdDogJHt0b3RhbH1gKTtcbiAgICB9XG4gIH1cbn1cblxuLyoqXG4gKiBBIHZlcnNpb24vd2VpZ2h0IHBhaXIgZm9yIHJvdXRpbmcgdHJhZmZpYyB0byBMYW1iZGEgZnVuY3Rpb25zXG4gKi9cbmV4cG9ydCBpbnRlcmZhY2UgVmVyc2lvbldlaWdodCB7XG4gIC8qKlxuICAgKiBUaGUgdmVyc2lvbiB0byByb3V0ZSB0cmFmZmljIHRvXG4gICAqL1xuICByZWFkb25seSB2ZXJzaW9uOiBWZXJzaW9uO1xuXG4gIC8qKlxuICAgKiBIb3cgbXVjaCB3ZWlnaHQgdG8gYXNzaWduIHRvIHRoaXMgdmVyc2lvbiAoMC4uMSlcbiAgICovXG4gIHJlYWRvbmx5IHdlaWdodDogbnVtYmVyO1xufVxuIl19 |
import cdk = require('@aws-cdk/cdk'); | ||
import { IFunction } from './lambda-ref'; | ||
import { IFunction } from './function-base'; | ||
export interface EventSourceMappingProps { | ||
@@ -4,0 +4,0 @@ /** |
@@ -47,2 +47,2 @@ "use strict"; | ||
})(StartingPosition = exports.StartingPosition || (exports.StartingPosition = {})); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZlbnQtc291cmNlLW1hcHBpbmcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJldmVudC1zb3VyY2UtbWFwcGluZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLG9DQUFxQztBQUVyQyx5REFBMkQ7QUEwQzNEOzs7Ozs7Ozs7OztHQVdHO0FBQ0gsTUFBYSxrQkFBbUIsU0FBUSxHQUFHLENBQUMsU0FBUztJQUNuRCxZQUFZLEtBQW9CLEVBQUUsRUFBVSxFQUFFLEtBQThCO1FBQzFFLEtBQUssQ0FBQyxLQUFLLEVBQUUsRUFBRSxDQUFDLENBQUM7UUFFakIsS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lvbiB7XG4gIC8qKlxuICAgKiBTdGFydCByZWFkaW5nIGF0IHRoZSBsYXN0IHVudHJpbW1lZCByZWNvcmQgaW4gdGhlIHNoYXJkIGluIHRoZSBzeXN0ZW0sXG4gICAqIHdoaWNoIGlzIHRoZSBvbGRlc3QgZGF0YSByZWNvcmQgaW4gdGhlIHNoYXJkLlxuICAgKi9cbiAgVHJpbUhvcml6b24gPSAnVFJJTV9IT1JJWk9OJyxcblxuICAvKipcbiAgICogU3RhcnQgcmVhZGluZyBqdXN0IGFmdGVyIHRoZSBtb3N0IHJlY2VudCByZWNvcmQgaW4gdGhlIHNoYXJkLCBzbyB0aGF0IHlvdVxuICAgKiBhbHdheXMgcmVhZCB0aGUgbW9zdCByZWNlbnQgZGF0YSBpbiB0aGUgc2hhcmRcbiAgICovXG4gIExhdGVzdCA9ICdMQVRFU1QnLFxufVxuIl19 |
@@ -1,2 +0,2 @@ | ||
import { FunctionBase } from './lambda-ref'; | ||
import { FunctionBase } from './function-base'; | ||
/** | ||
@@ -3,0 +3,0 @@ * An abstract class which represents an AWS Lambda event source. |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZlbnQtc291cmNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZXZlbnQtc291cmNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBGdW5jdGlvbkJhc2UgfSBmcm9tICcuL2xhbWJkYS1yZWYnO1xuXG4vKipcbiAqIEFuIGFic3RyYWN0IGNsYXNzIHdoaWNoIHJlcHJlc2VudHMgYW4gQVdTIExhbWJkYSBldmVudCBzb3VyY2UuXG4gKi9cbmV4cG9ydCBpbnRlcmZhY2UgSUV2ZW50U291cmNlIHtcbiAgLyoqXG4gICAqIENhbGxlZCBieSBgbGFtYmRhLmFkZEV2ZW50U291cmNlYCB0byBhbGxvdyB0aGUgZXZlbnQgc291cmNlIHRvIGJpbmQgdG8gdGhpc1xuICAgKiBmdW5jdGlvbi5cbiAgICogQHBhcmFtIHRhcmdldCBUaGF0IGxhbWJkYSBmdW5jdGlvbiB0byBiaW5kIHRvLlxuICAgKi9cbiAgYmluZCh0YXJnZXQ6IEZ1bmN0aW9uQmFzZSk6IHZvaWQ7XG59XG4iXX0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZlbnQtc291cmNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZXZlbnQtc291cmNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBGdW5jdGlvbkJhc2UgfSBmcm9tICcuL2Z1bmN0aW9uLWJhc2UnO1xuXG4vKipcbiAqIEFuIGFic3RyYWN0IGNsYXNzIHdoaWNoIHJlcHJlc2VudHMgYW4gQVdTIExhbWJkYSBldmVudCBzb3VyY2UuXG4gKi9cbmV4cG9ydCBpbnRlcmZhY2UgSUV2ZW50U291cmNlIHtcbiAgLyoqXG4gICAqIENhbGxlZCBieSBgbGFtYmRhLmFkZEV2ZW50U291cmNlYCB0byBhbGxvdyB0aGUgZXZlbnQgc291cmNlIHRvIGJpbmQgdG8gdGhpc1xuICAgKiBmdW5jdGlvbi5cbiAgICogQHBhcmFtIHRhcmdldCBUaGF0IGxhbWJkYSBmdW5jdGlvbiB0byBiaW5kIHRvLlxuICAgKi9cbiAgYmluZCh0YXJnZXQ6IEZ1bmN0aW9uQmFzZSk6IHZvaWQ7XG59XG4iXX0= |
export * from './alias'; | ||
export * from './lambda-ref'; | ||
export * from './lambda'; | ||
export * from './function-base'; | ||
export * from './function'; | ||
export * from './layers'; | ||
@@ -14,1 +14,2 @@ export * from './permission'; | ||
export * from './lambda.generated'; | ||
import './lambda-augmentations.generated'; |
@@ -7,4 +7,4 @@ "use strict"; | ||
__export(require("./alias")); | ||
__export(require("./lambda-ref")); | ||
__export(require("./lambda")); | ||
__export(require("./function-base")); | ||
__export(require("./function")); | ||
__export(require("./layers")); | ||
@@ -19,2 +19,3 @@ __export(require("./pipeline-action")); | ||
__export(require("./lambda.generated")); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLDZCQUF3QjtBQUN4QixrQ0FBNkI7QUFDN0IsOEJBQXlCO0FBQ3pCLDhCQUF5QjtBQUV6Qix1Q0FBa0M7QUFDbEMsK0JBQTBCO0FBQzFCLDRCQUF1QjtBQUN2QixzQ0FBaUM7QUFDakMsd0NBQW1DO0FBRW5DLDRDQUF1QztBQUV2Qyx3Q0FBd0M7QUFDeEMsd0NBQW1DIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9hbGlhcyc7XG5leHBvcnQgKiBmcm9tICcuL2xhbWJkYS1yZWYnO1xuZXhwb3J0ICogZnJvbSAnLi9sYW1iZGEnO1xuZXhwb3J0ICogZnJvbSAnLi9sYXllcnMnO1xuZXhwb3J0ICogZnJvbSAnLi9wZXJtaXNzaW9uJztcbmV4cG9ydCAqIGZyb20gJy4vcGlwZWxpbmUtYWN0aW9uJztcbmV4cG9ydCAqIGZyb20gJy4vcnVudGltZSc7XG5leHBvcnQgKiBmcm9tICcuL2NvZGUnO1xuZXhwb3J0ICogZnJvbSAnLi9sYW1iZGEtdmVyc2lvbic7XG5leHBvcnQgKiBmcm9tICcuL3NpbmdsZXRvbi1sYW1iZGEnO1xuZXhwb3J0ICogZnJvbSAnLi9ldmVudC1zb3VyY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9ldmVudC1zb3VyY2UtbWFwcGluZyc7XG5cbi8vIEFXUzo6TGFtYmRhIENsb3VkRm9ybWF0aW9uIFJlc291cmNlczpcbmV4cG9ydCAqIGZyb20gJy4vbGFtYmRhLmdlbmVyYXRlZCc7XG4iXX0= | ||
require("./lambda-augmentations.generated"); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLDZCQUF3QjtBQUN4QixxQ0FBZ0M7QUFDaEMsZ0NBQTJCO0FBQzNCLDhCQUF5QjtBQUV6Qix1Q0FBa0M7QUFDbEMsK0JBQTBCO0FBQzFCLDRCQUF1QjtBQUN2QixzQ0FBaUM7QUFDakMsd0NBQW1DO0FBRW5DLDRDQUF1QztBQUV2Qyx3Q0FBd0M7QUFDeEMsd0NBQW1DO0FBRW5DLDRDQUEwQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vYWxpYXMnO1xuZXhwb3J0ICogZnJvbSAnLi9mdW5jdGlvbi1iYXNlJztcbmV4cG9ydCAqIGZyb20gJy4vZnVuY3Rpb24nO1xuZXhwb3J0ICogZnJvbSAnLi9sYXllcnMnO1xuZXhwb3J0ICogZnJvbSAnLi9wZXJtaXNzaW9uJztcbmV4cG9ydCAqIGZyb20gJy4vcGlwZWxpbmUtYWN0aW9uJztcbmV4cG9ydCAqIGZyb20gJy4vcnVudGltZSc7XG5leHBvcnQgKiBmcm9tICcuL2NvZGUnO1xuZXhwb3J0ICogZnJvbSAnLi9sYW1iZGEtdmVyc2lvbic7XG5leHBvcnQgKiBmcm9tICcuL3NpbmdsZXRvbi1sYW1iZGEnO1xuZXhwb3J0ICogZnJvbSAnLi9ldmVudC1zb3VyY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9ldmVudC1zb3VyY2UtbWFwcGluZyc7XG5cbi8vIEFXUzo6TGFtYmRhIENsb3VkRm9ybWF0aW9uIFJlc291cmNlczpcbmV4cG9ydCAqIGZyb20gJy4vbGFtYmRhLmdlbmVyYXRlZCc7XG5cbmltcG9ydCAnLi9sYW1iZGEtYXVnbWVudGF0aW9ucy5nZW5lcmF0ZWQnO1xuIl19 |
import { Construct } from '@aws-cdk/cdk'; | ||
import { IFunction } from './lambda-ref'; | ||
import { IFunction } from './function-base'; | ||
/** | ||
@@ -4,0 +4,0 @@ * Properties for a new Lambda version |
@@ -34,2 +34,2 @@ "use strict"; | ||
exports.Version = Version; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGFtYmRhLXZlcnNpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJsYW1iZGEtdmVyc2lvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHNDQUF5QztBQUV6Qyx5REFBZ0Q7QUE0QmhEOzs7Ozs7Ozs7Ozs7Ozs7R0FlRztBQUNILE1BQWEsT0FBUSxTQUFRLGVBQVM7SUFXcEMsWUFBWSxLQUFnQixFQUFFLEVBQVUsRUFBRSxLQUFtQjtRQUMzRCxLQUFLLENBQUMsS0FBSyxFQUFFLEVBQUUsQ0FBQyxDQUFDO1FBRWpCLE1BQU0sT0FBTyxHQUFHLElBQUksNkJBQVUsQ0FBQyxJQUFJLEVBQUUsVUFBVSxFQUFFO1lBQy9DLFVBQVUsRUFBRSxLQUFLLENBQUMsVUFBVTtZQUM1QixXQUFXLEVBQUUsS0FBSyxDQUFDLFdBQVc7WUFDOUIsWUFBWSxFQUFFLEtBQUssQ0FBQyxNQUFNLENBQUMsWUFBWTtTQUN4QyxDQUFDLENBQUM7UUFFSCxJQUFJLENBQUMsZUFBZSxHQUFHLE9BQU8sQ0FBQyxPQUFPLENBQUM7UUFDdkMsSUFBSSxDQUFDLE1BQU0sR0FBRyxLQUFLLENBQUMsTUFBTSxDQUFDO0lBQzdCLENBQUM7Q0FDRjt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ICAgKiBUaGUgbW9zdCByZWNlbnRseSBkZXBsb3llZCB2ZXJzaW9uIG9mIHRoaXMgZnVuY3Rpb24uXG4gICAqL1xuICBwdWJsaWMgcmVhZG9ubHkgZnVuY3Rpb25WZXJzaW9uOiBzdHJpbmc7XG5cbiAgLyoqXG4gICAqIExhbWJkYSBvYmplY3QgdGhpcyB2ZXJzaW9uIGlzIGFzc29jaWF0ZWQgd2l0aFxuICAgKi9cbiAgcHVibGljIHJlYWRvbmx5IGxhbWJkYTogSUZ1bmN0aW9uO1xuXG4gIGNvbnN0cnVjdG9yKHNjb3BlOiBDb25zdHJ1Y3QsIGlkOiBzdHJpbmcsIHByb3BzOiBWZXJzaW9uUHJvcHMpIHtcbiAgICBzdXBlcihzY29wZSwgaWQpO1xuXG4gICAgY29uc3QgdmVyc2lvbiA9IG5ldyBDZm5WZXJzaW9uKHRoaXMsICdSZXNvdXJjZScsIHtcbiAgICAgIGNvZGVTaGEyNTY6IHByb3BzLmNvZGVTaGEyNTYsXG4gICAgICBkZXNjcmlwdGlvbjogcHJvcHMuZGVzY3JpcHRpb24sXG4gICAgICBmdW5jdGlvbk5hbWU6IHByb3BzLmxhbWJkYS5mdW5jdGlvbk5hbWVcbiAgICB9KTtcblxuICAgIHRoaXMuZnVuY3Rpb25WZXJzaW9uID0gdmVyc2lvbi52ZXJzaW9uO1xuICAgIHRoaXMubGFtYmRhID0gcHJvcHMubGFtYmRhO1xuICB9XG59XG4iXX0= |
@@ -203,3 +203,3 @@ import cdk = require('@aws-cdk/cdk'); | ||
*/ | ||
tags?: Array<cdk.Tag | cdk.Token> | cdk.Token; | ||
tags?: Array<cdk.CfnTag | cdk.Token> | cdk.Token; | ||
/** | ||
@@ -235,2 +235,11 @@ * ``AWS::Lambda::Function.Timeout`` | ||
/** | ||
* The ``TagManager`` handles setting, removing and formatting tags | ||
* | ||
* Tags should be managed either passing them as properties during | ||
* initiation or by calling methods on this object. If both techniques are | ||
* used only the tags from the TagManager will be used. ``Tag`` (aspect) | ||
* will use the manager. | ||
*/ | ||
readonly tags: cdk.TagManager; | ||
/** | ||
* Creates a new ``AWS::Lambda::Function``. | ||
@@ -237,0 +246,0 @@ * |
import codepipeline = require('@aws-cdk/aws-codepipeline-api'); | ||
import cdk = require('@aws-cdk/cdk'); | ||
import { IFunction } from './lambda-ref'; | ||
import { IFunction } from './function-base'; | ||
/** | ||
@@ -5,0 +5,0 @@ * Common properties for creating a {@link PipelineInvokeAction} - |
@@ -55,2 +55,2 @@ "use strict"; | ||
exports.PipelineInvokeAction = PipelineInvokeAction; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGlwZWxpbmUtYWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsicGlwZWxpbmUtYWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsOERBQStEO0FBQy9ELHdDQUF5QztBQTRFekM7Ozs7R0FJRztBQUNILE1BQWEsb0JBQXFCLFNBQVEsWUFBWSxDQUFDLE1BQU07SUFDM0QsWUFBWSxLQUFvQixFQUFFLEVBQVUsRUFBRSxLQUFnQztRQUM1RSxLQUFLLENBQUMsS0FBSyxFQUFFLEVBQUUsb0JBQ1YsS0FBSyxJQUNSLFFBQVEsRUFBRSxZQUFZLENBQUMsY0FBYyxDQUFDLE1BQU0sRUFDNUMsUUFBUSxFQUFFLFFBQVEsRUFDbEIsY0FBYyxFQUFFLFlBQVksQ0FBQyxhQUFhLEVBQUUsRUFDNUMsYUFBYSxFQUFFO2dCQUNiLFlBQVksRUFBRSxLQUFLLENBQUMsTUFBTSxDQUFDLFlBQVk7Z0JBQ3ZDLGNBQWMsRUFBRSxLQUFLLENBQUMsY0FBYzthQUNyQyxJQUNELENBQUM7UUFFSCx5QkFBeUI7UUFDekIsS0FBSyxNQUFNLGFBQWEsSUFBSSxLQUFLLENBQUMsY0FBYyxJQUFJLEVBQUUsRUFBRTtZQUN0RC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IHtcbiAgICBjb25zdCByZXN1bHQgPSB0aGlzLl9vdXRwdXRBcnRpZmFjdHMuZmluZChhID0+IChhLm5hbWUgPT09IGFydGlmYWN0TmFtZSkpO1xuICAgIGlmIChyZXN1bHQgPT09IHVuZGVmaW5lZCkge1xuICAgICAgdGhyb3cgbmV3IEVycm9yKGBDb3VsZCBub3QgZmluZCB0aGUgb3V0cHV0IEFydGlmYWN0IHdpdGggbmFtZSAnJHthcnRpZmFjdE5hbWV9J2ApO1xuICAgIH0gZWxzZSB7XG4gICAgICByZXR1cm4gcmVzdWx0O1xuICAgIH1cbiAgfVxufVxuIl19 |
import iam = require('@aws-cdk/aws-iam'); | ||
import cdk = require('@aws-cdk/cdk'); | ||
import { FunctionProps } from './lambda'; | ||
import { FunctionBase, FunctionImportProps } from './lambda-ref'; | ||
import { FunctionProps } from './function'; | ||
import { FunctionBase, FunctionImportProps } from './function-base'; | ||
import { Permission } from './permission'; | ||
@@ -6,0 +6,0 @@ /** |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const cdk = require("@aws-cdk/cdk"); | ||
const lambda_1 = require("./lambda"); | ||
const lambda_ref_1 = require("./lambda-ref"); | ||
const function_1 = require("./function"); | ||
const function_base_1 = require("./function-base"); | ||
/** | ||
@@ -12,3 +12,3 @@ * A Lambda that will only ever be added to a stack once. | ||
*/ | ||
class SingletonFunction extends lambda_ref_1.FunctionBase { | ||
class SingletonFunction extends function_base_1.FunctionBase { | ||
constructor(scope, id, props) { | ||
@@ -36,3 +36,3 @@ super(scope, id); | ||
} | ||
return new lambda_1.Function(stack, constructName, props); | ||
return new function_1.Function(stack, constructName, props); | ||
} | ||
@@ -44,2 +44,2 @@ } | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2luZ2xldG9uLWxhbWJkYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNpbmdsZXRvbi1sYW1iZGEudHMiXSw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nVjdE5hbWUgPSAocHJvcHMubGFtYmRhUHVycG9zZSB8fCAnU2luZ2xldG9uTGFtYmRhJykgKyBzbHVnaWZ5KHByb3BzLnV1aWQpO1xuICAgIGNvbnN0IHN0YWNrID0gY2RrLlN0YWNrLmZpbmQodGhpcyk7XG4gICAgY29uc3QgZXhpc3RpbmcgPSBzdGFjay5ub2RlLnRyeUZpbmRDaGlsZChjb25zdHJ1Y3ROYW1lKTtcbiAgICBpZiAoZXhpc3RpbmcpIHtcbiAgICAgIC8vIEp1c3QgYXNzdW1lIHRoaXMgaXMgdHJ1ZVxuICAgICAgcmV0dXJuIGV4aXN0aW5nIGFzIEZ1bmN0aW9uQmFzZTtcbiAgICB9XG5cbiAgICByZXR1cm4gbmV3IExhbWJkYUZ1bmN0aW9uKHN0YWNrLCBjb25zdHJ1Y3ROYW1lLCBwcm9wcyk7XG4gIH1cbn1cblxuZnVuY3Rpb24gc2x1Z2lmeSh4OiBzdHJpbmcpOiBzdHJpbmcge1xuICByZXR1cm4geC5yZXBsYWNlKC9bXmEtekEtWjAtOV0vZywgJycpO1xufVxuIl19 |
{ | ||
"name": "@aws-cdk/aws-lambda", | ||
"version": "0.23.0", | ||
"version": "0.24.0", | ||
"description": "CDK Constructs for AWS Lambda", | ||
@@ -45,2 +45,3 @@ "main": "lib/index.js", | ||
"nyc": { | ||
"statements": 75, | ||
"lines": 75 | ||
@@ -61,37 +62,37 @@ }, | ||
"devDependencies": { | ||
"@aws-cdk/assert": "^0.23.0", | ||
"cdk-build-tools": "^0.23.0", | ||
"cdk-integ-tools": "^0.23.0", | ||
"cfn2ts": "^0.23.0", | ||
"pkglint": "^0.23.0" | ||
"@aws-cdk/assert": "^0.24.0", | ||
"cdk-build-tools": "^0.24.0", | ||
"cdk-integ-tools": "^0.24.0", | ||
"cfn2ts": "^0.24.0", | ||
"pkglint": "^0.24.0" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/assets": "^0.23.0", | ||
"@aws-cdk/aws-cloudwatch": "^0.23.0", | ||
"@aws-cdk/aws-codepipeline-api": "^0.23.0", | ||
"@aws-cdk/aws-ec2": "^0.23.0", | ||
"@aws-cdk/aws-events": "^0.23.0", | ||
"@aws-cdk/aws-iam": "^0.23.0", | ||
"@aws-cdk/aws-logs": "^0.23.0", | ||
"@aws-cdk/aws-s3": "^0.23.0", | ||
"@aws-cdk/aws-s3-notifications": "^0.23.0", | ||
"@aws-cdk/aws-sqs": "^0.23.0", | ||
"@aws-cdk/aws-stepfunctions": "^0.23.0", | ||
"@aws-cdk/cdk": "^0.23.0", | ||
"@aws-cdk/cx-api": "^0.23.0" | ||
"@aws-cdk/assets": "^0.24.0", | ||
"@aws-cdk/aws-cloudwatch": "^0.24.0", | ||
"@aws-cdk/aws-codepipeline-api": "^0.24.0", | ||
"@aws-cdk/aws-ec2": "^0.24.0", | ||
"@aws-cdk/aws-events": "^0.24.0", | ||
"@aws-cdk/aws-iam": "^0.24.0", | ||
"@aws-cdk/aws-logs": "^0.24.0", | ||
"@aws-cdk/aws-s3": "^0.24.0", | ||
"@aws-cdk/aws-s3-notifications": "^0.24.0", | ||
"@aws-cdk/aws-sqs": "^0.24.0", | ||
"@aws-cdk/aws-stepfunctions": "^0.24.0", | ||
"@aws-cdk/cdk": "^0.24.0", | ||
"@aws-cdk/cx-api": "^0.24.0" | ||
}, | ||
"homepage": "https://github.com/awslabs/aws-cdk", | ||
"peerDependencies": { | ||
"@aws-cdk/assets": "^0.23.0", | ||
"@aws-cdk/aws-cloudwatch": "^0.23.0", | ||
"@aws-cdk/aws-codepipeline-api": "^0.23.0", | ||
"@aws-cdk/aws-ec2": "^0.23.0", | ||
"@aws-cdk/aws-events": "^0.23.0", | ||
"@aws-cdk/aws-iam": "^0.23.0", | ||
"@aws-cdk/aws-logs": "^0.23.0", | ||
"@aws-cdk/aws-s3": "^0.23.0", | ||
"@aws-cdk/aws-s3-notifications": "^0.23.0", | ||
"@aws-cdk/aws-sqs": "^0.23.0", | ||
"@aws-cdk/aws-stepfunctions": "^0.23.0", | ||
"@aws-cdk/cdk": "^0.23.0" | ||
"@aws-cdk/assets": "^0.24.0", | ||
"@aws-cdk/aws-cloudwatch": "^0.24.0", | ||
"@aws-cdk/aws-codepipeline-api": "^0.24.0", | ||
"@aws-cdk/aws-ec2": "^0.24.0", | ||
"@aws-cdk/aws-events": "^0.24.0", | ||
"@aws-cdk/aws-iam": "^0.24.0", | ||
"@aws-cdk/aws-logs": "^0.24.0", | ||
"@aws-cdk/aws-s3": "^0.24.0", | ||
"@aws-cdk/aws-s3-notifications": "^0.24.0", | ||
"@aws-cdk/aws-sqs": "^0.24.0", | ||
"@aws-cdk/aws-stepfunctions": "^0.24.0", | ||
"@aws-cdk/cdk": "^0.24.0" | ||
}, | ||
@@ -101,2 +102,2 @@ "engines": { | ||
} | ||
} | ||
} |
@@ -71,4 +71,4 @@ { | ||
"DependsOn": [ | ||
"MyLambdaServiceRole4539ECB6", | ||
"MyLambdaServiceRoleDefaultPolicy5BBC6F68" | ||
"MyLambdaServiceRoleDefaultPolicy5BBC6F68", | ||
"MyLambdaServiceRole4539ECB6" | ||
] | ||
@@ -100,2 +100,2 @@ }, | ||
} | ||
} | ||
} |
@@ -26,2 +26,3 @@ import { Test } from 'nodeunit'; | ||
'grantInvoke adds iam:InvokeFunction'(test: Test): void; | ||
'Can use metricErrors on a lambda Function'(test: Test): void; | ||
'addEventSource calls bind'(test: Test): void; | ||
@@ -28,0 +29,0 @@ 'support inline code for Ruby runtime'(test: Test): void; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
990355
76
7025
+ Added@aws-cdk/assets@0.24.1(transitive)
+ Added@aws-cdk/aws-autoscaling-api@0.24.1(transitive)
+ Added@aws-cdk/aws-cloudwatch@0.24.1(transitive)
+ Added@aws-cdk/aws-codepipeline-api@0.24.1(transitive)
+ Added@aws-cdk/aws-ec2@0.24.1(transitive)
+ Added@aws-cdk/aws-events@0.24.1(transitive)
+ Added@aws-cdk/aws-iam@0.24.1(transitive)
+ Added@aws-cdk/aws-kms@0.24.1(transitive)
+ Added@aws-cdk/aws-logs@0.24.1(transitive)
+ Added@aws-cdk/aws-s3@0.24.1(transitive)
+ Added@aws-cdk/aws-s3-notifications@0.24.1(transitive)
+ Added@aws-cdk/aws-sqs@0.24.1(transitive)
+ Added@aws-cdk/aws-stepfunctions@0.24.1(transitive)
+ Added@aws-cdk/cdk@0.24.1(transitive)
+ Added@aws-cdk/cx-api@0.24.1(transitive)
- Removed@aws-cdk/assets@0.23.0(transitive)
- Removed@aws-cdk/aws-autoscaling-api@0.23.0(transitive)
- Removed@aws-cdk/aws-cloudwatch@0.23.0(transitive)
- Removed@aws-cdk/aws-codepipeline-api@0.23.0(transitive)
- Removed@aws-cdk/aws-ec2@0.23.0(transitive)
- Removed@aws-cdk/aws-events@0.23.0(transitive)
- Removed@aws-cdk/aws-iam@0.23.0(transitive)
- Removed@aws-cdk/aws-kms@0.23.0(transitive)
- Removed@aws-cdk/aws-logs@0.23.0(transitive)
- Removed@aws-cdk/aws-s3@0.23.0(transitive)
- Removed@aws-cdk/aws-s3-notifications@0.23.0(transitive)
- Removed@aws-cdk/aws-sqs@0.23.0(transitive)
- Removed@aws-cdk/aws-stepfunctions@0.23.0(transitive)
- Removed@aws-cdk/cdk@0.23.0(transitive)
- Removed@aws-cdk/cx-api@0.23.0(transitive)
Updated@aws-cdk/assets@^0.24.0
Updated@aws-cdk/aws-ec2@^0.24.0
Updated@aws-cdk/aws-events@^0.24.0
Updated@aws-cdk/aws-iam@^0.24.0
Updated@aws-cdk/aws-logs@^0.24.0
Updated@aws-cdk/aws-s3@^0.24.0
Updated@aws-cdk/aws-sqs@^0.24.0
Updated@aws-cdk/cdk@^0.24.0
Updated@aws-cdk/cx-api@^0.24.0