Show / Hide Table of Contents

Class AppSyncEventBridgeDataSource

An AppSync datasource backed by EventBridge.

Inheritance
object
AppSyncBaseDataSource
AppSyncBackedDataSource
AppSyncEventBridgeDataSource
Implements
IGrantable
Inherited Members
AppSyncBackedDataSource.GrantPrincipal
AppSyncBaseDataSource.Name
AppSyncBaseDataSource.Resource
AppSyncBaseDataSource.Api
AppSyncBaseDataSource.ServiceRole
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AppSyncEventBridgeDataSource : AppSyncBackedDataSource, IGrantable
Syntax (vb)
Public Class AppSyncEventBridgeDataSource Inherits AppSyncBackedDataSource Implements IGrantable
Remarks

ExampleMetadata: infused

Examples
using Amazon.CDK.AWS.Events;


            var api = new EventApi(this, "EventApiEventBridge", new EventApiProps {
                ApiName = "EventBridgeEventApi"
            });

            var eventBus = new EventBus(this, "test-bus");

            var dataSource = api.AddEventBridgeDataSource("eventbridgeds", eventBus);

Synopsis

Constructors

AppSyncEventBridgeDataSource(Construct, string, IAppSyncEventBridgeDataSourceProps)

An AppSync datasource backed by EventBridge.

Constructors

AppSyncEventBridgeDataSource(Construct, string, IAppSyncEventBridgeDataSourceProps)

An AppSync datasource backed by EventBridge.

public AppSyncEventBridgeDataSource(Construct scope, string id, IAppSyncEventBridgeDataSourceProps props)
Parameters
scope Construct
id string
props IAppSyncEventBridgeDataSourceProps
Remarks

ExampleMetadata: infused

Examples
using Amazon.CDK.AWS.Events;


            var api = new EventApi(this, "EventApiEventBridge", new EventApiProps {
                ApiName = "EventBridgeEventApi"
            });

            var eventBus = new EventBus(this, "test-bus");

            var dataSource = api.AddEventBridgeDataSource("eventbridgeds", eventBus);

Implements

IGrantable
Back to top Generated by DocFX