Skip to content
v2.277.0

EventBridgeConfigurationProperty Struct ​

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 ​

ts
// 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,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_s3 as s3

event_bridge_configuration_property = s3.CfnBucket.EventBridgeConfigurationProperty(
    event_bridge_enabled=False
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.s3.*;

EventBridgeConfigurationProperty eventBridgeConfigurationProperty = EventBridgeConfigurationProperty.builder()
        .eventBridgeEnabled(false)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.S3;

var eventBridgeConfigurationProperty = new EventBridgeConfigurationProperty {
    EventBridgeEnabled = false
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

eventBridgeConfigurationProperty := &EventBridgeConfigurationProperty{
	EventBridgeEnabled: jsii.Boolean(false),
}

Properties ​

eventBridgeEnabledboolean | IResolvableevent_bridge_enabledtyping.Union[bool, IResolvable]eventBridgeEnabledBooleanEventBridgeEnabledboolEventBridgeEnabledinterface{} required #
Enables delivery of events to Amazon EventBridge.