Skip to content

Instantly share code, notes, and snippets.

@AHaydar
Last active January 7, 2021 23:04
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 AHaydar/9518cd095fa0d0cf38fbad4b2a85d778 to your computer and use it in GitHub Desktop.
Save AHaydar/9518cd095fa0d0cf38fbad4b2a85d778 to your computer and use it in GitHub Desktop.
Resources:
CompaniesTable:
Type: AWS::DynamoDB::Table
Properties:
TableName: companies
AttributeDefinitions:
- AttributeName: CompanyId
AttributeType: S
- AttributeName: CompanyType
AttributeType: S
KeySchema:
- AttributeName: CompanyId
KeyType: HASH
- AttributeName: CompanyType
KeyType: RANGE
ProvisionedThroughput:
ReadCapacityUnits: 5
WriteCapacityUnits: 5
Tags:
- Key: author
Value: ali
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment