@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:24.828Z") @Stability(value=Experimental) public abstract class GraphqlApiBase extends Resource implements IGraphqlApi
software.constructs.Construct.Buildersoftware.amazon.jsii.JsiiObject.InitializationModeIGraphqlApi.Jsii$Default| Modifier | Constructor and Description |
|---|---|
protected |
GraphqlApiBase(software.constructs.Construct scope,
String id) |
protected |
GraphqlApiBase(software.constructs.Construct scope,
String id,
ResourceProps props) |
protected |
GraphqlApiBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
GraphqlApiBase(software.amazon.jsii.JsiiObjectRef objRef) |
| 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.
|
abstract String |
getApiId()
(experimental) an unique AWS AppSync GraphQL API identifier i.e.
|
abstract String |
getArn()
(experimental) the ARN of the API.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcegetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackgetNodeprotected GraphqlApiBase(software.amazon.jsii.JsiiObjectRef objRef)
protected GraphqlApiBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
protected GraphqlApiBase(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
ResourceProps props)
scope - This parameter is required.id - This parameter is required.props - @Stability(value=Experimental)
protected GraphqlApiBase(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - This parameter is required.id - This parameter is required.@Stability(value=Experimental) @NotNull public DynamoDbDataSource addDynamoDbDataSource(@NotNull String id, @NotNull ITable table, @Nullable DataSourceOptions options)
addDynamoDbDataSource in interface IGraphqlApiid - 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 public DynamoDbDataSource addDynamoDbDataSource(@NotNull String id, @NotNull ITable table)
addDynamoDbDataSource in interface IGraphqlApiid - 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 public ElasticsearchDataSource addElasticsearchDataSource(@NotNull String id, @NotNull IDomain domain, @Nullable DataSourceOptions options)
addElasticsearchDataSource in interface IGraphqlApiid - 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 public ElasticsearchDataSource addElasticsearchDataSource(@NotNull String id, @NotNull IDomain domain)
addElasticsearchDataSource in interface IGraphqlApiid - 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 public HttpDataSource addHttpDataSource(@NotNull String id, @NotNull String endpoint, @Nullable HttpDataSourceOptions options)
addHttpDataSource in interface IGraphqlApiid - 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 public HttpDataSource addHttpDataSource(@NotNull String id, @NotNull String endpoint)
addHttpDataSource in interface IGraphqlApiid - The data source's id. This parameter is required.endpoint - The http endpoint. This parameter is required.@Stability(value=Experimental) @NotNull public LambdaDataSource addLambdaDataSource(@NotNull String id, @NotNull IFunction lambdaFunction, @Nullable DataSourceOptions options)
addLambdaDataSource in interface IGraphqlApiid - 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 public LambdaDataSource addLambdaDataSource(@NotNull String id, @NotNull IFunction lambdaFunction)
addLambdaDataSource in interface IGraphqlApiid - 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 public NoneDataSource addNoneDataSource(@NotNull String id, @Nullable DataSourceOptions options)
Useful for pipeline resolvers and for backend changes that don't require a data source.
addNoneDataSource in interface IGraphqlApiid - The data source's id. This parameter is required.options - The optional configuration for this data source.@Stability(value=Experimental) @NotNull public NoneDataSource addNoneDataSource(@NotNull String id)
Useful for pipeline resolvers and for backend changes that don't require a data source.
addNoneDataSource in interface IGraphqlApiid - The data source's id. This parameter is required.@Stability(value=Experimental) @NotNull public OpenSearchDataSource addOpenSearchDataSource(@NotNull String id, @NotNull IDomain domain, @Nullable DataSourceOptions options)
addOpenSearchDataSource in interface IGraphqlApiid - 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 public OpenSearchDataSource addOpenSearchDataSource(@NotNull String id, @NotNull IDomain domain)
addOpenSearchDataSource in interface IGraphqlApiid - 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 public RdsDataSource addRdsDataSource(@NotNull String id, @NotNull IServerlessCluster serverlessCluster, @NotNull ISecret secretStore, @Nullable String databaseName, @Nullable DataSourceOptions options)
addRdsDataSource in interface IGraphqlApiid - 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 public RdsDataSource addRdsDataSource(@NotNull String id, @NotNull IServerlessCluster serverlessCluster, @NotNull ISecret secretStore, @Nullable String databaseName)
addRdsDataSource in interface IGraphqlApiid - 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 public RdsDataSource addRdsDataSource(@NotNull String id, @NotNull IServerlessCluster serverlessCluster, @NotNull ISecret secretStore)
addRdsDataSource in interface IGraphqlApiid - 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 public Boolean addSchemaDependency(@NotNull CfnResource construct)
addSchemaDependency in interface IGraphqlApiconstruct - the dependee. This parameter is required.@Stability(value=Experimental) @NotNull public Resolver createResolver(@NotNull ExtendedResolverProps props)
createResolver in interface IGraphqlApiprops - This parameter is required.@Stability(value=Experimental) @NotNull public abstract String getApiId()
getApiId in interface IGraphqlApi@Stability(value=Experimental) @NotNull public abstract String getArn()
getArn in interface IGraphqlApiCopyright © 2022. All rights reserved.