@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:03.081Z") @Stability(value=Experimental) public interface DynamoDbDataSourceProps extends software.amazon.jsii.JsiiSerializable, BackedDataSourceProps
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.*;
GraphqlApi graphqlApi;
Role role;
Table table;
DynamoDbDataSourceProps dynamoDbDataSourceProps = DynamoDbDataSourceProps.builder()
.api(graphqlApi)
.table(table)
// the properties below are optional
.description("description")
.name("name")
.readOnlyAccess(false)
.serviceRole(role)
.useCallerCredentials(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
DynamoDbDataSourceProps.Builder
A builder for
DynamoDbDataSourceProps |
static class |
DynamoDbDataSourceProps.Jsii$Proxy
An implementation for
DynamoDbDataSourceProps |
| Modifier and Type | Method and Description |
|---|---|
static DynamoDbDataSourceProps.Builder |
builder() |
default Boolean |
getReadOnlyAccess()
(experimental) Specify whether this DS is read only or has read and write permissions to the DynamoDB table.
|
ITable |
getTable()
(experimental) The DynamoDB table backing this data source.
|
default Boolean |
getUseCallerCredentials()
(experimental) use credentials of caller to access DynamoDB.
|
getServiceRolegetApi, getDescription, getName@Stability(value=Experimental) @NotNull ITable getTable()
@Stability(value=Experimental) @Nullable default Boolean getReadOnlyAccess()
Default: false
@Stability(value=Experimental) @Nullable default Boolean getUseCallerCredentials()
Default: false
@Stability(value=Experimental) static DynamoDbDataSourceProps.Builder builder()
builder in interface BackedDataSourcePropsbuilder in interface BaseDataSourcePropsDynamoDbDataSourceProps.Builder of DynamoDbDataSourcePropsCopyright © 2022. All rights reserved.