dawson-snippets
Advanced tools
Comparing version 0.0.4 to 0.17.0
@@ -53,5 +53,5 @@ const lambdaNameTemplate = tableLogicalName => | ||
module.exports = function createDynamodbBackupTrigger ( | ||
{ tableLogicalName, bucketLogicalName } | ||
) { | ||
module.exports = function createDynamodbBackupTrigger (params) { | ||
const tableLogicalName = params.tableLogicalName; | ||
const bucketLogicalName = params.bucketLogicalName; | ||
const streamArn = { 'Fn::GetAtt': [tableLogicalName, 'StreamArn'] }; | ||
@@ -58,0 +58,0 @@ const lambdaName = lambdaNameTemplate(tableLogicalName); |
{ | ||
"name": "dawson-snippets", | ||
"version": "0.0.4", | ||
"version": "0.17.0", | ||
"description": "Snippets for CloudFormation templates", | ||
@@ -9,2 +9,5 @@ "repository": { | ||
}, | ||
"scripts": { | ||
"test": "ava" | ||
}, | ||
"author": "Simone Lusenti <simone@plasticpanda.com>", | ||
@@ -15,3 +18,9 @@ "license": "MIT", | ||
}, | ||
"homepage": "https://github.com/dawson-org/dawson-snippets#readme" | ||
"homepage": "https://github.com/dawson-org/dawson-snippets#readme", | ||
"devDependencies": { | ||
"ava": "^0.18.1" | ||
}, | ||
"engines": { | ||
"node": "4.3" | ||
} | ||
} |
@@ -1,2 +0,24 @@ | ||
# snippets | ||
copy&paste ready snippets for CloudFormation templates | ||
# dawson-snippets | ||
![](https://nodei.co/npm/dawson-snippets.png?mini=true) | ||
[dawson](https://github.com/dawson-org/dawson-cli)-ready CloudFormation Template Snippets. | ||
Snippets are an easy way to add custom resources to a [dawson](https://github.com/dawson-org/dawson-cli) application. | ||
[![npm version](https://badge.fury.io/js/dawson-snippets.svg)](https://badge.fury.io/js/dawson-snippets) | ||
[![Build Status](https://travis-ci.org/dawson-org/dawson-snippets.svg?branch=master)](https://travis-ci.org/dawson-org/dawson-snippets) | ||
## Usage | ||
For usage instructions see the README files in each folder. | ||
Snippets are composable and are designed to be merged using `lodash.merge` or any similar deep-merge function. Snippets provides Resources objects that you can attach to a dawson application using [processCFTemplate() or customTemplateFragment()](https://github.com/dawson-org/dawson-cli/blob/master/docs/README.md#6-working-with-the-template). | ||
## License | ||
Copyright 2017 Simone Lusenti <lusenti.s@gmail.com> | ||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
113987
18
471
25
1
1