Interface EventBridgeDataSourceProps
- All Superinterfaces:
BackedDataSourceProps,BaseDataSourceProps,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EventBridgeDataSourceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:45.480Z")
@Stability(Stable)
public interface EventBridgeDataSourceProps
extends software.amazon.jsii.JsiiSerializable, BackedDataSourceProps
Properties for an AppSync EventBridge datasource.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appsync.*;
import software.amazon.awscdk.services.events.*;
import software.amazon.awscdk.services.iam.*;
EventBus eventBus;
GraphqlApi graphqlApi;
Role role;
EventBridgeDataSourceProps eventBridgeDataSourceProps = EventBridgeDataSourceProps.builder()
.api(graphqlApi)
.eventBus(eventBus)
// the properties below are optional
.description("description")
.name("name")
.serviceRole(role)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forEventBridgeDataSourcePropsstatic final classAn implementation forEventBridgeDataSourceProps -
Method Summary
Methods inherited from interface software.amazon.awscdk.services.appsync.BackedDataSourceProps
getServiceRoleMethods inherited from interface software.amazon.awscdk.services.appsync.BaseDataSourceProps
getApi, getDescription, getNameMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEventBus
The EventBridge EventBus. -
builder
- Returns:
- a
EventBridgeDataSourceProps.BuilderofEventBridgeDataSourceProps
-