@Internal public static final class IGraphqlApi.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements IGraphqlApi.Jsii$Default
software.amazon.jsii.JsiiObject.InitializationModeIGraphqlApi.Jsii$Default, IGraphqlApi.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(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.
|
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,
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.
|
ResourceEnvironment |
getEnv()
(experimental) The environment this resource belongs to.
|
ConstructNode |
getNode()
(experimental) The construct tree node for this construct.
|
Stack |
getStack()
(experimental) The stack in which this resource is defined.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Experimental) @NotNull public final ConstructNode getNode()
getNode in interface IResource.Jsii$DefaultgetNode in interface IGraphqlApi.Jsii$Default@Stability(value=Experimental) @NotNull public final ResourceEnvironment getEnv()
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
getEnv in interface IResourcegetEnv in interface IResource.Jsii$DefaultgetEnv in interface IGraphqlApi.Jsii$Default@Stability(value=Experimental) @NotNull public final Stack getStack()
getStack in interface IResourcegetStack in interface IResource.Jsii$DefaultgetStack in interface IGraphqlApi.Jsii$Default@Stability(value=Experimental) @NotNull public final String getApiId()
getApiId in interface IGraphqlApigetApiId in interface IGraphqlApi.Jsii$Default@Stability(value=Experimental) @NotNull public final String getArn()
getArn in interface IGraphqlApigetArn in interface IGraphqlApi.Jsii$Default@Stability(value=Experimental) @NotNull public final DynamoDbDataSource addDynamoDbDataSource(@NotNull String id, @NotNull ITable table, @Nullable DataSourceOptions options)
addDynamoDbDataSource in interface IGraphqlApiaddDynamoDbDataSource in interface IGraphqlApi.Jsii$Defaultid - 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 final 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=Experimental) @NotNull public final HttpDataSource addHttpDataSource(@NotNull String id, @NotNull String endpoint, @Nullable HttpDataSourceOptions options)
addHttpDataSource in interface IGraphqlApiaddHttpDataSource in interface IGraphqlApi.Jsii$Defaultid - 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 final 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 final LambdaDataSource addLambdaDataSource(@NotNull String id, @NotNull IFunction lambdaFunction, @Nullable DataSourceOptions options)
addLambdaDataSource in interface IGraphqlApiaddLambdaDataSource in interface IGraphqlApi.Jsii$Defaultid - 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 final 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 final 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 IGraphqlApiaddNoneDataSource in interface IGraphqlApi.Jsii$Defaultid - The data source's id. This parameter is required.options - The optional configuration for this data source.@Stability(value=Experimental) @NotNull public final 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 final RdsDataSource addRdsDataSource(@NotNull String id, @NotNull IServerlessCluster serverlessCluster, @NotNull ISecret secretStore, @Nullable String databaseName, @Nullable DataSourceOptions options)
addRdsDataSource in interface IGraphqlApiaddRdsDataSource in interface IGraphqlApi.Jsii$Defaultid - 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 final 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 final 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 final Boolean addSchemaDependency(@NotNull CfnResource construct)
addSchemaDependency in interface IGraphqlApiaddSchemaDependency in interface IGraphqlApi.Jsii$Defaultconstruct - the dependee. This parameter is required.@Stability(value=Experimental) @NotNull public final Resolver createResolver(@NotNull ExtendedResolverProps props)
createResolver in interface IGraphqlApicreateResolver in interface IGraphqlApi.Jsii$Defaultprops - This parameter is required.Copyright © 2021. All rights reserved.