Skip to main content

Bucket Notifications API for AWS S3

Project description

S3 Bucket Notifications Destinations


Stability: Stable


This module includes integration classes for using Topics, Queues or Lambdas 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:

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));

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aws-cdk.aws-s3-notifications-1.4.0.tar.gz (40.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aws_cdk.aws_s3_notifications-1.4.0-py3-none-any.whl (39.3 kB view details)

Uploaded Python 3

File details

Details for the file aws-cdk.aws-s3-notifications-1.4.0.tar.gz.

File metadata

  • Download URL: aws-cdk.aws-s3-notifications-1.4.0.tar.gz
  • Upload date:
  • Size: 40.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.5

File hashes

Hashes for aws-cdk.aws-s3-notifications-1.4.0.tar.gz
Algorithm Hash digest
SHA256 0ee4c292479aaddeccbaeeabc18f032f061b24b9633efc214a281857b50002e7
MD5 0f19762426c99791ef48fde3c71c71d4
BLAKE2b-256 853ee8ad772322fd8c45003f54335429dea22c2e755d60e03d92cdee131f03a7

See more details on using hashes here.

File details

Details for the file aws_cdk.aws_s3_notifications-1.4.0-py3-none-any.whl.

File metadata

  • Download URL: aws_cdk.aws_s3_notifications-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 39.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.5

File hashes

Hashes for aws_cdk.aws_s3_notifications-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ba5fde6cf3bde22ee363a483cc8cdfc4945d16d3e5d6a5e86101030e9abf4a4c
MD5 0a6da6383b9b21d7df9595ee15d127c2
BLAKE2b-256 74c41116803f079c99d468ec723ade3aa97513d5cb564eca3dddf20b8223ecef

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page