3. Amazon DynamoDB
3.1. Amazon DynamoDB Version Support
The driver uses the current version of the Amazon DynamoDB REST API, version 2012-08-10, to enable read/write access to DynamoDB instances.
 
3.2. Connection Options
3.2.1. AWS Authentication
Property
Description
AuthScheme
The scheme used for authentication. Accepted entries are: Auto, , AwsRootKeys , AwsIAMRoles , AwsEC2Roles , AwsMFA , ADFS, Okta, PingFederate , AwsCredentialsFile.
Domain
Your AWS domain name. You can optionally choose to associate your domain name with AWS.
AWSAccessKey
Your AWS account access key. This value is accessible from your AWS security credentials page.
AWSSecretKey
Your AWS account secret key. This value is accessible from your AWS security credentials page.
AWSRoleARN
The Amazon Resource Name of the role to use when authenticating.
AWSRegion
The hosting region for your Amazon Web Services.
AWSCredentialsFile
The path to the AWS Credentials File to be used for authentication.
AWSCredentialsFileProfile
The name of the profile to be used from the supplied AWSCredentialsFile.
AWSSessionToken
Your AWS session token.
AWSExternalId
A unique identifier that might be required when you assume a role in another account.
MFASerialNumber
The serial number of the MFA device if one is being used.
MFAToken
The temporary token available from your MFA device.
CredentialsLocation
The location of the settings file where MFA credentials are saved.
TemporaryTokenDuration
The amount of time (in seconds) a temporary token will last.
3.2.2. SSO
Property
Description
User
The IDP user used to authenticate the IDP via SSO.
Password
The password used to authenticate the IDP user via SSO.
SSOLoginURL
The identity provider's login URL.
SSOProperties
Additional properties required to connect to the identity provider in a semicolon-separated list.
SSOExchangeUrl
The url used for consuming the SAML response and exchanging it with Amazon DynamoDB specific credentials.
3.2.3. SSL
Property
Description
SSLServerCert
The certificate to be accepted from the server when connecting using TLS/SSL.
3.2.4. Firewall
Property
Description
FirewallType
The protocol used by a proxy-based firewall.
FirewallServer
The name or IP address of a proxy-based firewall.
FirewallPort
The TCP port for a proxy-based firewall.
FirewallUser
The user name to use to authenticate with a proxy-based firewall.
FirewallPassword
A password used to authenticate to a proxy-based firewall.
3.2.5. Proxy
Property
Description
ProxyAutoDetect
This indicates whether to use the system proxy settings or not. This takes precedence over other proxy settings, so you'll need to set ProxyAutoDetect to FALSE in order use custom proxy settings.
ProxyServer
The hostname or IP address of a proxy to route HTTP traffic through.
ProxyPort
The TCP port the ProxyServer proxy is running on.
ProxyAuthScheme
The authentication type to use to authenticate to the ProxyServer proxy.
ProxyUser
A user name to be used to authenticate to the ProxyServer proxy.
ProxyPassword
A password to be used to authenticate to the ProxyServer proxy.
ProxySSLType
The SSL type to use when connecting to the ProxyServer proxy.
ProxyExceptions
A semicolon separated list of destination hostnames or IPs that are exempt from connecting through the ProxyServer .
3.2.6. Logging
Property
Description
Logfile
A filepath which designates the name and location of the log file.
Verbosity
The verbosity level that determines the amount of detail included in the log file.
LogModules
Core modules to be included in the log file.
MaxLogFileSize
A string specifying the maximum size in bytes for a log file (for example, 10 MB).
MaxLogFileCount
A string specifying the maximum file count of log files.
3.2.7. Schema
Property
Description
Location
A path to the directory that contains the schema files defining tables, views, and stored procedures.
BrowsableSchemas
This property restricts the schemas reported to a subset of the available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC.
Tables
This property restricts the tables reported to a subset of the available tables. For example, Tables=TableA,TableB,TableC.
Views
Restricts the views reported to a subset of the available tables. For example, Views=ViewA,ViewB,ViewC.
3.2.8. Caching
Property
Description
AutoCache
Automatically caches the results of SELECT queries into a cache database specified by either CacheLocation or both of CacheConnection and CacheProvider .
CacheDriver
The database driver to be used to cache data.
CacheConnection
The connection string for the cache database. This property is always used in conjunction with CacheProvider . Setting both properties will override the value set for CacheLocation for caching data.
CacheLocation
Specifies the path to the cache when caching to a file.
CacheTolerance
The tolerance for stale data in the cache specified in seconds when using AutoCache .
Offline
Use offline mode to get the data from the cache instead of the live source.
CacheMetadata
This property determines whether or not to cache the table metadata to a file store.
3.2.9. Miscellaneous
Property
Description
BatchSize
The maximum size of each batch operation to submit.
ConnectionLifeTime
The maximum lifetime of a connection in seconds. Once the time has elapsed, the connection object is disposed.
ConnectOnOpen
This property species whether to connect to the Amazon DynamoDB when the connection is opened.
FlattenArrays
By default, nested arrays are returned as strings of JSON. The FlattenArrays property can be used to flatten the elements of nested arrays into columns of their own. Set FlattenArrays to the number of elements you want to return from nested arrays.
FlattenObjects
Set FlattenObjects to true to flatten object properties into columns of their own. Otherwise, objects nested in arrays are returned as strings of JSON.
FlexibleSchema
Set FlexibleSchema to true to scan for additional metadata on the query result set. Otherwise, the metadata will remain the same.
GenerateSchemaFiles
Indicates the user preference as to when schemas should be generated and saved.
IgnoreTypes
Removes support for the specified types. For example, Time. These types will then be reported as strings instead.
MaximumRequestRetries
The maximum number of times to retry a request.
MaxRows
Limits the number of rows returned rows when no aggregation or group by is used in the query. This helps avoid performance issues at design time.
Other
These hidden properties are used only in specific use cases.
Pagesize
The maximum number of results to return per page from Amazon DynamoDB.
PoolIdleTimeout
The allowed idle time for a connection before it is closed.
PoolMaxSize
The maximum connections in the pool.
PoolMinSize
The minimum number of connections in the pool.
PoolWaitTime
The max seconds to wait for an available connection.
PseudoColumns
This property indicates whether or not to include pseudo columns as columns to the table.
Readonly
You can use this property to enforce read-only access to Amazon DynamoDB from the provider.
RetryWaitTime
The minimum number of milliseconds the provider will wait to retry a request.
RowScanDepth
The maximum number of rows to scan to look for the columns available in a table.
RTK
The runtime key used for licensing.
SeparatorCharacter
The character or characters used to denote hierarchy.
SupportEnhancedSQL
This property enhances SQL functionality beyond what can be supported through the API directly, by enabling in-memory client-side processing.
ThreadCount
The number of threads to use when selecting data via a parallel scan. Setting ThreadCount to 1 will disable parallel scans.
Timeout
The value in seconds until the timeout error is thrown, canceling the operation.
TypeDetectionScheme
Determines how to determine the data type of columns.
UseBatchWriteItemOperation
When enabled the provider will use BatchWriteItem operation for handling updates and inserts. By default, the provider uses ExecuteStatement/BatchExecuteStatement operation. You need to enable BatchWriteItem only when inserting/updating binary/binary-set data. ExecuteStatement/BatchExecuteStatement doesn't support manipulating binary fields.
UseConnectionPooling
This property enables connection pooling.
UseConsistentReads
Whether to alyways use Consistent Reads or not when querying DynamoDb.
UseSimpleNames
Boolean determining if simple names should be used for tables and columns.