@cfn-modules/lambda-function
Advanced tools
+1
-1
@@ -7,3 +7,3 @@ --- | ||
| - 'pip install yamllint==1.15.0' | ||
| - 'pip install cfn-lint==0.14.0' | ||
| - 'pip install cfn-lint==0.20.2' | ||
| script: | ||
@@ -10,0 +10,0 @@ - 'yamllint module.yml' |
+3
-3
@@ -71,3 +71,3 @@ --- | ||
| Type: String | ||
| AllowedValues: ['nodejs6.10', 'nodejs8.10', java8, 'python2.7', 'python3.6', 'dotnetcore1.0', 'dotnetcore2.0', 'go1.x'] | ||
| AllowedValues: ['dotnetcore1.0', 'dotnetcore2.1', 'go1.x', 'java8', 'nodejs10.x', 'nodejs8.10', 'python2.7', 'python3.6', 'python3.7', 'ruby2.5'] | ||
| Timeout: | ||
@@ -113,3 +113,3 @@ Description: 'The function execution time at which Lambda should terminate the function' | ||
| ManagedPolicyArns: | ||
| Description: 'Optional comma-delimited list of IAM managed policy ARNs to attach to the task''s IAM role' | ||
| Description: 'Optional comma-delimited list of IAM managed policy ARNs to attach to the function''s IAM role' | ||
| Type: String | ||
@@ -286,3 +286,3 @@ Default: '' | ||
| ModuleVersion: | ||
| Value: '2.2.0' | ||
| Value: '2.3.0' | ||
| StackName: | ||
@@ -289,0 +289,0 @@ Value: !Ref 'AWS::StackName' |
+1
-1
| { | ||
| "name": "@cfn-modules/lambda-function", | ||
| "version": "2.2.0", | ||
| "version": "2.3.0", | ||
| "description": "AWS Lambda function with automated IAM policy generation, encryption, log group and alerting", | ||
@@ -5,0 +5,0 @@ "author": "Michael Wittig <michael@widdix.de>", |
+1
-1
@@ -139,3 +139,3 @@ [](https://travis-ci.org/cfn-modules/lambda-function) | ||
| <td>no</td> | ||
| <td>['nodejs6.10', 'nodejs8.10', java8, 'python2.7', 'python3.6', 'dotnetcore1.0', 'dotnetcore2.0', 'go1.x']</td> | ||
| <td>['dotnetcore1.0', 'dotnetcore2.1', 'go1.x', 'java8', 'nodejs10.x', 'nodejs8.10', 'python2.7', 'python3.6', 'python3.7', 'ruby2.5']</td> | ||
| </tr> | ||
@@ -142,0 +142,0 @@ <tr> |
| { | ||
| "private": true, | ||
| "dependencies": { | ||
| "eslint": "5.14.0", | ||
| "ava": "1.2.1", | ||
| "eslint": "5.16.0", | ||
| "ava": "1.4.1", | ||
| "@cfn-modules/test": "0.5.1", | ||
| "@cfn-modules/s3-bucket": "1.2.0", | ||
| "@cfn-modules/s3-bucket": "1.4.1", | ||
| "@cfn-modules/lambda-function": "file:../" | ||
@@ -9,0 +9,0 @@ }, |
+2
-2
| const test = require('ava'); | ||
| const cfntest = require('@cfn-modules/test'); | ||
| test('defaults', async t => { | ||
| test.serial('defaults', async t => { | ||
| const stackName = cfntest.stackName(); | ||
@@ -15,3 +15,3 @@ try { | ||
| test('lambda-layer', async t => { | ||
| test.serial('lambda-layer', async t => { | ||
| const bucketStackName = cfntest.stackName(); | ||
@@ -18,0 +18,0 @@ const stackName = cfntest.stackName(); |
36686
0.19%