Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
resources:
Resources:
MetaDataDB:
Type: AWS::DynamoDB::Table
Properties:
TableName: your-dynamodb-table-name
AttributeDefinitions:
- AttributeName: username
AttributeType: S
- AttributeName: timestamp
AttributeType: N
KeySchema:
- AttributeName: username
KeyType: HASH
- AttributeName: timestamp
KeyType: RANGE
BillingMode: PAY_PER_REQUEST
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment