Skip to content

Instantly share code, notes, and snippets.

@richardgrantserverless
Created April 11, 2022 21:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save richardgrantserverless/266101b2db36777ad10c857c3ba49dfd to your computer and use it in GitHub Desktop.
Save richardgrantserverless/266101b2db36777ad10c857c3ba49dfd to your computer and use it in GitHub Desktop.
resources:
Resources:
productsTable:
Type: AWS::DynamoDB::Table
Properties:
TableName: products_table
AttributeDefinitions:
- AttributeName: id
AttributeType: S
- AttributeName: name
AttributeType: S
KeySchema:
- AttributeName: id
KeyType: HASH
- AttributeName: name
KeyType: RANGE
ProvisionedThroughput:
ReadCapacityUnits: 1
WriteCapacityUnits: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment