Class AppSyncBaseDataSource
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.services.appsync.AppSyncBaseDataSource
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
- Direct Known Subclasses:
AppSyncBackedDataSource
@Generated(value="jsii-pacmak/1.126.0 (build 206d44b)",
date="2026-02-03T13:58:15.718Z")
@Stability(Stable)
public abstract class AppSyncBaseDataSource
extends software.constructs.Construct
Abstract AppSync datasource implementation.
Do not use directly but use subclasses for concrete datasources
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAppSyncBaseDataSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedAppSyncBaseDataSource(software.amazon.jsii.JsiiObjectRef objRef) protectedAppSyncBaseDataSource(software.constructs.Construct scope, String id, AppSyncBackedDataSourceProps props, AppSyncExtendedDataSourceProps extended) -
Method Summary
Modifier and TypeMethodDescriptionprotected IApigetApi()The API this data source is attached to Set the API this data source is attached to.getName()The name of the data source.The underlying CFN data source resource.protected IRoleprotected voidThe API this data source is attached to Set the API this data source is attached to.protected voidsetServiceRole(IRole value) Methods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
AppSyncBaseDataSource
protected AppSyncBaseDataSource(software.amazon.jsii.JsiiObjectRef objRef) -
AppSyncBaseDataSource
protected AppSyncBaseDataSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
AppSyncBaseDataSource
@Stability(Stable) protected AppSyncBaseDataSource(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull AppSyncBackedDataSourceProps props, @NotNull AppSyncExtendedDataSourceProps extended) - Parameters:
scope- This parameter is required.id- This parameter is required.props- This parameter is required.extended- This parameter is required.
-
-
Method Details
-
getName
The name of the data source. -
getResource
The underlying CFN data source resource. -
getApi
The API this data source is attached to Set the API this data source is attached to. -
setApi
The API this data source is attached to Set the API this data source is attached to. -
getServiceRole
-
setServiceRole
-