![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@aws-cdk/aws-s3-notifications
Advanced tools
This module includes integration classes for using Topics, Queues or Lambdas as S3 Notification Destinations.
The following example shows how to send a notification to an SNS topic when an object is created in an S3 bucket:
import * as s3n from '@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));
The following example shows how to send a notification to a Lambda function when an object is created in an S3 bucket:
import * as s3n from '@aws-cdk/aws-s3-notifications';
const bucket = new s3.Bucket(stack, 'Bucket');
const fn = new Function(this, 'MyFunction', {
runtime: Runtime.NODEJS_12_X,
handler: 'index.handler',
code: Code.fromAsset(path.join(__dirname, 'lambda-handler')),
});
bucket.addEventNotification(s3.EventType.OBJECT_CREATED, new s3n.LambdaDestination(fn));
1.138.0 (2022-01-04)
assetHashType
and assetHash
properties moved to new bundling
property.LambdaPython
cdk deploy
steps take (#18230) (82fa742), closes #18213Duration.toString()
throws an error (#18243) (df03df8), closes #18176Stack.addFileAsset()
no longer has effect (#18116) (2290681), closes #17328FAQs
Bucket Notifications API for AWS S3
The npm package @aws-cdk/aws-s3-notifications receives a total of 1,450 weekly downloads. As such, @aws-cdk/aws-s3-notifications popularity was classified as popular.
We found that @aws-cdk/aws-s3-notifications demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.