Full-stack example for dynamo db database with string set

That’s not a limitation of Serverless. It’s a limitation of DynamoDB.
While you can use StringSet as a data type for non-indexed values, it can’t be applied to an Indexed attribute.
See: AWS Reference - CloudFormation Attribute Definitions

tldr; Only String, Binary & Number types are available for keys/indexes

Here’s a screen capture from the AWS DynamoDB Console creating a Table:

1 Like