Class IGraphqlApi.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.appsync.IGraphqlApi.Jsii$Proxy
All Implemented Interfaces:
IGraphQLApiRef, IGraphQLApiRef.Jsii$Default, IEnvironmentAware, IEnvironmentAware.Jsii$Default, IResource, IResource.Jsii$Default, IGraphqlApi, IGraphqlApi.Jsii$Default, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IConstruct.Jsii$Default, software.constructs.IDependable, software.constructs.IDependable.Jsii$Default
Enclosing interface:
IGraphqlApi

@Internal public static final class IGraphqlApi.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements IGraphqlApi.Jsii$Default
A proxy class which represents a concrete javascript instance of this type.
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
  • Method Details

    • addDynamoDbDataSource

      @Stability(Stable) @NotNull public final DynamoDbDataSource addDynamoDbDataSource(@NotNull String id, @NotNull ITable table)
      add a new DynamoDB data source to this API.

      Specified by:
      addDynamoDbDataSource in interface IGraphqlApi
      Specified by:
      addDynamoDbDataSource in interface IGraphqlApi.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.
    • addElasticsearchDataSource

      @Stability(Deprecated) @Deprecated @NotNull public final ElasticsearchDataSource addElasticsearchDataSource(@NotNull String id, @NotNull IDomain domain)
      Deprecated.
      • use addOpenSearchDataSource
      (deprecated) add a new elasticsearch data source to this API.

      Specified by:
      addElasticsearchDataSource in interface IGraphqlApi
      Specified by:
      addElasticsearchDataSource in interface IGraphqlApi.Jsii$Default
      Parameters:
      id - The data source's id. This parameter is required.
      domain - The elasticsearch domain for this data source. This parameter is required.
    • addEventBridgeDataSource

      @Stability(Stable) @NotNull public final EventBridgeDataSource addEventBridgeDataSource(@NotNull String id, @NotNull IEventBus eventBus)
      Add an EventBridge data source to this api.

      Specified by:
      addEventBridgeDataSource in interface IGraphqlApi
      Specified by:
      addEventBridgeDataSource in interface IGraphqlApi.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 HttpDataSource addHttpDataSource(@NotNull String id, @NotNull String endpoint)
      add a new http data source to this API.

      Specified by:
      addHttpDataSource in interface IGraphqlApi
      Specified by:
      addHttpDataSource in interface IGraphqlApi.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 LambdaDataSource addLambdaDataSource(@NotNull String id, @NotNull IFunction lambdaFunction)
      add a new Lambda data source to this API.

      Specified by:
      addLambdaDataSource in interface IGraphqlApi
      Specified by:
      addLambdaDataSource in interface IGraphqlApi.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.
    • addNoneDataSource

      @Stability(Stable) @NotNull public final NoneDataSource addNoneDataSource(@NotNull String id)
      add a new dummy data source to this API.

      Useful for pipeline resolvers and for backend changes that don't require a data source.

      Specified by:
      addNoneDataSource in interface IGraphqlApi
      Specified by:
      addNoneDataSource in interface IGraphqlApi.Jsii$Default
      Parameters:
      id - The data source's id. This parameter is required.
    • addOpenSearchDataSource

      @Stability(Stable) @NotNull public final OpenSearchDataSource addOpenSearchDataSource(@NotNull String id, @NotNull IDomain domain)
      Add a new OpenSearch data source to this API.

      Specified by:
      addOpenSearchDataSource in interface IGraphqlApi
      Specified by:
      addOpenSearchDataSource in interface IGraphqlApi.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 RdsDataSource addRdsDataSource(@NotNull String id, @NotNull IServerlessCluster serverlessCluster, @NotNull ISecret secretStore, @Nullable String databaseName)
      add a new Rds data source to this API.

      Specified by:
      addRdsDataSource in interface IGraphqlApi
      Specified by:
      addRdsDataSource in interface IGraphqlApi.Jsii$Default
      Parameters:
      id - The data source's id. This parameter is required.
      serverlessCluster - The serverless cluster to interact with this data source. This parameter is required.
      secretStore - The secret store that contains the username and password for the serverless cluster. This parameter is required.
      databaseName - The optional name of the database to use within the cluster.
    • addRdsDataSource

      @Stability(Stable) @NotNull public final RdsDataSource addRdsDataSource(@NotNull String id, @NotNull IServerlessCluster serverlessCluster, @NotNull ISecret secretStore)
      add a new Rds data source to this API.

      Specified by:
      addRdsDataSource in interface IGraphqlApi
      Specified by:
      addRdsDataSource in interface IGraphqlApi.Jsii$Default
      Parameters:
      id - The data source's id. This parameter is required.
      serverlessCluster - The serverless cluster to interact with this data source. This parameter is required.
      secretStore - The secret store that contains the username and password for the serverless cluster. This parameter is required.
    • addRdsDataSourceV2

      @Stability(Stable) @NotNull public final RdsDataSource addRdsDataSourceV2(@NotNull String id, @NotNull IDatabaseCluster serverlessCluster, @NotNull ISecret secretStore, @Nullable String databaseName)
      add a new Rds Serverless V2 data source to this API.

      Specified by:
      addRdsDataSourceV2 in interface IGraphqlApi
      Specified by:
      addRdsDataSourceV2 in interface IGraphqlApi.Jsii$Default
      Parameters:
      id - The data source's id. This parameter is required.
      serverlessCluster - The serverless V2 cluster to interact with this data source. This parameter is required.
      secretStore - The secret store that contains the username and password for the serverless cluster. This parameter is required.
      databaseName - The optional name of the database to use within the cluster.
    • addRdsDataSourceV2

      @Stability(Stable) @NotNull public final RdsDataSource addRdsDataSourceV2(@NotNull String id, @NotNull IDatabaseCluster serverlessCluster, @NotNull ISecret secretStore)
      add a new Rds Serverless V2 data source to this API.

      Specified by:
      addRdsDataSourceV2 in interface IGraphqlApi
      Specified by:
      addRdsDataSourceV2 in interface IGraphqlApi.Jsii$Default
      Parameters:
      id - The data source's id. This parameter is required.
      serverlessCluster - The serverless V2 cluster to interact with this data source. This parameter is required.
      secretStore - The secret store that contains the username and password for the serverless cluster. This parameter is required.