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

dawson-snippets

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dawson-snippets - npm Package Compare versions

Comparing version 0.17.2 to 0.17.3

ec2-instance/index.js

5

dynamodb-gsi/README.md

@@ -31,3 +31,3 @@

gsiKeyName: 'Email',
projectedAttributes: ['Password', 'SessionToken']
projectedAttributes: ['Password', 'SessionToken'] // optional, defaults to undefined
});

@@ -38,3 +38,3 @@

gsiKeyName: 'SessionToken',
projectedAttributes: ['UserId']
projectedAttributes: ['UserId'] // optional, defaults to undefined
});

@@ -64,2 +64,3 @@

* This snippet is composable with all the others `dynamodb-*` snippets
* If `projectedAttributes` is specified, then *only the specified table attributes are projected into the index*; else *all of the table attributes are projected into the index* ([AWS Documentation for INCLUDE and ALL](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-projectionobject.html)).
* `lodash.merge` does not `.concat` Arrays, so you need to use `lodash.mergeWith` to add many GSIs without overwriting previous ones or overriding Primary Key's Schema. `mergeCustomizer` is a shortcut [customizer function](https://lodash.com/docs/4.17.4#mergeWith).

@@ -66,0 +67,0 @@ * This snippet supports Global Secondary Indexes with a Partition (Hash) Key of type String

2

package.json
{
"name": "dawson-snippets",
"version": "0.17.2",
"version": "0.17.3",
"description": "Snippets for CloudFormation templates",

@@ -5,0 +5,0 @@ "repository": {

@@ -5,3 +5,3 @@

Creates an S3 Bucket with a basic CORS Configuration. The Physical Bucket Name is automatically generated.
Creates an S3 Bucket which sends Notifications to a Lambda Function you have defined. The Physical Bucket Name is automatically generated.

@@ -41,2 +41,4 @@ ![](https://nodei.co/npm/dawson-snippets.png?mini=true)

* This snippet is composable with all the others `s3-bucket-*` snippets
* This snipped does not create a Lambda Function. You must specify a Logical Resource Id of a Lambda Function that is defined in the current `CloudFormation Template`
* Appropriate `Lambda::Permission` are automatically added, allowing your Lambda Function to be called by S3
* [Documentation for the `eventType` property](https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html) (scroll to «Supported Event Types»)

@@ -43,0 +45,0 @@ * [Documentation for the `filterRules` property](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration-config-filter-s3key-rules.html), example: ```[{ Name: 'suffix', Value: 'latest/data.json' }]```

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