Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- resources:
- Resources:
- CoachUserRolesTable:
- Type: AWS:DynamoDB::Table
- Properties:
- TableName: CoachUserRoles
- KeySchema:
- - AttributeName: UserUUID
- KeyType: HASH
- AttributeDefinitions:
- - AttributeName: UserUUID
- AttributeType: "S"
- ProvisionedThroughput:
- ReadCapacityUnits: 1
- WriteCapacityUnits: 1
- CoachRelationshipsTable:
- Type: AWS:DynamoDB::Table
- Properties:
- TableName: CoachRelationships
- KeySchema:
- - AttributeName: CoachUUID
- KeyType: HASH
- - AttributeName: ParticipantUUID
- KeyType: RANGE
- AttributeDefinitions:
- - AttributeName: CoachUUID
- AttributeType: "S"
- - AttributeName: ParticipantUUID
- AttributeType: "S"
- GlobalSecondaryIndexes:
- - IndexName: CoachIndex
- KeySchema:
- - AttributeName: CoachUUID
- KeyType: HASH
- Projection:
- ProjectionType: INCLUDE
- NonKeyAttributes:
- - Active
- - CoachName
- - CoachRole
- - ParticipantName
- - ParticipantEmail
- - ParticipantUUID
- ProvisionedThroughput:
- ReadCapacityUnits: 10
- WriteCapacityUnites: 10
- - IndexName: ParticipantIndex
- KeySchema:
- - AttributeName: ParticipantUUID
- KeyType: HASH
- Projection:
- ProjectionType: INCLUDE
- NonKeyAttributes:
- - Active
- - CoachName
- - CoachUUID
- - CoachRole
- - ParticipantName
- - ParticipantEmail
- ProvisionedThroughput:
- ReadCapacityUnits: 5
- WriteCapacityUnits: 5
- ProvisionedThroughput:
- ReadCapacityUnits: 10
- WriteCapacityUnits: 10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement