aws-cdk-lib.aws_s3.CfnBucket.EventBridgeConfigurationProperty

interface EventBridgeConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.S3.CfnBucket.EventBridgeConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awss3#CfnBucket_EventBridgeConfigurationProperty
Javasoftware.amazon.awscdk.services.s3.CfnBucket.EventBridgeConfigurationProperty
Pythonaws_cdk.aws_s3.CfnBucket.EventBridgeConfigurationProperty
TypeScript aws-cdk-lib » 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 { aws_s3 as s3 } from 'aws-cdk-lib';
const eventBridgeConfigurationProperty: s3.CfnBucket.EventBridgeConfigurationProperty = {
  eventBridgeEnabled: false,
};

Properties

NameTypeDescription
eventBridgeEnabled?boolean | IResolvableEnables delivery of events to Amazon EventBridge.

eventBridgeEnabled?

Type: boolean | IResolvable (optional)

Enables delivery of events to Amazon EventBridge.