Interface AppSyncDynamoDbDataSourceProps
- All Superinterfaces:
AppSyncBackedDataSourceProps,AppSyncBaseDataSourceProps,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AppSyncDynamoDbDataSourceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:32.544Z")
@Stability(Stable)
public interface AppSyncDynamoDbDataSourceProps
extends software.amazon.jsii.JsiiSerializable, AppSyncBackedDataSourceProps
Properties for an AppSync DynamoDB datasource.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appsync.*;
import software.amazon.awscdk.services.dynamodb.*;
import software.amazon.awscdk.services.iam.*;
IApi api;
Role role;
Table table;
AppSyncDynamoDbDataSourceProps appSyncDynamoDbDataSourceProps = AppSyncDynamoDbDataSourceProps.builder()
.api(api)
.table(table)
// the properties below are optional
.description("description")
.name("name")
.readOnlyAccess(false)
.serviceRole(role)
.useCallerCredentials(false)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAppSyncDynamoDbDataSourcePropsstatic final classAn implementation forAppSyncDynamoDbDataSourceProps -
Method Summary
Methods inherited from interface software.amazon.awscdk.services.appsync.AppSyncBackedDataSourceProps
getServiceRoleMethods inherited from interface software.amazon.awscdk.services.appsync.AppSyncBaseDataSourceProps
getApi, getDescription, getNameMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTable
The DynamoDB table backing this data source. -
getReadOnlyAccess
Specify whether this Data Source is read only or has read and write permissions to the DynamoDB table.Default: false
-
getUseCallerCredentials
Use credentials of caller to access DynamoDB.Default: false
-
builder
-