Show / Hide Table of Contents

Interface IAppSyncDynamoDbDataSourceProps

Properties for an AppSync DynamoDB datasource.

Inherited Members
IAppSyncBackedDataSourceProps.ServiceRole
IAppSyncBaseDataSourceProps.Api
IAppSyncBaseDataSourceProps.Description
IAppSyncBaseDataSourceProps.Name
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IAppSyncDynamoDbDataSourceProps : IAppSyncBackedDataSourceProps, IAppSyncBaseDataSourceProps
Syntax (vb)
Public Interface IAppSyncDynamoDbDataSourceProps Inherits IAppSyncBackedDataSourceProps, IAppSyncBaseDataSourceProps
Remarks

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
            // The values are placeholders you should change.
            using Amazon.CDK.AWS.AppSync;
            using Amazon.CDK.AWS.DynamoDB;
            using Amazon.CDK.AWS.IAM;
            using Amazon.CDK.Interfaces.AppSync;

            IApiRef apiRef;
            Role role;
            Table table;

            var appSyncDynamoDbDataSourceProps = new AppSyncDynamoDbDataSourceProps {
                Api = apiRef,
                Table = table,

                // the properties below are optional
                Description = "description",
                Name = "name",
                ReadOnlyAccess = false,
                ServiceRole = role,
                UseCallerCredentials = false
            };

Synopsis

Properties

ReadOnlyAccess

Specify whether this Data Source is read only or has read and write permissions to the DynamoDB table.

Table

The DynamoDB table backing this data source.

UseCallerCredentials

Use credentials of caller to access DynamoDB.

Properties

ReadOnlyAccess

Specify whether this Data Source is read only or has read and write permissions to the DynamoDB table.

bool? ReadOnlyAccess { get; }
Property Value

bool?

Remarks

Default: false

Table

The DynamoDB table backing this data source.

ITable Table { get; }
Property Value

ITable

Remarks

ExampleMetadata: fixture=_generated

UseCallerCredentials

Use credentials of caller to access DynamoDB.

bool? UseCallerCredentials { get; }
Property Value

bool?

Remarks

Default: false

Back to top Generated by DocFX