Last active
March 6, 2019 05:00
-
-
Save chris-feist/9163241add07615a1b384c101391f48b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resources: | |
tables: | |
Users: | |
name: ${opt:stage}-Users # Table name | |
partitionKey: userId | |
sortKey: state | |
indexes: | |
# Global Secondary Index | |
- name: EmailIndex | |
partitionKey: email | |
projection: all | |
# Local Secondary Index with custom projection | |
- name: UsersByAgeIndex | |
sortKey: | |
name: age | |
type: number | |
projection: | |
- userId | |
- dob | |
- firstName | |
- lastName | |
tags: | |
# Resource tags | |
STAGE: test | |
TEAM: backend | |
streamType: newItem | |
encrypted: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment