A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-event-notifications-eventbridge.html below:

Enabling Amazon EventBridge - Amazon Simple Storage Service

Enabling Amazon EventBridge

You can enable Amazon EventBridge using the S3 console, AWS Command Line Interface (AWS CLI), or Amazon S3 REST API.

Note

After you enable EventBridge, it takes around five minutes for the changes to take effect.

To enable EventBridge event delivery in the S3 console.
  1. Sign in to the AWS Management Console and open the Amazon S3 console at https://console.aws.amazon.com/s3/.

  2. In the left navigation pane, choose General purpose buckets.

  3. In the buckets list, choose the name of the bucket that you want to enable events for.

  4. Choose Properties.

  5. Navigate to the Event Notifications section and find the Amazon EventBridge subsection. Choose Edit.

  6. Under Send notifications to Amazon EventBridge for all events in this bucket choose On.

The following example creates a bucket notification configuration for bucket amzn-s3-demo-bucket1 with Amazon EventBridge enabled.

aws s3api put-bucket-notification-configuration --bucket amzn-s3-demo-bucket1 --notification-configuration='{ "EventBridgeConfiguration": {} }'

You can programmatically enable Amazon EventBridge on a bucket by calling the Amazon S3 REST API. For more information, see see PutBucketNotificationConfiguration in the Amazon Simple Storage Service API Reference.

The following example shows the XML used to create a bucket notification configuration with Amazon EventBridge enabled.

<NotificationConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
  <EventBridgeConfiguration>
  </EventBridgeConfiguration>
</NotificationConfiguration>
Creating EventBridge rules

Once enabled you can create Amazon EventBridge rules for certain tasks. For example, you can send email notifications when an object is created. For a full tutorial, see Tutorial: Send a notification when an Amazon S3 object is created in the Amazon EventBridge User Guide.

EventBridge permissions

EventBridge event message structure

Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of it.

Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4