Class IEventApi.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.appsync.IEventApi.Jsii$Proxy
- All Implemented Interfaces:
IApiRef,IApiRef.Jsii$Default,IEnvironmentAware,IEnvironmentAware.Jsii$Default,IResource,IResource.Jsii$Default,IApi,IApi.Jsii$Default,IEventApi,IEventApi.Jsii$Default,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IConstruct.Jsii$Default,software.constructs.IDependable,software.constructs.IDependable.Jsii$Default
- Enclosing interface:
IEventApi
@Internal
public static final class IEventApi.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements IEventApi.Jsii$Default
A proxy class which represents a concrete javascript instance of this type.
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.appsync.IApi
IApi.Jsii$Default, IApi.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.appsync.IApiRef
IApiRef.Jsii$Default, IApiRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
IEnvironmentAware.Jsii$Default, IEnvironmentAware.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.appsync.IEventApi
IEventApi.Jsii$Default, IEventApi.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default, IResource.Jsii$Proxy -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal ChannelNamespaceadd a new channel namespace.addDynamoDbDataSource(String id, ITable table) Add a new DynamoDB data source to this API.addEventBridgeDataSource(String id, IEventBus eventBus) Add an EventBridge data source to this api.final AppSyncHttpDataSourceaddHttpDataSource(String id, String endpoint) add a new http data source to this API.final AppSyncLambdaDataSourceaddLambdaDataSource(String id, IFunction lambdaFunction) add a new Lambda data source to this API.addOpenSearchDataSource(String id, IDomain domain) Add a new OpenSearch data source to this API.final AppSyncRdsDataSourceaddRdsDataSource(String id, Object serverlessCluster, ISecret secretStore) add a new Rds data source to this API.final AppSyncRdsDataSourceaddRdsDataSource(String id, Object serverlessCluster, ISecret secretStore, String databaseName) add a new Rds data source to this API.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awscdk.services.appsync.IApi.Jsii$Default
getApiArn, getApiIdMethods inherited from interface software.amazon.awscdk.interfaces.appsync.IApiRef.Jsii$Default
getApiRefMethods inherited from interface software.constructs.IConstruct.Jsii$Default
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware.Jsii$Default
getEnvMethods inherited from interface software.amazon.awscdk.services.appsync.IEventApi.Jsii$Default
addChannelNamespace, addDynamoDbDataSource, addEventBridgeDataSource, addHttpDataSource, addLambdaDataSource, addOpenSearchDataSource, addRdsDataSource, getAuthProviderTypes, getHttpDns, getRealtimeDns, grant, grantConnect, grantPublish, grantPublishAndSubscribe, grantSubscribeMethods inherited from interface software.amazon.awscdk.IResource.Jsii$Default
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
-
-
Method Details
-
addChannelNamespace
add a new channel namespace.- Specified by:
addChannelNamespacein interfaceIEventApi- Specified by:
addChannelNamespacein interfaceIEventApi.Jsii$Default- Parameters:
id- the id of the channel namespace. This parameter is required.- Returns:
- the channel namespace
-
addDynamoDbDataSource
@Stability(Stable) @NotNull public final AppSyncDynamoDbDataSource addDynamoDbDataSource(@NotNull String id, @NotNull ITable table) Add a new DynamoDB data source to this API.- Specified by:
addDynamoDbDataSourcein interfaceIEventApi- Specified by:
addDynamoDbDataSourcein interfaceIEventApi.Jsii$Default- Parameters:
id- The data source's id. This parameter is required.table- The DynamoDB table backing this data source. This parameter is required.
-
addEventBridgeDataSource
@Stability(Stable) @NotNull public final AppSyncEventBridgeDataSource addEventBridgeDataSource(@NotNull String id, @NotNull IEventBus eventBus) Add an EventBridge data source to this api.- Specified by:
addEventBridgeDataSourcein interfaceIEventApi- Specified by:
addEventBridgeDataSourcein interfaceIEventApi.Jsii$Default- Parameters:
id- The data source's id. This parameter is required.eventBus- The EventBridge EventBus on which to put events. This parameter is required.
-
addHttpDataSource
@Stability(Stable) @NotNull public final AppSyncHttpDataSource addHttpDataSource(@NotNull String id, @NotNull String endpoint) add a new http data source to this API.- Specified by:
addHttpDataSourcein interfaceIEventApi- Specified by:
addHttpDataSourcein interfaceIEventApi.Jsii$Default- Parameters:
id- The data source's id. This parameter is required.endpoint- The http endpoint. This parameter is required.
-
addLambdaDataSource
@Stability(Stable) @NotNull public final AppSyncLambdaDataSource addLambdaDataSource(@NotNull String id, @NotNull IFunction lambdaFunction) add a new Lambda data source to this API.- Specified by:
addLambdaDataSourcein interfaceIEventApi- Specified by:
addLambdaDataSourcein interfaceIEventApi.Jsii$Default- Parameters:
id- The data source's id. This parameter is required.lambdaFunction- The Lambda function to call to interact with this data source. This parameter is required.
-
addOpenSearchDataSource
@Stability(Stable) @NotNull public final AppSyncOpenSearchDataSource addOpenSearchDataSource(@NotNull String id, @NotNull IDomain domain) Add a new OpenSearch data source to this API.- Specified by:
addOpenSearchDataSourcein interfaceIEventApi- Specified by:
addOpenSearchDataSourcein interfaceIEventApi.Jsii$Default- Parameters:
id- The data source's id. This parameter is required.domain- The OpenSearch domain for this data source. This parameter is required.
-
addRdsDataSource
@Stability(Stable) @NotNull public final AppSyncRdsDataSource addRdsDataSource(@NotNull String id, @NotNull Object serverlessCluster, @NotNull ISecret secretStore, @Nullable String databaseName) add a new Rds data source to this API.- Specified by:
addRdsDataSourcein interfaceIEventApi- Specified by:
addRdsDataSourcein interfaceIEventApi.Jsii$Default- Parameters:
id- The data source's id. This parameter is required.serverlessCluster- The database cluster to interact with this data source. Takes union: eitherIDatabaseClusterorIServerlessCluster. This parameter is required.secretStore- The secret store that contains the username and password for the database cluster. This parameter is required.databaseName- The optional name of the database to use within the cluster.
-
addRdsDataSource
@Stability(Stable) @NotNull public final AppSyncRdsDataSource addRdsDataSource(@NotNull String id, @NotNull Object serverlessCluster, @NotNull ISecret secretStore) add a new Rds data source to this API.- Specified by:
addRdsDataSourcein interfaceIEventApi- Specified by:
addRdsDataSourcein interfaceIEventApi.Jsii$Default- Parameters:
id- The data source's id. This parameter is required.serverlessCluster- The database cluster to interact with this data source. Takes union: eitherIDatabaseClusterorIServerlessCluster. This parameter is required.secretStore- The secret store that contains the username and password for the database cluster. This parameter is required.
-