Class AppSyncDynamoDbDataSource
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.services.appsync.AppSyncBaseDataSource
software.amazon.awscdk.services.appsync.AppSyncBackedDataSource
software.amazon.awscdk.services.appsync.AppSyncDynamoDbDataSource
- All Implemented Interfaces:
IGrantable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:31.333Z")
@Stability(Stable)
public class AppSyncDynamoDbDataSource
extends AppSyncBackedDataSource
An AppSync datasource backed by a DynamoDB table.
Example:
EventApi api = EventApi.Builder.create(this, "EventApiDynamoDB")
.apiName("DynamoDBEventApi")
.build();
Table table = Table.Builder.create(this, "table")
.tableName("event-messages")
.partitionKey(Attribute.builder()
.name("id")
.type(AttributeType.STRING)
.build())
.build();
AppSyncDynamoDbDataSource dataSource = api.addDynamoDbDataSource("ddbsource", table);
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forAppSyncDynamoDbDataSource.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$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.iam.IGrantable
IGrantable.Jsii$Default -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAppSyncDynamoDbDataSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedAppSyncDynamoDbDataSource(software.amazon.jsii.JsiiObjectRef objRef) AppSyncDynamoDbDataSource(software.constructs.Construct scope, String id, AppSyncDynamoDbDataSourceProps props) -
Method Summary
Methods inherited from class software.amazon.awscdk.services.appsync.AppSyncBackedDataSource
getGrantPrincipalMethods inherited from class software.amazon.awscdk.services.appsync.AppSyncBaseDataSource
getApi, getName, getResource, getServiceRole, setApi, setServiceRoleMethods 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
-
AppSyncDynamoDbDataSource
protected AppSyncDynamoDbDataSource(software.amazon.jsii.JsiiObjectRef objRef) -
AppSyncDynamoDbDataSource
protected AppSyncDynamoDbDataSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
AppSyncDynamoDbDataSource
@Stability(Stable) public AppSyncDynamoDbDataSource(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull AppSyncDynamoDbDataSourceProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props- This parameter is required.
-