|
| 1 | +Resources: |
| 2 | + UserTable: |
| 3 | + Type: AWS::DynamoDB::Table |
| 4 | + Properties: |
| 5 | + TableName: scorekeep-user |
| 6 | + KeySchema: |
| 7 | + HashKeyElement: {AttributeName: id, AttributeType: S} |
| 8 | + ProvisionedThroughput: {ReadCapacityUnits: 5, WriteCapacityUnits: 5} |
| 9 | + SessionTable: |
| 10 | + Type: AWS::DynamoDB::Table |
| 11 | + Properties: |
| 12 | + TableName: scorekeep-session |
| 13 | + KeySchema: |
| 14 | + HashKeyElement: {AttributeName: id, AttributeType: S} |
| 15 | + ProvisionedThroughput: {ReadCapacityUnits: 5, WriteCapacityUnits: 5} |
| 16 | + GameTable: |
| 17 | + Type: AWS::DynamoDB::Table |
| 18 | + Properties: |
| 19 | + TableName: scorekeep-game |
| 20 | + AttributeDefinitions: |
| 21 | + - AttributeName: "id" |
| 22 | + AttributeType: "S" |
| 23 | + - AttributeName: "session" |
| 24 | + AttributeType: "S" |
| 25 | + KeySchema: |
| 26 | + - AttributeName: "id" |
| 27 | + KeyType: "HASH" |
| 28 | + GlobalSecondaryIndexes: |
| 29 | + - IndexName: "session-index" |
| 30 | + KeySchema: |
| 31 | + - AttributeName: "session" |
| 32 | + KeyType: "HASH" |
| 33 | + ProvisionedThroughput: {ReadCapacityUnits: 5, WriteCapacityUnits: 5} |
| 34 | + Projection: { ProjectionType: ALL } |
| 35 | + ProvisionedThroughput: {ReadCapacityUnits: 5, WriteCapacityUnits: 5} |
| 36 | + MoveTable: |
| 37 | + Type: AWS::DynamoDB::Table |
| 38 | + Properties: |
| 39 | + TableName: scorekeep-move |
| 40 | + AttributeDefinitions: |
| 41 | + - AttributeName: "id" |
| 42 | + AttributeType: "S" |
| 43 | + - AttributeName: "game" |
| 44 | + AttributeType: "S" |
| 45 | + KeySchema: |
| 46 | + - AttributeName: "id" |
| 47 | + KeyType: "HASH" |
| 48 | + GlobalSecondaryIndexes: |
| 49 | + - IndexName: "game-index" |
| 50 | + KeySchema: |
| 51 | + - AttributeName: "game" |
| 52 | + KeyType: "HASH" |
| 53 | + ProvisionedThroughput: {ReadCapacityUnits: 5, WriteCapacityUnits: 5} |
| 54 | + Projection: { ProjectionType: ALL } |
| 55 | + ProvisionedThroughput: {ReadCapacityUnits: 5, WriteCapacityUnits: 5} |
| 56 | + StateTable: |
| 57 | + Type: AWS::DynamoDB::Table |
| 58 | + Properties: |
| 59 | + TableName: scorekeep-state |
| 60 | + AttributeDefinitions: |
| 61 | + - AttributeName: "id" |
| 62 | + AttributeType: "S" |
| 63 | + - AttributeName: "game" |
| 64 | + AttributeType: "S" |
| 65 | + KeySchema: |
| 66 | + - AttributeName: "id" |
| 67 | + KeyType: "HASH" |
| 68 | + GlobalSecondaryIndexes: |
| 69 | + - IndexName: "game-index" |
| 70 | + KeySchema: |
| 71 | + - AttributeName: "game" |
| 72 | + KeyType: "HASH" |
| 73 | + ProvisionedThroughput: {ReadCapacityUnits: 5, WriteCapacityUnits: 5} |
| 74 | + Projection: { ProjectionType: ALL } |
| 75 | + ProvisionedThroughput: {ReadCapacityUnits: 5, WriteCapacityUnits: 5} |
| 76 | + |
0 commit comments