The key in which this value will be persisted in DynamoDB. If not provided, the key will be assumed to be the same in the input and in the persisted record.
The attribute type to be used for this field when creating or updating the DynamoDB table definition for this record.
Required if the custom field is being used as a key and the schema is used to create or update a table or index.
An optional default value factory. If a type has a defined
defaultProvider and its value is undefined
in the provided input, the
defaultProvider will be called and its return value serialized.
An array of key configurations as they apply to global and local secondary indices.
Key configuration as it pertains to the DynamoDB table.
A function that converts an input value into a DynamoDB attribute value. This function will not be invoked if the input value is undefined.
A function that converts a DynamoDB AttributeValue into a JavaScript value.
A node whose type is not managed by the marshaller, but rather by the
marshall
andunmarshall
functions defined in this SchemaType. Useful for objects not easily classified using the standard schema taxonomy.