interface EventBridgeConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.S3.CfnBucket.EventBridgeConfigurationProperty |
Java | software.amazon.awscdk.services.s3.CfnBucket.EventBridgeConfigurationProperty |
Python | aws_cdk.aws_s3.CfnBucket.EventBridgeConfigurationProperty |
TypeScript | @aws-cdk/aws-s3 » CfnBucket » EventBridgeConfigurationProperty |
Amazon S3 can send events to Amazon EventBridge whenever certain events happen in your bucket, see Using EventBridge in the Amazon S3 User Guide .
Unlike other destinations, delivery of events to EventBridge can be either enabled or disabled for a bucket. If enabled, all events will be sent to EventBridge and you can use EventBridge rules to route events to additional targets. For more information, see What Is Amazon EventBridge in the Amazon EventBridge User Guide
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as s3 from '@aws-cdk/aws-s3';
const eventBridgeConfigurationProperty: s3.CfnBucket.EventBridgeConfigurationProperty = {
eventBridgeEnabled: false,
};
Properties
Name | Type | Description |
---|---|---|
event | boolean | IResolvable | Enables delivery of events to Amazon EventBridge. |
eventBridgeEnabled?
Type:
boolean |
IResolvable
(optional)
Enables delivery of events to Amazon EventBridge.