New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aws-cdk/aws-s3-notifications

Package Overview
Dependencies
Maintainers
5
Versions
286
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-cdk/aws-s3-notifications - npm Package Compare versions

Comparing version 0.39.0 to 1.0.0

36

package.json
{
"name": "@aws-cdk/aws-s3-notifications",
"version": "0.39.0",
"version": "1.0.0",
"description": "Bucket Notifications API for AWS S3",

@@ -72,24 +72,24 @@ "main": "lib/index.js",

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

@@ -100,2 +100,2 @@ "engines": {

"stability": "stable"
}
}

@@ -8,4 +8,2 @@ ## S3 Bucket Notifications Destinations

> **This is a _developer preview_ (public beta) module. Releases might lack important features and might have
> future breaking changes.**

@@ -16,2 +14,16 @@ ---

This module includes integration classes for using Topics, Queues or Lambdas
as S3 Notification Destinations.
as S3 Notification Destinations.
## Example
The following example shows how to send a notification to an SNS
topic when an object is created in an S3 bucket:
```ts
import s3n = require('@aws-cdk/aws-s3-notifications');
const bucket = new s3.Bucket(stack, 'Bucket');
const topic = new sns.Topic(stack, 'Topic');
bucket.addEventNotification(s3.EventType.OBJECT_CREATED_PUT, new s3n.SnsDestination(topic));
```

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