AwsDynamoDBServiceModuleSchema
Index
Properties
AttributeDefinitions
The type of every attribute a key or an index names, in KeySchema, LocalSecondaryIndexes or
GlobalSecondaryIndexes: each an AttributeName and its AttributeType, S for a string, N for a
number or B for binary. Other attributes of an item need no definition.
billingMode
How the table is billed, as a type and its settings. PAY_PER_REQUEST bills each read and write,
with an optional OnDemandThroughput cap; PROVISIONED bills the read and write capacity units you
reserve, used or not.
optionalDeletionProtectionEnabled
Whether AWS refuses to delete the table. An apply that would delete or replace a protected table fails until this is turned off and applied first. A run that changes it changes nothing else about the table.
optionalGlobalSecondaryIndexes
Indexes with a key of their own, queried apart from the table. One is added per run, and an existing one never changes.
KeySchema
The table's primary key: exactly one HASH (partition) key, and an optional RANGE (sort) key.
optionalLocalSecondaryIndexes
Indexes sharing the table's partition key with another sort key. They exist only from the table's creation: adding or changing one replaces the table.
optionalPointInTimeRecoveryEnabled
Whether AWS keeps continuous backups of the table, from which it can be restored to any second of the last 35 days.
region
The region the table is created in, as produced by any of the AWS region modules.
optionalStreamSpecification
Turns on the table's change stream, recording each change as its StreamViewType says. Replicating
the table with AwsDynamoDBGlobalServiceModule needs NEW_AND_OLD_IMAGES.
TableName
The table's name, unique in its region: 3 to 255 letters, digits, _, - and ..
optionaltimeToLiveAttribute
The attribute holding each item's expiry, as a Unix time in seconds. DynamoDB deletes an item some time after it expires, at no cost.
AwsDynamoDBServiceModuleSchemais the input schema for theAwsDynamoDBServiceModulemodule: one table, its keys and indexes, how it is billed, and how it is protected. Its fields keep DynamoDB's own names, so the AWS documentation for a table explains each one too.Modules/Service/AwsDynamoDBService
AwsDynamoDBServiceModule to learn more about the module.