@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:24.837Z") @Stability(value=Experimental) public interface IGraphqlApi extends software.amazon.jsii.JsiiSerializable, IResource
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IGraphqlApi.Jsii$Default
Internal default implementation for
IGraphqlApi. |
static class |
IGraphqlApi.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
| Modifier and Type | Method and Description |
|---|---|
DynamoDbDataSource |
addDynamoDbDataSource(String id,
ITable table)
(experimental) add a new DynamoDB data source to this API.
|
DynamoDbDataSource |
addDynamoDbDataSource(String id,
ITable table,
DataSourceOptions options)
(experimental) add a new DynamoDB data source to this API.
|
ElasticsearchDataSource |
addElasticsearchDataSource(String id,
IDomain domain)
Deprecated.
- use `addOpenSearchDataSource`
|
ElasticsearchDataSource |
addElasticsearchDataSource(String id,
IDomain domain,
DataSourceOptions options)
Deprecated.
- use `addOpenSearchDataSource`
|
HttpDataSource |
addHttpDataSource(String id,
String endpoint)
(experimental) add a new http data source to this API.
|
HttpDataSource |
addHttpDataSource(String id,
String endpoint,
HttpDataSourceOptions options)
(experimental) add a new http data source to this API.
|
LambdaDataSource |
addLambdaDataSource(String id,
IFunction lambdaFunction)
(experimental) add a new Lambda data source to this API.
|
LambdaDataSource |
addLambdaDataSource(String id,
IFunction lambdaFunction,
DataSourceOptions options)
(experimental) add a new Lambda data source to this API.
|
NoneDataSource |
addNoneDataSource(String id)
(experimental) add a new dummy data source to this API.
|
NoneDataSource |
addNoneDataSource(String id,
DataSourceOptions options)
(experimental) add a new dummy data source to this API.
|
OpenSearchDataSource |
addOpenSearchDataSource(String id,
IDomain domain)
(experimental) Add a new OpenSearch data source to this API.
|
OpenSearchDataSource |
addOpenSearchDataSource(String id,
IDomain domain,
DataSourceOptions options)
(experimental) Add a new OpenSearch data source to this API.
|
RdsDataSource |
addRdsDataSource(String id,
IServerlessCluster serverlessCluster,
ISecret secretStore)
(experimental) add a new Rds data source to this API.
|
RdsDataSource |
addRdsDataSource(String id,
IServerlessCluster serverlessCluster,
ISecret secretStore,
String databaseName)
(experimental) add a new Rds data source to this API.
|
RdsDataSource |
addRdsDataSource(String id,
IServerlessCluster serverlessCluster,
ISecret secretStore,
String databaseName,
DataSourceOptions options)
(experimental) add a new Rds data source to this API.
|
Boolean |
addSchemaDependency(CfnResource construct)
(experimental) Add schema dependency if not imported.
|
Resolver |
createResolver(ExtendedResolverProps props)
(experimental) creates a new resolver for this datasource and API using the given properties.
|
String |
getApiId()
(experimental) an unique AWS AppSync GraphQL API identifier i.e.
|
String |
getArn()
(experimental) the ARN of the API.
|
applyRemovalPolicy, getEnv, getStackgetNode@Stability(value=Experimental) @NotNull String getApiId()
@Stability(value=Experimental) @NotNull String getArn()
@Stability(value=Experimental) @NotNull DynamoDbDataSource addDynamoDbDataSource(@NotNull String id, @NotNull ITable table, @Nullable DataSourceOptions options)
id - The data source's id. This parameter is required.table - The DynamoDB table backing this data source. This parameter is required.options - The optional configuration for this data source.@Stability(value=Experimental) @NotNull DynamoDbDataSource addDynamoDbDataSource(@NotNull String id, @NotNull ITable table)
id - The data source's id. This parameter is required.table - The DynamoDB table backing this data source. This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull ElasticsearchDataSource addElasticsearchDataSource(@NotNull String id, @NotNull IDomain domain, @Nullable DataSourceOptions options)
id - The data source's id. This parameter is required.domain - The elasticsearch domain for this data source. This parameter is required.options - The optional configuration for this data source.@Stability(value=Deprecated) @Deprecated @NotNull ElasticsearchDataSource addElasticsearchDataSource(@NotNull String id, @NotNull IDomain domain)
id - The data source's id. This parameter is required.domain - The elasticsearch domain for this data source. This parameter is required.@Stability(value=Experimental) @NotNull HttpDataSource addHttpDataSource(@NotNull String id, @NotNull String endpoint, @Nullable HttpDataSourceOptions options)
id - The data source's id. This parameter is required.endpoint - The http endpoint. This parameter is required.options - The optional configuration for this data source.@Stability(value=Experimental) @NotNull HttpDataSource addHttpDataSource(@NotNull String id, @NotNull String endpoint)
id - The data source's id. This parameter is required.endpoint - The http endpoint. This parameter is required.@Stability(value=Experimental) @NotNull LambdaDataSource addLambdaDataSource(@NotNull String id, @NotNull IFunction lambdaFunction, @Nullable DataSourceOptions options)
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.options - The optional configuration for this data source.@Stability(value=Experimental) @NotNull LambdaDataSource addLambdaDataSource(@NotNull String id, @NotNull IFunction lambdaFunction)
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.@Stability(value=Experimental) @NotNull NoneDataSource addNoneDataSource(@NotNull String id, @Nullable DataSourceOptions options)
Useful for pipeline resolvers and for backend changes that don't require a data source.
id - The data source's id. This parameter is required.options - The optional configuration for this data source.@Stability(value=Experimental) @NotNull NoneDataSource addNoneDataSource(@NotNull String id)
Useful for pipeline resolvers and for backend changes that don't require a data source.
id - The data source's id. This parameter is required.@Stability(value=Experimental) @NotNull OpenSearchDataSource addOpenSearchDataSource(@NotNull String id, @NotNull IDomain domain, @Nullable DataSourceOptions options)
id - The data source's id. This parameter is required.domain - The OpenSearch domain for this data source. This parameter is required.options - The optional configuration for this data source.@Stability(value=Experimental) @NotNull OpenSearchDataSource addOpenSearchDataSource(@NotNull String id, @NotNull IDomain domain)
id - The data source's id. This parameter is required.domain - The OpenSearch domain for this data source. This parameter is required.@Stability(value=Experimental) @NotNull RdsDataSource addRdsDataSource(@NotNull String id, @NotNull IServerlessCluster serverlessCluster, @NotNull ISecret secretStore, @Nullable String databaseName, @Nullable DataSourceOptions options)
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.options - The optional configuration for this data source.@Stability(value=Experimental) @NotNull RdsDataSource addRdsDataSource(@NotNull String id, @NotNull IServerlessCluster serverlessCluster, @NotNull ISecret secretStore, @Nullable String databaseName)
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.@Stability(value=Experimental) @NotNull RdsDataSource addRdsDataSource(@NotNull String id, @NotNull IServerlessCluster serverlessCluster, @NotNull ISecret secretStore)
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.@Stability(value=Experimental) @NotNull Boolean addSchemaDependency(@NotNull CfnResource construct)
construct - the dependee. This parameter is required.@Stability(value=Experimental) @NotNull Resolver createResolver(@NotNull ExtendedResolverProps props)
props - This parameter is required.Copyright © 2022. All rights reserved.