@Generated(value="jsii-pacmak/1.14.1 (build 828de8a)", date="2020-11-24T22:28:07.296Z") @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.
|
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.
|
RdsDataSource |
addRdsDataSource(String id,
IDatabaseCluster databaseCluster,
ISecret secretStore)
(experimental) add a new Rds data source to this API.
|
RdsDataSource |
addRdsDataSource(String id,
IDatabaseCluster databaseCluster,
ISecret secretStore,
DataSourceOptions options)
(experimental) add a new Rds data source to this API.
|
Boolean |
addSchemaDependency(CfnResource construct)
(experimental) Add schema dependency if not imported.
|
String |
getApiId()
(experimental) an unique AWS AppSync GraphQL API identifier i.e.
|
String |
getArn()
(experimental) the ARN of the API.
|
getNode@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=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 RdsDataSource addRdsDataSource(@NotNull String id, @NotNull IDatabaseCluster databaseCluster, @NotNull ISecret secretStore, @Nullable DataSourceOptions options)
id - The data source's id. This parameter is required.databaseCluster - The database cluster to interact with this data source. This parameter is required.secretStore - The secret store that contains the username and password for the database cluster. This parameter is required.options - The optional configuration for this data source.@Stability(value=Experimental) @NotNull RdsDataSource addRdsDataSource(@NotNull String id, @NotNull IDatabaseCluster databaseCluster, @NotNull ISecret secretStore)
id - The data source's id. This parameter is required.databaseCluster - The database cluster to interact with this data source. This parameter is required.secretStore - The secret store that contains the username and password for the database cluster. This parameter is required.@Stability(value=Experimental) @NotNull Boolean addSchemaDependency(@NotNull CfnResource construct)
construct - the dependee. This parameter is required.Copyright © 2020. All rights reserved.